【问题标题】:Cant download MySQL software on Raspberry Pi无法在树莓派上下载 MySQL 软件
【发布时间】:2019-08-10 02:00:07
【问题描述】:

我运行下面的命令,我尝试了sudo apt-get update--fix 标志并重新启动。我也检查了我的互联网连接,我们将不胜感激。

发出的命令:

pi@raspberrypi:~ $ sudo apt-get install mysql-server

包含错误的命令输出:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  default-mysql-server galera-3 gawk libaio1 libcgi-fast-perl libcgi-pm-perl
  libdbd-mysql-perl libdbi-perl libencode-locale-perl libfcgi-perl
  libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl
  libhttp-date-perl libhttp-message-perl libio-html-perl libjemalloc1
  liblwp-mediatypes-perl libmariadbclient18 libreadline5 libsigsegv2
  libterm-readkey-perl libtimedate-perl liburi-perl lsof mariadb-client-10.1
  mariadb-client-core-10.1 mariadb-common mariadb-server-10.1
  mariadb-server-core-10.1 mysql-common socat

Suggested packages:
  gawk-doc libclone-perl libmldbm-perl libnet-daemon-perl
  libsql-statement-perl libdata-dump-perl libipc-sharedcache-perl libwww-perl
  mailx mariadb-test tinyca

The following NEW packages will be installed:
  default-mysql-server galera-3 gawk libaio1 libcgi-fast-perl libcgi-pm-perl
  libdbd-mysql-perl libdbi-perl libencode-locale-perl libfcgi-perl
  libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl
  libhttp-date-perl libhttp-message-perl libio-html-perl libjemalloc1
  liblwp-mediatypes-perl libmariadbclient18 libreadline5 libsigsegv2
  libterm-readkey-perl libtimedate-perl liburi-perl lsof mariadb-client-10.1
  mariadb-client-core-10.1 mariadb-common mariadb-server-10.1
  mariadb-server-core-10.1 mysql-common mysql-server socat

0 upgraded, 33 newly installed, 0 to remove and 72 not upgraded.

Need to get 19.5 MB/23.3 MB of archives.
After this operation, 173 MB of additional disk space will be used.

Do you want to continue? [Y/n] Y
Err:1 http/raspbian.raspberrypi.org/raspbian stretch/main armhf mariadb-common all 10.1.23-9+deb9u1

  404  Not Found [IP: 93.93.128.193 80]
Err:2 http/raspbian.raspberrypi.org/raspbian stretch/main armhf mariadb-client-core-10.1 armhf 10.1.23-9+deb9u1
  404  Not Found [IP: 93.93.128.193 80]

Err:3 http/raspbian.raspberrypi.org/raspbian stretch/main armhf mariadb-client-10.1 armhf 10.1.23-9+deb9u1
  404  Not Found [IP: 93.93.128.193 80]

Err:4 http/raspbian.raspberrypi.org/raspbian stretch/main armhf mariadb-server-core-10.1 armhf 10.1.23-9+deb9u1
  404  Not Found [IP: 93.93.128.193 80]

Err:5 http/raspbian.raspberrypi.org/raspbian stretch/main armhf mariadb-server-10.1 armhf 10.1.23-9+deb9u1
  404  Not Found [IP: 93.93.128.193 80]

Err:6 http/raspbian.raspberrypi.org/raspbian stretch/main armhf libmariadbclient18 armhf 10.1.23-9+deb9u1
  404  Not Found [IP: 93.93.128.193 80]

E: Failed to fetch http
/raspbian.raspberrypi.org/raspbian/pool/main/m/mariadb-10.1/mariadb-common_10.1.23-9+deb9u1_all.deb  404  Not Found [IP: 93.93.128.193 80]

E: Failed to fetch htp
/raspbian.raspberrypi.org/raspbian/pool/main/m/mariadb-10.1/mariadb-client-core-10.1_10.1.23-9+deb9u1_armhf.deb  404  Not Found [IP: 93.93.128.193 80]

E: Failed to fetch htp
/raspbian.raspberrypi.org/raspbian/pool/main/m/mariadb-10.1/mariadb-client-10.1_10.1.23-9+deb9u1_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
E: Failed to fetch htp
/raspbian.raspberrypi.org/raspbian/pool/main/m/mariadb-10.1/mariadb-server-core-10.1_10.1.23-9+deb9u1_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
E: Failed to fetch htp
/raspbian.raspberrypi.org/raspbian/pool/main/m/mariadb-10.1/mariadb-server-10.1_10.1.23-9+deb9u1_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
E: Failed to fetch 
htp/raspbian.raspberrypi.org/raspbian/pool/main/m/mariadb-10.1/libmariadbclient18_10.1.23-9+deb9u1_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

【问题讨论】:

  • 您是否也尝试过运行sudo apt-get update?你确定你有互联网连接吗?
  • @szymon maszke,是的,我也尝试过更新和重启,我的互联网连接是 2 格...无线。
  • 欢迎来到 StackOverflow 顺便说一句。请始终添加尽可能多的关于您的问题的详细信息(不要使用有趣的东西,例如:I have tried everything)并尽可能具体,这样人们就不必询问,而是可以专注于帮助您解决问题.
  • @ChrisForrence 我故意删除了冒号,因为堆栈溢出不允许我发布超过 8 个链接的任何内容,它们应该是完整的链接。
  • @SzymonMaszke 谢谢你,我会尽量详细!

标签: mysql linux ubuntu terminal raspberry-pi


【解决方案1】:

更新存储库时可能会显示此错误,一般建议是几个小时后重试。 https://www.raspberrypi.org/forums/viewtopic.php?p=1344790

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-07-30
    • 1970-01-01
    • 1970-01-01
    • 2020-06-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多