Не может установить mysql на Ubuntu 18.04, 404, не найденной

Я получаю эту ошибку, когда я пытаюсь установить mysql на Ubuntu

sudo apt install mysql-client-core-5.7 

Reading package lists... Done Building dependency tree        Reading state information... Done The following packages were automatically installed and are no longer required:   libnvidia-common-390 libwayland-client0:i386 libwayland-server0:i386 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed:   mysql-client-core-5.7 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded. Need to get 6,985 kB of archives. After this operation, 31.5 MB of additional disk space will be used. Ign:1 http://security.ubuntu.com/ubuntu bionic-security/main amd64 mysql-client-core-5.7 amd64
5.7.23-0ubuntu0.18.04.1 Err:1 http://us.archive.ubuntu.com/ubuntu bionic-security/main amd64 mysql-client-core-5.7 amd64
5.7.23-0ubuntu0.18.04.1   404  Not Found [IP: 91.189.88.161 80] E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/mysql-client-core-5.7_5.7.23-0ubuntu0.18.04.1_amd64.deb 404  Not Found [IP: 91.189.88.161 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Я попробовал

sudo apt update 

сопровождаемый

sudo apt upgrade

Мой sources.list файл похож на это

# deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse

Заранее спасибо за справку.

Я просто попробовал, автоудаляют сопровождаемый обновлением и обновлением, и это - то, что я получил, когда я работал снова с - устраненный пропущенный

sudo apt-get install mysql-client-core-5.7 --fix-missing
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libaio1
The following NEW packages will be installed:
  libaio1 mysql-client-core-5.7
0 upgraded, 2 newly installed, 0 to remove and 5 not upgraded.
Need to get 6,985 kB/6,992 kB of archives.
After this operation, 31.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Ign:1 http://security.ubuntu.com/ubuntu bionic-security/main amd64 mysql-client-core-5.7 amd64 5.7.23-0ubuntu0.18.04.1
Err:1 http://us.archive.ubuntu.com/ubuntu bionic-security/main amd64 mysql-client-core-5.7 amd64 5.7.23-0ubuntu0.18.04.1
  404  Not Found [IP: 91.189.88.152 80]
Selecting previously unselected package libaio1:amd64.
(Reading database ... 212399 files and directories currently installed.)
Preparing to unpack .../libaio1_0.3.110-5_amd64.deb ...
Unpacking libaio1:amd64 (0.3.110-5) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up libaio1:amd64 (0.3.110-5) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/mysql-client-core-5.7_5.7.23-0ubuntu0.18.04.1_amd64.deb  404  Not Found [IP: 91.189.88.152 80]
0
задан 22 January 2019 в 15:30

2 ответа

Попробуйте это sudo apt install mysql-client

Если я буду корректен, то это также установит несколько зависимостей. С mysql-client-core-5.7будучи одним из них.

Я надеюсь, что это помогает Вам с Вашей проблемой.

1
ответ дан 26 October 2019 в 12:03

У меня была та же проблема, решение заключалось в том, чтобы удалить источники репозиториев, связанные с mariadb, после этого я очистил mysql и все связанные пакеты, перезагрузил исходники, перезагрузил и переустановил mysql снова, и это сработало !!!!

-1
ответ дан 22 July 2020 в 12:22

Другие вопросы по тегам:

Похожие вопросы: