#1 Le 28/01/2018, à 18:57
- bg1000
Mise à jour 17.04 => 17.10 ratée??? [Solutionné]
Bonjour
J'ai mis à jour, le plus tard possible de 17.04 vers 17.10, j'ai du avoir eu un plantage lors de la mise à jour.
Si je démarre le gestionnaire de mise à jour, il me dit vérifier la connexion internet et impossible de mettre à jour.
J'ai l'impression que je dois avoir un mélange de version. et également un module au niveau du noyau qui ne fonctionne pas correctement.
Je recherche une interprétation du diagnostique et la cause du problème.
J'ai déjà fait un backup de mon /home
Merci de l'aide et de l'interprétation
BG.
PS je compte réinstaller, mais il est important de connaitre l'interprétation de l'erreur
sudo apt update
bernard@bernard-SSD-240:~$ sudo apt update
[sudo] Mot de passe de bernard :
Atteint:1 http://archive.canonical.com artful InRelease
Ign:2 http://archive.ubuntu.com/ubuntu stable InRelease
Atteint:3 http://be.archive.ubuntu.com/ubuntu artful InRelease
Ign:4 http://archive.ubuntu.com/ubuntu precise InRelease
Atteint:5 http://be.archive.ubuntu.com/ubuntu artful-updates InRelease
Err:6 http://archive.ubuntu.com/ubuntu stable Release
404 Not Found [IP : 2001:67c:1560:8001::14 80]
Atteint:7 http://be.archive.ubuntu.com/ubuntu artful-backports InRelease
Réception de:8 http://archive.ubuntu.com/ubuntu precise Release [49,6 kB]
Atteint:9 http://be.archive.ubuntu.com/ubuntu artful-security InRelease
Réception de:10 http://archive.ubuntu.com/ubuntu precise Release.gpg [198 B]
Ign:10 http://archive.ubuntu.com/ubuntu precise Release.gpg
Lecture des listes de paquets... Fait
E: The repository 'http://archive.ubuntu.com/ubuntu stable Release' does not have a Release file.
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.
W: Erreur de GPG : http://archive.ubuntu.com/ubuntu precise Release : Les signatures suivantes ne sont pas valables : 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http://archive.ubuntu.com/ubuntu precise 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.
Dernière modification par bg1000 (Le 28/01/2018, à 22:56)
Hors ligne
#2 Le 28/01/2018, à 19:25
- cqfd93
Re : Mise à jour 17.04 => 17.10 ratée??? [Solutionné]
Bonjour,
Il y a des restes d'une version obsolète depuis plusieurs mois (precise=12.04 en fin de vie depuis avril 2017).
Peut-être qu'en corrigeant tes sources on peut réparer. Donne le retour de :
find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;
− cqfd93 −
Hors ligne
#3 Le 28/01/2018, à 20:15
- bg1000
Re : Mise à jour 17.04 => 17.10 ratée??? [Solutionné]
Merci
Voici le résultat
~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;
bernard@bernard-SSD-240:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;
/etc/apt/sources.list
1 # deb cdrom:[Ubuntu 17.04 _Zesty Zapus_ - Release amd64 (20170412)]/ zesty main restricted
2 # deb cdrom:[Ubuntu 15.10 _Wily Werewolf_ - Release amd64 (20151021)]/ wily main restricted
3
4 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
5 # newer versions of the distribution.
6 deb http://be.archive.ubuntu.com/ubuntu/ artful main restricted
7 deb-src http://be.archive.ubuntu.com/ubuntu/ artful main restricted
8
9 ## Major bug fix updates produced after the final release of the
10 ## distribution.
11 deb http://be.archive.ubuntu.com/ubuntu/ artful-updates main restricted
12 deb-src http://be.archive.ubuntu.com/ubuntu/ artful-updates main restricted
13
14 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
15 ## team. Also, please note that software in universe WILL NOT receive any
16 ## review or updates from the Ubuntu security team.
17 deb http://be.archive.ubuntu.com/ubuntu/ artful universe
18 deb-src http://be.archive.ubuntu.com/ubuntu/ artful universe
19 deb http://be.archive.ubuntu.com/ubuntu/ artful-updates universe
20 deb-src http://be.archive.ubuntu.com/ubuntu/ artful-updates universe
21
22 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
23 ## team, and may not be under a free licence. Please satisfy yourself as to
24 ## your rights to use the software. Also, please note that software in
25 ## multiverse WILL NOT receive any review or updates from the Ubuntu
26 ## security team.
27 deb http://be.archive.ubuntu.com/ubuntu/ artful multiverse
28 deb-src http://be.archive.ubuntu.com/ubuntu/ artful multiverse
29 deb http://be.archive.ubuntu.com/ubuntu/ artful-updates multiverse
30 deb-src http://be.archive.ubuntu.com/ubuntu/ artful-updates multiverse
31
32 ## N.B. software from this repository may not have been tested as
33 ## extensively as that contained in the main release, although it includes
34 ## newer versions of some applications which may provide useful features.
35 ## Also, please note that software in backports WILL NOT receive any review
36 ## or updates from the Ubuntu security team.
37 deb http://be.archive.ubuntu.com/ubuntu/ artful-backports main restricted universe multiverse
38 deb-src http://be.archive.ubuntu.com/ubuntu/ artful-backports main restricted universe multiverse
39
40 deb http://be.archive.ubuntu.com/ubuntu/ artful-security main restricted
41 deb-src http://be.archive.ubuntu.com/ubuntu/ artful-security main restricted
42 deb http://be.archive.ubuntu.com/ubuntu/ artful-security universe
43 deb-src http://be.archive.ubuntu.com/ubuntu/ artful-security universe
44 deb http://be.archive.ubuntu.com/ubuntu/ artful-security multiverse
45 deb-src http://be.archive.ubuntu.com/ubuntu/ artful-security multiverse
46
47 ## Uncomment the following two lines to add software from Canonical's
48 ## 'partner' repository.
49 ## This software is not part of Ubuntu, but is offered by Canonical and the
50 ## respective vendors as a service to Ubuntu users.
51 # deb http://archive.canonical.com/ubuntu wily partner
52 # deb-src http://archive.canonical.com/ubuntu wily partner
53
54 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
55 # newer versions of the distribution.
56 # deb-src http://be.archive.ubuntu.com/ubuntu/ zesty main restricted
57
58 ## Major bug fix updates produced after the final release of the
59 ## distribution.
60 # deb-src http://be.archive.ubuntu.com/ubuntu/ zesty-updates main restricted
61
62 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
63 ## team. Also, please note that software in universe WILL NOT receive any
64 ## review or updates from the Ubuntu security team.
65 # deb-src http://be.archive.ubuntu.com/ubuntu/ zesty universe
66 # deb-src http://be.archive.ubuntu.com/ubuntu/ zesty-updates universe
67
68 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
69 ## team, and may not be under a free licence. Please satisfy yourself as to
70 ## your rights to use the software. Also, please note that software in
71 ## multiverse WILL NOT receive any review or updates from the Ubuntu
72 ## security team.
73 # deb-src http://be.archive.ubuntu.com/ubuntu/ zesty multiverse
74 # deb-src http://be.archive.ubuntu.com/ubuntu/ zesty-updates multiverse
75
76 ## N.B. software from this repository may not have been tested as
77 ## extensively as that contained in the main release, although it includes
78 ## newer versions of some applications which may provide useful features.
79 ## Also, please note that software in backports WILL NOT receive any review
80 ## or updates from the Ubuntu security team.
81 # deb-src http://be.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse
82
83 ## Uncomment the following two lines to add software from Canonical's
84 ## 'partner' repository.
85 ## This software is not part of Ubuntu, but is offered by Canonical and the
86 ## respective vendors as a service to Ubuntu users.
87 # deb http://archive.canonical.com/ubuntu zesty partner
88 # deb-src http://archive.canonical.com/ubuntu zesty partner
89
90 # deb-src http://security.ubuntu.com/ubuntu zesty-security main restricted
91 # deb-src http://security.ubuntu.com/ubuntu zesty-security universe
92 # deb-src http://security.ubuntu.com/ubuntu zesty-security multiverse
93 deb http://archive.canonical.com/ artful partner
94 # deb-src http://archive.canonical.com/ zesty partner
95 deb http://archive.ubuntu.com/ubuntu stable main non-free # auto generated by ubuntu-release-upgrader
96 deb http://archive.ubuntu.com/ubuntu precise steam # auto generated by ubuntu-release-upgrader
97 deb-src http://archive.ubuntu.com/ubuntu precise steam # auto generated by ubuntu-release-upgrader
/etc/apt/sources.list.d/google-chrome.list
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 # deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main # désactivé pour la mise à niveau vers artful
/etc/apt/sources.list.d/dhor-ubuntu-myway-zesty.list
1 # deb http://ppa.launchpad.net/dhor/myway/ubuntu artful main # désactivé pour la mise à niveau vers artful
2 # deb-src http://ppa.launchpad.net/dhor/myway/ubuntu zesty main
/etc/apt/sources.list.d/vivaldi.list
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 #deb http://repo.vivaldi.com/stable/deb/ stable main
/etc/apt/sources.list.d/teejee2008-ubuntu-ppa-zesty.list
1 # deb http://ppa.launchpad.net/teejee2008/ppa/ubuntu artful main # désactivé pour la mise à niveau vers artful
2 # deb-src http://ppa.launchpad.net/teejee2008/ppa/ubuntu zesty main
/etc/apt/sources.list.d/opera-stable.list
1 # This file makes sure that Opera Browser is kept up-to-date
2 # as part of regular system upgrades
3
4 # deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases) désactivé pour la mise à niveau vers artful
/etc/apt/sources.list.d/pmjdebruijn-ubuntu-darktable-release-zesty.list
1 # deb http://ppa.launchpad.net/pmjdebruijn/darktable-release/ubuntu artful main # désactivé pour la mise à niveau vers artful
2 # deb-src http://ppa.launchpad.net/pmjdebruijn/darktable-release/ubuntu zesty main
/etc/apt/sources.list.d/eid.list
1 # To enable the candidate repository, uncomment the below line, put "deb" in
2 # front of it, and run "dpkg-reconfigure eid-archive" to enable the archive
3 # key.
4 #
5 # The candidate repository contains unsupported prerelease packages. Use at
6 # your own risk.
7 #
8 # Note, however, that the candidate repository is usually empty; it is
9 # used when we're preparing (and testing) a new release. Therefore, it
10 # should be relatively safe.
11 #
12 # There is also another "continuous" repository, for which packages get
13 # recompiled for each and every change to the source. This isn't listed
14 # (so that it can't be accidentally enabled), but the configuration is
15 # the same as the below, with "candidate" replaced by "continuous".
16 #
17 # http://files.eid.belgium.be/debian candidate/zesty main
18 # NOTE: files2.eid.belgium.be is a mirror for the main repository ONLY.
19 # That is, it does not contain the continuous or candidate repositories.
20
21 # The regular repository with released packages. This is what you should
22 # use.
23 # deb http://files.eid.belgium.be/debian artful main # désactivé pour la mise à niveau vers artful
24 # deb http://files2.eid.belgium.be/debian artful main # désactivé pour la mise à niveau vers artful
/etc/apt/sources.list.d/skype-stable.list
1 # deb [arch=amd64] https://repo.skype.com/deb stable main # désactivé pour la mise à niveau vers artful
J'ai l'impression de traîner cela depuis plusieurs versions....
BG
Dernière modification par bg1000 (Le 28/01/2018, à 20:19)
Hors ligne
#4 Le 28/01/2018, à 20:36
- cqfd93
Re : Mise à jour 17.04 => 17.10 ratée??? [Solutionné]
Bon, on va faire un grand ménage…
Renomme sources.list en sources.bak :
cd /etc/apt/ sudo mv -v sources.list sources.bak
Ouvre un nouveau sources.list avec nano :
sudo nano /etc/apt/sources.list
Colle ce qui suit avec un clic droit / coller :
deb http://archive.ubuntu.com/ubuntu artful main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu artful-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu artful-backports main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu artful-security main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu artful main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu artful-updates main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu artful-backports main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu artful-security main restricted universe multiverse deb http://archive.canonical.com/ubuntu artful partner # deb-src http://archive.canonical.com/ubuntu artful partner
Enregistre avec ctrl-O suivi de Entrée et ferme avec ctrl-X.
Tous les ppa étant désactivés, on peut faire du vide :
cd /etc/apt/sources.list.d/ sudo rm -v *list*
Tu n'as plus qu'à faire les mises à jour :
sudo apt update sudo apt full-upgrade
− cqfd93 −
Hors ligne
#5 Le 28/01/2018, à 21:36
- bg1000
Re : Mise à jour 17.04 => 17.10 ratée??? [Solutionné]
Merci
Les PPA doivent'ils être réinstallé ?
Je suppose que la prochaine fois (si j'ai le même problème) j'installe un nouveau source.list que j'aurais copié d'une installation MV ?
La commande
find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;
Donne quoi comme info
Je suppose les .list dans /etc/apt trié par nom le reste ????
Merci de l'aide
BG
Hors ligne
#6 Le 28/01/2018, à 21:49
- cqfd93
Re : Mise à jour 17.04 => 17.10 ratée??? [Solutionné]
Merci
Ça a résolu ton problème ?
Les PPA doivent'ils être réinstallé ?
C'est toi qui vois, en fonction de tes besoins et sans en abuser (en tout cas, en n'installant pas tout et n'importe quoi comme ça se fait souvent sous Windows)
Je suppose que la prochaine fois (si j'ai le même problème) j'installe un nouveau source.list que j'aurais copié d'une installation MV ?
Tu risques peut-êtres d'autres problèmes de mises à jour mais si celui-ci est résolu, il ne se reproduira pas tant que tu resteras sur cette version (17.10). En cas de nouveau problème, n'hésite pas à demander de l'aide.
La commande
find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;
Donne quoi comme info
Je suppose les .list dans /etc/apt trié par nom le reste ????
Ça permet de présenter le contenu des fichiers de sources de logiciels de façon claire et facilement exploitable par les aidants.
Merci de l'aide
J'ai toujours plaisir à aider
− cqfd93 −
Hors ligne
#7 Le 28/01/2018, à 23:10
- GammaDraconis
Re : Mise à jour 17.04 => 17.10 ratée??? [Solutionné]
Le passage en 17.04 vers la 17.10 n'est pas une mise à jour ! c'est une erreur que font beaucoup de débutant d'utiliser ce terme. C'est une mise à niveau !
De plus tu as comme on te l'a indiqué un fichier sources.list tout pourri avec des traces de vieilles versions obsolètes.
Discussion sur mon script de post-install pour Ubuntu 20.04LTS : https://forum.ubuntu-fr.org/viewtopic.php?id=2026344
Lien direct script : https://github.com/simbd/Ubuntu_20.04LTS_PostInstall
Démo vidéo (peertube) : https://video.ploud.fr/videos/watch/fb7 … 0d252ed2db
Hors ligne