apt-get ne peut pas find le package sur une ancienne version de ma dissortingbution

Je travaille sur un ordinateur Linux Mint 16 et depuis peu, chaque fois que je veux installer quelque chose via apt-get install , le message indique que les packages n'ont pas pu être authentifiés. Je vais de l'avant et essayer de les installer sans autorisation et il s'avère que la plupart des packages ne sont pas trouvés.

À la fin du process, le message de la console me suggère d'utiliser la apt-get update ou --fix-missing . C'est ce que je fais: sudo apt-get update et immediatement apres j'essaye de nouveau d'installer avec sudo apt-get install nginx mais j'ai toujours la meme erreur de message.

Quel est le problème? Suis-je oublié quelque chose?

Note: J'aurais copié / collé les journaux, mais ils sont en espagnol, donc ils n'auraient probablement pas été d'une grande aide pour la plupart.

MISE À JOUR: J'ai réussi à get les journaux en anglais grâce à @Flup.

Les voici: Pour apt-get install :

 ricardo@toshi ~$ sudo apt-get install nginx Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libnet-daemon-perl libplrpc-perl Use 'apt-get autoremove' to remove them. The following extra packages will be installed: nginx-common nginx-full The following NEW packages will be installed: nginx nginx-common nginx-full 0 upgraded, 3 newly installed, 0 to remove and 17 not upgraded. Need to get 404 kB of archives. After this operation, 1246 kB of additional disk space will be used. Do you want to continue [Y/n]? Y WARNING: The following packages cannot be authenticated! nginx-common nginx-full nginx Install these packages without verification [y/N]? y Err http://archive.ubuntu.com/ubuntu/ raring-updates/universe nginx-common all 1.2.6-1ubuntu3.3 404 Not Found [IP: 91.189.88.153 80] Err http://security.ubuntu.com/ubuntu/ raring-security/universe nginx-common all 1.2.6-1ubuntu3.3 404 Not Found [IP: 91.189.92.200 80] Err http://security.ubuntu.com/ubuntu/ raring-security/universe nginx-full amd64 1.2.6-1ubuntu3.3 404 Not Found [IP: 91.189.92.200 80] Err http://security.ubuntu.com/ubuntu/ raring-security/universe nginx all 1.2.6-1ubuntu3.3 404 Not Found [IP: 91.189.92.200 80] Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/n/nginx/nginx-common_1.2.6-1ubuntu3.3_all.deb 404 Not Found [IP: 91.189.92.200 80] Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/n/nginx/nginx-full_1.2.6-1ubuntu3.3_amd64.deb 404 Not Found [IP: 91.189.92.200 80] Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/n/nginx/nginx_1.2.6-1ubuntu3.3_all.deb 404 Not Found [IP: 91.189.92.200 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 

Pour la apt-get update :

 ricardo@toshi ~$ sudo apt-get update Hit http://dl.google.com stable Release.gpg Ign http://es.archive.ubuntu.com raring Release.gpg Hit http://archive.canonical.com raring Release.gpg Hit http://dl.google.com stable Release.gpg Hit http://ppa.launchpad.net raring Release.gpg Ign http://es.archive.ubuntu.com raring Release.gpg Ign http://archive.ubuntu.com raring Release.gpg Hit http://dl.google.com stable Release Hit http://archive.canonical.com raring Release Ign http://es.archive.ubuntu.com raring Release Hit http://ppa.launchpad.net raring Release.gpg Ign http://archive.ubuntu.com raring-updates Release.gpg Hit http://dl.google.com stable Release Ign http://security.ubuntu.com raring-security Release.gpg Ign http://es.archive.ubuntu.com raring Release Hit http://archive.canonical.com raring/partner amd64 Packages Ign http://archive.ubuntu.com raring Release Hit http://ppa.launchpad.net raring Release Hit http://downloads-distro.mongodb.org dist Release.gpg Hit http://dl.google.com stable/main amd64 Packages Get:1 http://packages.linuxmint.com olivia Release.gpg [198 B] Ign http://archive.ubuntu.com raring-updates Release Hit http://archive.canonical.com raring/partner i386 Packages Hit http://dl.google.com stable/main i386 Packages Hit http://ppa.launchpad.net raring Release Ign http://security.ubuntu.com raring-security Release Ign http://archive.ubuntu.com raring/main amd64 Packages/DiffIndex Hit http://ppa.launchpad.net raring/main Sources Ign http://archive.ubuntu.com raring/ressortingcted amd64 Packages/DiffIndex Get:2 http://packages.linuxmint.com olivia Release [18.5 kB] Hit http://ppa.launchpad.net raring/main amd64 Packages Ign http://archive.ubuntu.com raring/universe amd64 Packages/DiffIndex Ign http://security.ubuntu.com raring-security/main amd64 Packages/DiffIndex Hit http://dl.google.com stable/main amd64 Packages Hit http://downloads-distro.mongodb.org dist Release Ign http://archive.ubuntu.com raring/multiverse amd64 Packages/DiffIndex Hit http://ppa.launchpad.net raring/main i386 Packages Hit http://dl.google.com stable/main i386 Packages Ign http://archive.ubuntu.com raring/main i386 Packages/DiffIndex Ign http://security.ubuntu.com raring-security/ressortingcted amd64 Packages/DiffIndex Ign http://archive.ubuntu.com raring/ressortingcted i386 Packages/DiffIndex Ign http://archive.ubuntu.com raring/universe i386 Packages/DiffIndex Ign http://security.ubuntu.com raring-security/universe amd64 Packages/DiffIndex Ign http://archive.ubuntu.com raring/multiverse i386 Packages/DiffIndex Hit http://toolbelt.heroku.com ./ Release.gpg Hit http://ppa.launchpad.net raring/main Sources Get:3 http://packages.linuxmint.com olivia/main amd64 Packages [23.5 kB] Hit http://downloads-distro.mongodb.org dist/10gen amd64 Packages Hit https://get.docker.io docker Release.gpg Hit http://ppa.launchpad.net raring/main amd64 Packages Ign http://security.ubuntu.com raring-security/multiverse amd64 Packages/DiffIndex Ign http://archive.canonical.com raring/partner Translation-en Hit http://ppa.launchpad.net raring/main i386 Packages Hit https://get.docker.io docker Release Ign http://archive.canonical.com raring/partner Translation-es Ign http://security.ubuntu.com raring-security/main i386 Packages/DiffIndex Hit http://toolbelt.heroku.com ./ Release Hit http://downloads-distro.mongodb.org dist/10gen i386 Packages Hit https://get.docker.io docker/main amd64 Packages Get:4 http://packages.linuxmint.com olivia/upstream amd64 Packages [9249 B] Ign http://security.ubuntu.com raring-security/ressortingcted i386 Packages/DiffIndex Hit https://get.docker.io docker/main i386 Packages Get:5 http://packages.linuxmint.com olivia/import amd64 Packages [39.2 kB] Ign http://security.ubuntu.com raring-security/universe i386 Packages/DiffIndex Hit http://toolbelt.heroku.com ./ Packages Ign http://archive.ubuntu.com raring-updates/main amd64 Packages/DiffIndex Ign http://security.ubuntu.com raring-security/multiverse i386 Packages/DiffIndex Ign http://archive.ubuntu.com raring-updates/ressortingcted amd64 Packages/DiffIndex Ign http://dl.google.com stable/main Translation-en Ign http://archive.ubuntu.com raring-updates/universe amd64 Packages/DiffIndex Ign http://dl.google.com stable/main Translation-es Ign http://archive.ubuntu.com raring-updates/multiverse amd64 Packages/DiffIndex Ign http://dl.google.com stable/main Translation-en Ign http://archive.ubuntu.com raring-updates/main i386 Packages/DiffIndex Get:6 http://packages.linuxmint.com olivia/main i386 Packages [23.5 kB] Ign http://dl.google.com stable/main Translation-es Ign http://archive.ubuntu.com raring-updates/ressortingcted i386 Packages/DiffIndex Ign http://archive.ubuntu.com raring-updates/universe i386 Packages/DiffIndex Ign http://archive.ubuntu.com raring-updates/multiverse i386 Packages/DiffIndex Get:7 http://packages.linuxmint.com olivia/upstream i386 Packages [9237 B] Ign http://ppa.launchpad.net raring/main Translation-en Get:8 http://packages.linuxmint.com olivia/import i386 Packages [40.1 kB] Ign http://ppa.launchpad.net raring/main Translation-es Ign http://ppa.launchpad.net raring/main Translation-en Ign http://ppa.launchpad.net raring/main Translation-es Ign http://toolbelt.heroku.com ./ Translation-en Ign http://toolbelt.heroku.com ./ Translation-es Ign http://downloads-distro.mongodb.org dist/10gen Translation-en Ign http://downloads-distro.mongodb.org dist/10gen Translation-es Err http://es.archive.ubuntu.com raring/main amd64 Packages 404 Not Found [IP: 91.189.92.201 80] Err http://es.archive.ubuntu.com raring/universe amd64 Packages 404 Not Found [IP: 91.189.92.201 80] Err http://es.archive.ubuntu.com raring/main i386 Packages 404 Not Found [IP: 91.189.92.201 80] Err http://es.archive.ubuntu.com raring/universe i386 Packages 404 Not Found [IP: 91.189.92.201 80] Ign http://es.archive.ubuntu.com raring/main Translation-en Ign http://es.archive.ubuntu.com raring/main Translation-es Ign http://es.archive.ubuntu.com raring/universe Translation-en Ign http://es.archive.ubuntu.com raring/universe Translation-es Err http://es.archive.ubuntu.com raring/main amd64 Packages 404 Not Found [IP: 91.189.92.201 80] Err http://es.archive.ubuntu.com raring/universe amd64 Packages 404 Not Found [IP: 91.189.92.201 80] Err http://es.archive.ubuntu.com raring/main i386 Packages 404 Not Found [IP: 91.189.92.201 80] Err http://es.archive.ubuntu.com raring/universe i386 Packages 404 Not Found [IP: 91.189.92.201 80] Ign http://es.archive.ubuntu.com raring/main Translation-en Ign http://es.archive.ubuntu.com raring/main Translation-es Ign http://es.archive.ubuntu.com raring/universe Translation-en Ign http://es.archive.ubuntu.com raring/universe Translation-es Ign http://packages.linuxmint.com olivia/import Translation-en Ign http://packages.linuxmint.com olivia/import Translation-es Ign https://get.docker.io docker/main Translation-en Ign http://packages.linuxmint.com olivia/main Translation-en Ign http://packages.linuxmint.com olivia/main Translation-es Ign http://packages.linuxmint.com olivia/upstream Translation-en Ign https://get.docker.io docker/main Translation-es Ign http://packages.linuxmint.com olivia/upstream Translation-es Ign http://archive.ubuntu.com raring/main Translation-en Ign http://archive.ubuntu.com raring/main Translation-es Ign http://archive.ubuntu.com raring/multiverse Translation-en Ign http://archive.ubuntu.com raring/multiverse Translation-es Ign http://archive.ubuntu.com raring/ressortingcted Translation-en Ign http://archive.ubuntu.com raring/ressortingcted Translation-es Ign http://archive.ubuntu.com raring/universe Translation-en Ign http://archive.ubuntu.com raring/universe Translation-es Ign http://archive.ubuntu.com raring-updates/main Translation-en Ign http://archive.ubuntu.com raring-updates/main Translation-es Ign http://archive.ubuntu.com raring-updates/multiverse Translation-en Ign http://archive.ubuntu.com raring-updates/multiverse Translation-es Ign http://archive.ubuntu.com raring-updates/ressortingcted Translation-en Ign http://archive.ubuntu.com raring-updates/ressortingcted Translation-es Ign http://security.ubuntu.com raring-security/main Translation-en Ign http://archive.ubuntu.com raring-updates/universe Translation-en Ign http://archive.ubuntu.com raring-updates/universe Translation-es Ign http://security.ubuntu.com raring-security/main Translation-es Err http://archive.ubuntu.com raring/main amd64 Packages 404 Not Found [IP: 91.189.92.200 80] Err http://archive.ubuntu.com raring/ressortingcted amd64 Packages 404 Not Found [IP: 91.189.92.200 80] Ign http://security.ubuntu.com raring-security/multiverse Translation-en Err http://archive.ubuntu.com raring/universe amd64 Packages 404 Not Found [IP: 91.189.92.200 80] Ign http://security.ubuntu.com raring-security/multiverse Translation-es Err http://archive.ubuntu.com raring/multiverse amd64 Packages 404 Not Found [IP: 91.189.92.200 80] Err http://archive.ubuntu.com raring/main i386 Packages 404 Not Found [IP: 91.189.92.200 80] Err http://archive.ubuntu.com raring/ressortingcted i386 Packages 404 Not Found [IP: 91.189.92.200 80] Ign http://security.ubuntu.com raring-security/ressortingcted Translation-en Err http://archive.ubuntu.com raring/universe i386 Packages 404 Not Found [IP: 91.189.92.200 80] Err http://archive.ubuntu.com raring/multiverse i386 Packages 404 Not Found [IP: 91.189.92.200 80] Ign http://security.ubuntu.com raring-security/ressortingcted Translation-es Err http://archive.ubuntu.com raring-updates/main amd64 Packages 404 Not Found [IP: 91.189.92.200 80] Err http://archive.ubuntu.com raring-updates/ressortingcted amd64 Packages 404 Not Found [IP: 91.189.92.200 80] Ign http://security.ubuntu.com raring-security/universe Translation-en Err http://archive.ubuntu.com raring-updates/universe amd64 Packages 404 Not Found [IP: 91.189.92.200 80] Err http://archive.ubuntu.com raring-updates/multiverse amd64 Packages 404 Not Found [IP: 91.189.92.200 80] Ign http://security.ubuntu.com raring-security/universe Translation-es Err http://archive.ubuntu.com raring-updates/main i386 Packages 404 Not Found [IP: 91.189.92.200 80] Err http://archive.ubuntu.com raring-updates/ressortingcted i386 Packages 404 Not Found [IP: 91.189.92.200 80] Err http://archive.ubuntu.com raring-updates/universe i386 Packages 404 Not Found [IP: 91.189.92.200 80] Err http://security.ubuntu.com raring-security/main amd64 Packages 404 Not Found [IP: 91.189.91.15 80] Err http://archive.ubuntu.com raring-updates/multiverse i386 Packages 404 Not Found [IP: 91.189.92.200 80] Err http://security.ubuntu.com raring-security/ressortingcted amd64 Packages 404 Not Found [IP: 91.189.91.15 80] Err http://security.ubuntu.com raring-security/universe amd64 Packages 404 Not Found [IP: 91.189.91.15 80] Err http://security.ubuntu.com raring-security/multiverse amd64 Packages 404 Not Found [IP: 91.189.91.15 80] Err http://security.ubuntu.com raring-security/main i386 Packages 404 Not Found [IP: 91.189.91.15 80] Err http://security.ubuntu.com raring-security/ressortingcted i386 Packages 404 Not Found [IP: 91.189.91.15 80] Err http://security.ubuntu.com raring-security/universe i386 Packages 404 Not Found [IP: 91.189.91.15 80] Err http://security.ubuntu.com raring-security/multiverse i386 Packages 404 Not Found [IP: 91.189.91.15 80] Fetched 163 kB in 15s (10.9 kB/s) W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/universe/a/aufs-tools/aufs-tools_3.0+20120411-3ubuntu1_amd64.deb/dists/raring/main/binary-amd64/Packages 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/universe/a/aufs-tools/aufs-tools_3.0+20120411-3ubuntu1_amd64.deb/dists/raring/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/universe/a/aufs-tools/aufs-tools_3.0+20120411-3ubuntu1_amd64.deb/dists/raring/main/binary-i386/Packages 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/universe/a/aufs-tools/aufs-tools_3.0+20120411-3ubuntu1_amd64.deb/dists/raring/universe/binary-i386/Packages 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/main/n/nginx/nginx_1.4.6-1ubuntu3_all.deb/dists/raring/main/binary-amd64/Packages 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/main/n/nginx/nginx_1.4.6-1ubuntu3_all.deb/dists/raring/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/main/n/nginx/nginx_1.4.6-1ubuntu3_all.deb/dists/raring/main/binary-i386/Packages 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/main/n/nginx/nginx_1.4.6-1ubuntu3_all.deb/dists/raring/universe/binary-i386/Packages 404 Not Found [IP: 91.189.92.201 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/main/binary-amd64/Packages 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/ressortingcted/binary-amd64/Packages 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/main/binary-amd64/Packages 404 Not Found [IP: 91.189.91.15 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/multiverse/binary-amd64/Packages 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/main/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/ressortingcted/binary-amd64/Packages 404 Not Found [IP: 91.189.91.15 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/ressortingcted/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/universe/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.91.15 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/multiverse/binary-amd64/Packages 404 Not Found [IP: 91.189.91.15 80] W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.15 80] W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/ressortingcted/binary-i386/Packages 404 Not Found [IP: 91.189.91.15 80] W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.15 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/main/binary-amd64/Packages 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.15 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/ressortingcted/binary-amd64/Packages 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/multiverse/binary-amd64/Packages 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/main/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/ressortingcted/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/universe/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80] E: Some index files failed to download. They have been ignored, or old ones used instead. 

La chose qui m'a aidé était: https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/

Mettre à jour les lists pour utiliser old-releases.ubuntu.com:

 sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list.d/official-package-repositories.list sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list.d/official-source-repositories.list 

Edit: Comme l'a dit Meisam Mulla dans les commentaires , si vos URL dans les files /etc/apt/sources.list sont précédées de quelque chose ( ca. par exemple), vous devrez supprimer les préfixes manuellement, comme ca.old-releases.ubuntu.com n'est pas une adresse valide.

En outre, certains de mes messages d'erreur pour les Googlers:

 W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/main/source/Sources 404 Not Found [IP: 91.189.88.153 80] Err http://archive.ubuntu.com raring/main Sources 404 Not Found [IP: 91.189.92.201 80] Err http://archive.ubuntu.com raring/ressortingcted Sources 404 Not Found [IP: 91.189.92.201 80] 

Si vous prenez l'une des URL qui donne une erreur 404 et la mettez dans votre browser, vous verrez que vous obtenez également l'erreur 404. Cela peut être temporaire ou une erreur de server, alors vous pouvez faire une search dans la structure du directory jusqu'à ce que votre URL soit http://archive.ubuntu.com/ubuntu/dists/ .

Vous y verrez des sous-directorys pour lucid (10.04), precise (12.04), saucy (13.10), trusty (14.04) et utopic (14.10). Les numéros sont les numéros de version Ubuntu correspondants. D'autres sont en fin de vie, ne sont plus pris en charge et ne doivent pas être utilisés. Mint 16 devrait être un dérivé de 13.10, donc on ne sait pas pourquoi votre système essaie d'get quelque chose à partir de 13.04.

Vous pouvez essayer de mettre à jour les inputs dans /etc/apt/sources.lst et /etc/sources.list.d/* de raring à saucy , et essayez si cela vous aide, mais vous risquez de rompre le système en installant des versions incompatibles ( faire une sauvegarde d'abord ).

Vous devriez envisager de passer à Mint 17, ou retomber dans une ancienne version supscope comme Maya (13)