无法在Raspberry Pi上下载MySQL软件

时间:2019-03-19 13:58:02

标签: mysql linux ubuntu terminal raspberry-pi

我运行下面的命令,我尝试过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?

1 个答案:

答案 0 :(得分:-1)

This error can be shown when the repositories are being updated, the general advice is to try again a couple hours later. https://www.raspberrypi.org/forums/viewtopic.php?p=1344790