Mise à jour du système Debian Wheezy

Bonjour,

J’utilise debian Wheezy 3.0.4. Je suis sur processeur arm.
Je voudrais mettre à jour mon système.

[code]# apt-get update

apt-get upgrade[/code]

Mais quand j’effectue la mise à jour, j’ai une erreur/fail

[code]root@debian:/home/serveur# apt-get update
Get:1 http://security.debian.org wheezy/updates InRelease [103 kB]
Err http://security.debian.org wheezy/updates InRelease

Ign http://ftp.us.debian.org wheezy InRelease
Get:2 http://ftp.us.debian.org wheezy Release.gpg [1672 B]
Hit http://ftp.us.debian.org wheezy Release
Ign http://ftp.us.debian.org wheezy Release
Ign http://ftp.us.debian.org wheezy/main armel Packages/DiffIndex
Ign http://ftp.us.debian.org wheezy/contrib armel Packages/DiffIndex
Ign http://ftp.us.debian.org wheezy/non-free armel Packages/DiffIndex
Ign http://ftp.us.debian.org wheezy/contrib TranslationIndex
Hit http://ftp.us.debian.org wheezy/main TranslationIndex
Ign http://ftp.us.debian.org wheezy/non-free TranslationIndex
Hit http://ftp.us.debian.org wheezy/main armel Packages
Hit http://ftp.us.debian.org wheezy/contrib armel Packages
Hit http://ftp.us.debian.org wheezy/non-free armel Packages
Hit http://ftp.us.debian.org wheezy/contrib Translation-en
Hit http://ftp.us.debian.org wheezy/main Translation-en
Hit http://ftp.us.debian.org wheezy/non-free Translation-en
Fetched 1673 B in 1s (1254 B/s)
Reading package lists… Done
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.debian.org wheezy/updates InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553

W: GPG error: http://ftp.us.debian.org wheezy Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 6FB2A1C265FFB764
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/InRelease

W: Some index files failed to download. They have been ignored, or old ones used instead.
root@debian:/home/serveur# [/code]

Mon fichier “/etc/apt/sources.list”

root@debian:/home/serveur# cat -n /etc/apt/sources.list 1 deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free 2 deb http://security.debian.org/ wheezy/updates main contrib non-free root@debian:/home/serveur#

Comment puis je faire les mises à jour du système Debian Wheezy ?

Merci.

Salut,

Tu es sûr de cela ?

[mono]Wheezy-7.0.[/mono] etc … à ce jour en version 7.5.

[mono]$ uname -a && lsb_release -a[/mono] ?

Bonsoir,

[quote]
Tu es sûr de cela ?[/quote] Oui la preve :

root@debian:/home/serveur# uname -r 3.0.4 root@debian:/home/serveur#

serveur@debian:~$ uname -a && lsb_release -a Linux debian 3.0.4 #1 PREEMPT Tue Aug 30 19:56:02 MDT 2011 armv5tel GNU/Linux -bash: lsb_release: command not found serveur@debian:~$ serveur@debian:~$ su Password: root@debian:/home/serveur# apt-get install lsb_release Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package lsb_release root@debian:/home/serveur#

Je suis bloqué du coup ?

Merci.

[mono]aptitude install lsb-release[/mono]

Ce n’est pas très clair …

[quote]Index des versions

La prochaine version de Debian a pour nom de code "Jessie" — aucune date de sortie n'a été fixée ;
Debian 7 ("Wheezy") — l'actuelle version stable ;
Debian 6.0 ("Squeeze") — version stable obsolète ;
Debian GNU/Linux 5.0 ("Lenny") — version stable obsolète ;
Debian GNU/Linux 4.0 ("Etch") — version stable obsolète ;
Debian GNU/Linux 3.1 ("Sarge") — version stable obsolète ;
[b]Debian GNU/Linux 3.0 ("Woody")[/b] — version stable obsolète ;
Debian GNU/Linux 2.2 ("Potato") — version stable obsolète ;
Debian GNU/Linux 2.1 ("Slink") — version stable obsolète ;
Debian GNU/Linux 2.0 ("Hamm") — version stable obsolète.

[/quote]

Re,

L’installation m’a paru bizarroïde.

[code]root@debian:/home/serveur# aptitude install lsb-release
The following NEW packages will be installed:
file{a} libexpat1{a} libmagic1{a} lsb-release mime-support{a} python{a} python-minimal{a}
python2.7{a} python2.7-minimal{a}
0 packages upgraded, 9 newly installed, 0 to remove and 166 not upgraded.
Need to get 5041 kB of archives. After unpacking 18.3 MB will be used.
Do you want to continue? [Y/n/?] y
WARNING: untrusted versions of the following packages will be installed!

Untrusted packages could compromise your system’s security.
You should only proceed with the installation if you are certain that
this is what you want to do.

mime-support python2.7 python-minimal libexpat1 python2.7-minimal python file lsb-release
libmagic1

Do you want to ignore this warning and proceed anyway?
To continue, enter “Yes”; to abort, enter “No”: yes
Get:1 http://ftp.us.debian.org/debian/ wheezy/main libmagic1 armel 5.11-2+deb7u3 [200 kB]
Get:2 http://ftp.us.debian.org/debian/ wheezy/main libexpat1 armel 2.1.0-1+deb7u1 [116 kB]
Get:3 http://ftp.us.debian.org/debian/ wheezy/main file armel 5.11-2+deb7u3 [51.7 kB]
Get:4 http://ftp.us.debian.org/debian/ wheezy/main mime-support all 3.52-1 [35.5 kB]
Get:5 http://ftp.us.debian.org/debian/ wheezy/main python2.7-minimal armel 2.7.3-6+deb7u2 [1691 kB]
Get:6 http://ftp.us.debian.org/debian/ wheezy/main python2.7 armel 2.7.3-6+deb7u2 [2696 kB]
Get:7 http://ftp.us.debian.org/debian/ wheezy/main python-minimal all 2.7.3-4+deb7u1 [42.8 kB]
Get:8 http://ftp.us.debian.org/debian/ wheezy/main python all 2.7.3-4+deb7u1 [181 kB]
Get:9 http://ftp.us.debian.org/debian/ wheezy/main lsb-release all 4.1+Debian8+deb7u1 [27.2 kB]
Fetched 5041 kB in 7s (716 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "fr_FR.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package libmagic1:armel.
(Reading database … 15743 files and directories currently installed.)
Unpacking libmagic1:armel (from …/libmagic1_5.11-2+deb7u3_armel.deb) …
Selecting previously unselected package libexpat1:armel.
Unpacking libexpat1:armel (from …/libexpat1_2.1.0-1+deb7u1_armel.deb) …
Selecting previously unselected package file.
Unpacking file (from …/file_5.11-2+deb7u3_armel.deb) …
Selecting previously unselected package mime-support.
Unpacking mime-support (from …/mime-support_3.52-1_all.deb) …
Selecting previously unselected package python2.7-minimal.
Unpacking python2.7-minimal (from …/python2.7-minimal_2.7.3-6+deb7u2_armel.deb) …
Selecting previously unselected package python2.7.
Unpacking python2.7 (from …/python2.7_2.7.3-6+deb7u2_armel.deb) …
Selecting previously unselected package python-minimal.
Unpacking python-minimal (from …/python-minimal_2.7.3-4+deb7u1_all.deb) …
Selecting previously unselected package python.
Unpacking python (from …/python_2.7.3-4+deb7u1_all.deb) …
Selecting previously unselected package lsb-release.
Unpacking lsb-release (from …/lsb-release_4.1+Debian8+deb7u1_all.deb) …
Processing triggers for man-db …
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up libmagic1:armel (5.11-2+deb7u3) …
Setting up libexpat1:armel (2.1.0-1+deb7u1) …
Setting up file (5.11-2+deb7u3) …
Setting up mime-support (3.52-1) …
update-alternatives: warning: forcing reinstallation of alternative /usr/bin/vim.tiny because link group view is broken.
update-alternatives: warning: skip creation of /usr/share/man/man1/view.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group view) doesn’t exist.
update-alternatives: warning: skip creation of /usr/share/man/fr/man1/view.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group view) doesn’t exist.
update-alternatives: warning: skip creation of /usr/share/man/it/man1/view.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group view) doesn’t exist.
update-alternatives: warning: skip creation of /usr/share/man/pl/man1/view.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group view) doesn’t exist.
update-alternatives: warning: skip creation of /usr/share/man/ru/man1/view.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group view) doesn’t exist.
Setting up python2.7-minimal (2.7.3-6+deb7u2) …
Linking and byte-compiling packages for runtime python2.7…
Setting up python2.7 (2.7.3-6+deb7u2) …
Setting up python-minimal (2.7.3-4+deb7u1) …
Setting up python (2.7.3-4+deb7u1) …
Setting up lsb-release (4.1+Debian8+deb7u1) …

root@debian:/home/serveur# [/code]

Voilà le résultat :

serveur@debian:~$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 7.5 (wheezy) Release: 7.5 Codename: wheezy serveur@debian:~$

Ps : C’est une version arm newit
downloadsnewit.co.uk/SD-images/D … an-Wheezy/

Merci.

Je te conseille vivement de stopper toute install/upgrade dès maintenant et de clarifier ta situation.

Comment expliques-tu cela ?

La version 3.0.x équivaut à Woody.

[quote=“xunil2003”]root@debian:/home/serveur# uname -r
3.0.4
root@debian:/home/serveur# [/quote]

[quote=“xunil2003”]serveur@debian:~$ uname -a && lsb_release -a
Linux debian 3.0.4 #1 PREEMPT Tue Aug 30 19:56:02 MDT 2011 armv5tel GNU/Linux[/quote]

?

?

Re,

[quote]Je te conseille vivement de stopper toute install/upgrade dès maintenant et de clarifier ta situation.

Comment expliques-tu cela ?

La version 3.0.x équivaut à Woody.[/quote]
A vrai dire, je n’en sais rien ?

serveur@debian:~$ apt-cache policy libc6 libc6: Installed: 2.13-27 Candidate: 2.13-38+deb7u1 Version table: 2.13-38+deb7u1 0 500 http://ftp.us.debian.org/debian/ wheezy/main armel Packages *** 2.13-27 0 100 /var/lib/dpkg/status serveur@debian:~$

Merci.

Quel était ton sources.list avant modification (wheezy) ?

À quand remonte le dernier upgrade réussi ?

Qu’as-tu fait récemment ?

Le paquet [mono]debian-archive-keyring[/mono] est-il installé ?

[mono]$ apt-cache policy debian-archive-keyring[/mono]

Re,

root@debian:/home/serveur# cat -n /etc/apt/sources.list 1 deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free 2 deb http://security.debian.org/ wheezy/updates main contrib non-free root@debian:/home/serveur#

Aucun n’a réussi, depuis hier j’ai m’y en place wheezy sur mon serveur.

Rien , je n’ai pas eu le temps, car en fait, j’ai essayé d’installer alsamixer pour gérer le niveau sonore via ssh, suite à cela j’ai effectué une mise à jour du système qui m’affiché des erreurs/fail.

serveur@debian:~$ dpkg -l | grep debian-archive-keyring ii debian-archive-keyring 2010.08.28 GnuPG archive keys of the Debian archive serveur@debian:~$

Sous squeeze je n’ai pas eu au temp de problème.
Je n’ai pas mis à jour ma squeeze vers Wheezy.
j’ai utiliser une image disque de newit pour processeur arm de la dreamplug multiboot.

Merci.

Bien ben ma foi …

Remplaces tes dépôts par ceux ci.

[code]## wheezy
deb http://ftp.fr.debian.org/debian/ stable main contrib non-free

wheezy security

deb http://security.debian.org/ stable/updates main contrib non-free

wheezy update

deb http://ftp.fr.debian.org/debian/ wheezy-updates main contrib non-free

[/code]

Relances une mise à jour avec aptitude, pour voir.

Quel est le retour ?

C’est seulement le noyau linux qui est en version 3.0.4, choix sans doute lié au matériel. Tout le reste semble relativement récent.

Re,

Avec aptitude

[code]root@debian:/home/serveur# aptitude update
Get:1 http://security.debian.org wheezy/updates InRelease [103 kB]
Err http://security.debian.org wheezy/updates InRelease

Ign http://ftp.us.debian.org wheezy InRelease
Get:2 http://ftp.us.debian.org wheezy Release.gpg [1672 B]
Hit http://ftp.us.debian.org wheezy Release
Ign http://ftp.us.debian.org wheezy Release
Ign http://ftp.us.debian.org wheezy/main armel Packages/DiffIndex
Ign http://ftp.us.debian.org wheezy/contrib armel Packages/DiffIndex
Ign http://ftp.us.debian.org wheezy/non-free armel Packages/DiffIndex
Ign http://ftp.us.debian.org wheezy/contrib TranslationIndex
Hit http://ftp.us.debian.org wheezy/main TranslationIndex
Ign http://ftp.us.debian.org wheezy/non-free TranslationIndex
Hit http://ftp.us.debian.org wheezy/main armel Packages
Hit http://ftp.us.debian.org wheezy/contrib armel Packages
Hit http://ftp.us.debian.org wheezy/non-free armel Packages
Hit http://ftp.us.debian.org wheezy/contrib Translation-en
Hit http://ftp.us.debian.org wheezy/main Translation-en
Hit http://ftp.us.debian.org wheezy/non-free Translation-en
Fetched 1673 B in 1s (1282 B/s)
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.debian.org wheezy/updates InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553

W: GPG error: http://ftp.us.debian.org wheezy Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 6FB2A1C265FFB764

root@debian:/home/serveur# [/code]

Merci.

Hum, … tu as raison.

Je suis à côté de mes pompes, là. :12

Problème de clés ?
La solution se trouve sur le Wiki :
isalo.org/wiki.debian-fr/Er … _NO_PUBKEY

Bien sur tu ne connais pas l’origine de cette dernière, par hasard …

[mono]no_pubkey 8b48ad6246925553[/mono] ?

Ce retour, stp.

[mono]# apt-key list[/mono] ?

Re,

Non, je ne connais pas l’origine.

Voilà le retour

[code]root@debian:/home/serveur# apt-key list
/etc/apt/trusted.gpg

pub 1024D/F42584E6 2008-04-06 [expired: 2012-05-15]
uid Lenny Stable Release Key debian-release@lists.debian.org

pub 4096R/55BE302B 2009-01-27 [expired: 2012-12-31]
uid Debian Archive Automatic Signing Key (5.0/lenny) ftpmaster@debian.org

pub 2048R/6D849617 2009-01-24 [expired: 2013-01-23]
uid Debian-Volatile Archive Automatic Signing Key (5.0/lenny)

pub 4096R/B98321F9 2010-08-07 [expires: 2017-08-05]
uid Squeeze Stable Release Key debian-release@lists.debian.org

pub 4096R/473041FA 2010-08-27 [expires: 2018-03-05]
uid Debian Archive Automatic Signing Key (6.0/squeeze) ftpmaster@debian.org

root@debian:/home/serveur# [/code]

Merci.

J’ai trouvé, elle correspond à wheezy et c’est étrange …

[mono]pub 4096R/46925553 2012-04-27 [expire : 2020-04-25]
uid Debian Archive Automatic Signing Key (7.0/wheezy) ftpmaster@debian.org[/mono]

# gpg --keyserver pgpkeys.mit.edu --recv-key 46925553

# gpg -a --export 46925553 | apt-key add -

?

Re,

Il y a une erreur a “aptitude update”.

root@debian:/home/serveur# gpg --keyserver pgpkeys.mit.edu --recv-key 46925553 gpg: directory `/root/.gnupg' created gpg: new configuration file `/root/.gnupg/gpg.conf' created gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run gpg: keyring `/root/.gnupg/secring.gpg' created gpg: keyring `/root/.gnupg/pubring.gpg' created gpg: requesting key 46925553 from hkp server pgpkeys.mit.edu gpg: /root/.gnupg/trustdb.gpg: trustdb created gpg: key 46925553: public key "Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>" imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) root@debian:/home/serveur#

root@debian:/home/serveur# gpg -a --export 46925553 | apt-key add - OK root@debian:/home/serveur#

[code]root@debian:/home/serveur# aptitude update
Get:1 http://security.debian.org wheezy/updates InRelease [103 kB]
Ign http://ftp.us.debian.org wheezy InRelease
Get:2 http://security.debian.org wheezy/updates/main armel Packages [183 kB]
Get:3 http://ftp.us.debian.org wheezy Release.gpg [1672 B]
Hit http://ftp.us.debian.org wheezy Release
Hit http://ftp.us.debian.org wheezy/main armel Packages
Hit http://ftp.us.debian.org wheezy/contrib armel Packages
Hit http://ftp.us.debian.org wheezy/non-free armel Packages
Ign http://ftp.us.debian.org wheezy/contrib TranslationIndex
Hit http://ftp.us.debian.org wheezy/main TranslationIndex
Ign http://ftp.us.debian.org wheezy/non-free TranslationIndex
Hit http://ftp.us.debian.org wheezy/contrib Translation-en
Hit http://ftp.us.debian.org wheezy/main Translation-en
Get:4 http://security.debian.org wheezy/updates/contrib armel Packages [14 B]
Get:5 http://security.debian.org wheezy/updates/non-free armel Packages [14 B]
Ign http://security.debian.org wheezy/updates/contrib TranslationIndex
Ign http://security.debian.org wheezy/updates/main TranslationIndex
Ign http://security.debian.org wheezy/updates/non-free TranslationIndex
Hit http://ftp.us.debian.org wheezy/non-free Translation-en
Get:6 http://security.debian.org wheezy/updates/contrib Translation-en [14 B]
Get:7 http://security.debian.org wheezy/updates/main Translation-en [104 kB]
Get:8 http://security.debian.org wheezy/updates/non-free Translation-en [14 B]
Fetched 392 kB in 2s (182 kB/s)
W: There is no public key available for the following key IDs:
6FB2A1C265FFB764

Current status: 6998 new [+7].
W: There is no public key available for the following key IDs:
6FB2A1C265FFB764
root@debian:/home/serveur# [/code]

Merci.

[quote=“xunil2003”]W: There is no public key available for the following key IDs:
6FB2A1C265FFB764[/quote]

Idem pour cette clé.

[quote]pub 4096R/65FFB764 2012-05-08 [expire : 2019-05-07]
uid Wheezy Stable Release Key debian-release@lists.debian.org
[/quote]

[code]# gpg --keyserver pgpkeys.mit.edu --recv-key 65FFB764

gpg -a --export 65FFB764 | apt-key add -[/code]

Profites en pour faire le ménage.

[quote=“xunil2003”]
pub 1024D/F42584E6 2008-04-06 [expired: 2012-05-15]
uid Lenny Stable Release Key debian-release@lists.debian.org

pub 4096R/55BE302B 2009-01-27 [expired: 2012-12-31]
uid Debian Archive Automatic Signing Key (5.0/lenny) ftpmaster@debian.org

pub 2048R/6D849617 2009-01-24 [expired: 2013-01-23]
uid Debian-Volatile Archive Automatic Signing Key (5.0/lenny)[/quote]

[mono]# apt-key del F42584E6 && apt-key del 55BE302B && apt-key del 6D849617[/mono]

[mono]# aptitude update[/mono] ?

[mono]# apt-key list[/mono] ?

[mono]# hwclock && date[/mono] ?

Salut,

Voici l’origine de ton souci (le seul présent (?) et à venir … ?), je pense …

[quote=“xunil2003”]

[mono]serveur@debian:~$ dpkg -l | grep debian-archive-keyring
ii debian-archive-keyring 2010.08.28 GnuPG archive keys of the Debian archive
serveur@debian:~$[/mono]

Sous squeeze je n’ai pas eu au temp de problème.

Je n’ai pas mis à jour ma squeeze vers Wheezy.

j’ai utiliser une image disque de newit pour processeur arm de la dreamplug multiboot.[/quote]

[quote][07:27:24] ~ # acp debian-archive-keyring
debian-archive-keyring:
Installé : 2012.4
Candidat : 2012.4
Table de version :
*** 2012.4 0
990 ftp.fr.debian.org/debian/ stable/main i386 Packages
97 ftp.fr.debian.org/debian/ testing/main i386 Packages
95 ftp.fr.debian.org/debian/ unstable/main i386 Packages
100 /var/lib/dpkg/status
2010.08.28+squeeze1 0
500 ftp.fr.debian.org/debian/ squeeze/main i386 Packages
[07:27:26] ~ #[/quote]

Mets à jour le paquet [mono]debian-archive-keyring[/mono], la nouvelle version contient de nouvelles signatures.

[code]$ apt-cache policy debian-archive-keyring

aptitude update

[/code]

[mono]# aptitude -s upgrade[/mono]

Hier et bien moins que demain … :005