J'essaie de mettre à niveau de 18.04.1 à 18.04.2 et j'obtiens les erreurs suivantes qui entraînent l'annulation de la mise à niveau
sudo apt-get dist-upgrade --fix-missing
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
apport apport-gtk python3-apport python3-problem-report
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 225 kB of archives.
After this operation, 10.2 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Ign:1 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-problem-report all 2.20.9-0ubuntu7.3
Ign:2 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-apport all 2.20.9-0ubuntu7.3
Ign:3 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 apport all 2.20.9-0ubuntu7.3
Ign:4 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 apport-gtk all 2.20.9-0ubuntu7.3
Err:1 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-problem-report all 2.20.9-0ubuntu7.3
404 Not Found [IP: 91.189.91.23 80]
Err:2 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-apport all 2.20.9-0ubuntu7.3
404 Not Found [IP: 91.189.91.23 80]
Err:3 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 apport all 2.20.9-0ubuntu7.3
404 Not Found [IP: 91.189.91.23 80]
Err:4 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 apport-gtk all 2.20.9-0ubuntu7.3
404 Not Found [IP: 91.189.91.23 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apport/python3-problem-report_2.20.9-0ubuntu7.3_all.deb 404 Not Found [IP: 91.189.91.23 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apport/python3-apport_2.20.9-0ubuntu7.3_all.deb 404 Not Found [IP: 91.189.91.23 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apport/apport_2.20.9-0ubuntu7.3_all.deb 404 Not Found [IP: 91.189.91.23 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apport/apport-gtk_2.20.9-0ubuntu7.3_all.deb 404 Not Found [IP: 91.189.91.23 80]
Oui, j'ai exécuté sudo apt-get update et sudo apt-get upgrade, bien que la mise à niveau échoue évidemment sur les mêmes packages.
Je peux trouver les paquets sur launchpad.net ou ubuntu.pkgs.org mais je ne sais pas comment rediriger le source pour qu'il pointe vers ces référentiels au lieu de chercher où ils n'existent pas. Ce sont les liens du tableau de bord.
https://launchpad.net/ubuntu/bionic/amd64/python3-problem-report/2.20.9-0ubuntu7.3 https://launchpad.net/ubuntu/bionic/amd64/python3-apport/2.20.9-0ubuntu7 .3 https://launchpad.net/ubuntu/+source/apport/2.20.9-0ubuntu7.3/+build/15147751
Voici le résultat de 'sudo apt-get update'
Hit:1 http://linux-packages.resilio.com/resilio-sync/deb resilio-sync InRelease
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 http://dl.google.com/linux/chrome/deb stable Release
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Ign:5 http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist InRelease
Get:6 http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist Release [2,040 B]
Hit:7 http://ppa.launchpad.net/gezakovacs/ppa/ubuntu bionic InRelease
Get:8 http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist Release.gpg [490 B]
Ign:9 https://debian.neo4j.org/repo stable/ InRelease
Hit:10 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:11 https://debian.neo4j.org/repo stable/ Release [1,479 B]
Ign:12 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 InRelease
Get:13 https://debian.neo4j.org/repo stable/ Release.gpg [819 B]
Get:14 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:15 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 Release
Hit:16 http://repo.mysql.com/apt/ubuntu bionic InRelease
Hit:17 http://ppa.launchpad.net/git-core/ppa/ubuntu bionic InRelease
Hit:19 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Hit:20 http://ppa.launchpad.net/thomas.tsai/ubuntu-tuxboot/ubuntu bionic InRelease
Ign:8 http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist Release.gpg
Ign:21 http://us.archive.ubuntu.com/ubuntu bionic/main armhf Packages
Hit:22 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Ign:23 http://us.archive.ubuntu.com/ubuntu bionic/restricted armhf Packages
Ign:24 http://us.archive.ubuntu.com/ubuntu bionic/universe armhf Packages
Ign:25 http://us.archive.ubuntu.com/ubuntu bionic/multiverse armhf Packages
Ign:21 http://us.archive.ubuntu.com/ubuntu bionic/main armhf Packages
Ign:23 http://us.archive.ubuntu.com/ubuntu bionic/restricted armhf Packages
Ign:24 http://us.archive.ubuntu.com/ubuntu bionic/universe armhf Packages
Ign:25 http://us.archive.ubuntu.com/ubuntu bionic/multiverse armhf Packages
Ign:21 http://us.archive.ubuntu.com/ubuntu bionic/main armhf Packages
Ign:23 http://us.archive.ubuntu.com/ubuntu bionic/restricted armhf Packages
Ign:24 http://us.archive.ubuntu.com/ubuntu bionic/universe armhf Packages
Ign:25 http://us.archive.ubuntu.com/ubuntu bionic/multiverse armhf Packages
Err:21 http://us.archive.ubuntu.com/ubuntu bionic/main armhf Packages
404 Not Found [IP: 91.189.91.26 80]
Ign:23 http://us.archive.ubuntu.com/ubuntu bionic/restricted armhf Packages
Ign:24 http://us.archive.ubuntu.com/ubuntu bionic/universe armhf Packages
Ign:25 http://us.archive.ubuntu.com/ubuntu bionic/multiverse armhf Packages
Hit:26 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
Ign:28 http://us.archive.ubuntu.com/ubuntu bionic-updates/main armhf Packages
Get:29 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [480 kB]
Get:30 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [284 kB]
Get:31 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [561 kB]
Get:32 http://us.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [207 kB]
Get:33 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [278 kB]
Get:34 http://us.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [66.6 kB]
Get:35 http://us.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [123 kB]
Get:36 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted armhf Packages [6,488 B]
Get:36 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted armhf Packages [6,488 B]
Get:36 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted armhf Packages [6,488 B]
Get:36 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted armhf Packages [6,488 B]
Get:36 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted armhf Packages [6,488 B]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages [187 kB]
Get:36 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted armhf Packages [6,488 B]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages [187 kB]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages [187 kB]
Get:36 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted armhf Packages [6,488 B]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages [187 kB]
Get:36 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted armhf Packages [6,488 B]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages [187 kB]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages [187 kB]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages [187 kB]
Get:36 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted armhf Packages [6,488 B]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages [187 kB]
Get:36 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted armhf Packages [6,488 B]
Get:36 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted armhf Packages [6,488 B]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages [187 kB]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages [187 kB]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages [187 kB]
Get:36 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted armhf Packages [6,488 B]
Get:36 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted armhf Packages [6,488 B]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages [187 kB]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages [187 kB]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages [187 kB]
Ign:36 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted armhf Packages
Ign:65 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe armhf Packages
Ign:66 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse armhf Packages
Ign:28 http://us.archive.ubuntu.com/ubuntu bionic-updates/main armhf Packages
Ign:36 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted armhf Packages
Ign:65 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe armhf Packages
Ign:66 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse armhf Packages
Ign:28 http://us.archive.ubuntu.com/ubuntu bionic-updates/main armhf Packages
Ign:36 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted armhf Packages
Ign:65 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe armhf Packages
Get:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages [187 kB]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages [187 kB]
Ign:66 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse armhf Packages
Err:28 http://us.archive.ubuntu.com/ubuntu bionic-updates/main armhf Packages
404 Not Found [IP: 91.189.91.26 80]
Ign:36 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted armhf Packages
Get:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages [187 kB]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages [187 kB]
Ign:65 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe armhf Packages
Ign:66 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse armhf Packages
Ign:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages
Ign:71 http://security.ubuntu.com/ubuntu bionic-security/restricted armhf Packages
Ign:72 http://security.ubuntu.com/ubuntu bionic-security/universe armhf Packages
Ign:73 http://security.ubuntu.com/ubuntu bionic-security/multiverse armhf Packages
Ign:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages
Ign:71 http://security.ubuntu.com/ubuntu bionic-security/restricted armhf Packages
Ign:72 http://security.ubuntu.com/ubuntu bionic-security/universe armhf Packages
Ign:73 http://security.ubuntu.com/ubuntu bionic-security/multiverse armhf Packages
Ign:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages
Ign:71 http://security.ubuntu.com/ubuntu bionic-security/restricted armhf Packages
Ign:72 http://security.ubuntu.com/ubuntu bionic-security/universe armhf Packages
Ign:73 http://security.ubuntu.com/ubuntu bionic-security/multiverse armhf Packages
Err:42 http://security.ubuntu.com/ubuntu bionic-security/main armhf Packages
404 Not Found [IP: 91.189.88.161 80]
Ign:71 http://security.ubuntu.com/ubuntu bionic-security/restricted armhf Packages
Ign:72 http://security.ubuntu.com/ubuntu bionic-security/universe armhf Packages
Ign:73 http://security.ubuntu.com/ubuntu bionic-security/multiverse armhf Packages
Reading package lists... Done
W: GPG error: http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist Release: The following signatures were invalid: 492EAFE8CD016A07919F1D2B9ECBEC467F0CEB10
E: The repository 'http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Skipping acquire of configured file 'mysql-apt-config/binary-armhf/Packages' as repository 'http://repo.mysql.com/apt/ubuntu bionic InRelease' doesn't support architecture 'armhf'
N: Skipping acquire of configured file 'mysql-5.7/binary-armhf/Packages' as repository 'http://repo.mysql.com/apt/ubuntu bionic InRelease' doesn't support architecture 'armhf'
N: Skipping acquire of configured file 'mysql-tools/binary-armhf/Packages' as repository 'http://repo.mysql.com/apt/ubuntu bionic InRelease' doesn't support architecture 'armhf'
la source
armhf
dans les sorties? Quelle est l'architecture du processeur de votre système?Réponses:
Vous devez complètement désactiver les référentiels non x86 sur votre système.
Vous pouvez vérifier les lignes problématiques à l'aide de la commande suivante:
Désactivez ensuite ces référentiels manuellement à partir de Software & Updates (
software-properties-gtk
) ou en modifiant manuellement les*.list
fichiers associés .N'oubliez pas de courir
sudo apt-get update
après les modifications.Si vous êtes sûr que
armhf
cela ne se trouve pas dans*.list
- alors supprimez l'armhf
architecture avec la commande ci-dessous:Le dernier message d'erreur à propos de
http://downloads-distro.mongodb.org/repo/ubuntu-upstart
peut être supprimé en désactivant ce référentiel. Il semble que vous n'en ayez pas besoin, car votre 18.04 LTS (Bionic Beaver) n'en utiliseupstart
plus et il estsystemd
basé sur. S'il vous plaît noter également que 18.04 LTS a déjà MongoDB 3.6.3 , alors que le dépôt problématique fournit 2.6.x .la source
deb http://us.archive.ubuntu.com/ubuntu/ bionic main deb http://security.ubuntu.com/ubuntu/ bionic-security main deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main
grep -r arm /etc/apt/sources.list* --include="*.list"
supprimer l’architecture de la CPU -sudo dpkg --remove-architecture armhf
.[arch=amd64]
la distro moderne 64 bits comme multilib, vous pourriez donc également avoir besoin des packages i386. Alors, envisagez de supprimer[arch=amd64]
puis d'exécutersudo dpkg --remove-architecture armhf
suivi desudo apt-get update
.