Distrib cassé ?

Bonjour a tous,
il y a peu de temps je cherchais a passer ma debian sous wheezy stable.
Mais il m’est sauté aux yeux que je n’avais pas utilisé la bonne démarche, car la version était unstable … suite a ça beaucoup de bug.

Du coup j’ai modifié le source liste d’après le site “debgen.simplylinux.ch

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

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

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
[/code]

puis :

apt-get update Hit http://ftp.fr.debian.org stable Release.gpg Hit http://security.debian.org wheezy/updates Release.gpg Hit http://ftp.fr.debian.org stable Release Hit http://security.debian.org wheezy/updates Release Hit http://ftp.debian.org wheezy-updates Release.gpg Hit http://ftp.debian.org wheezy-updates Release Hit http://backports.debian.org squeeze-backports Release.gpg Hit http://ftp.fr.debian.org stable/main Sources Hit http://ftp.fr.debian.org stable/contrib Sources Hit http://security.debian.org wheezy/updates/main Sources Hit http://backports.debian.org squeeze-backports Release Hit http://ftp.fr.debian.org stable/non-free Sources Hit http://security.debian.org wheezy/updates/contrib Sources Hit http://ftp.debian.org wheezy-updates/main Sources Hit http://ftp.fr.debian.org stable/main amd64 Packages Hit http://security.debian.org wheezy/updates/non-free Sources Hit http://ftp.debian.org wheezy-updates/contrib Sources Hit http://ftp.fr.debian.org stable/contrib amd64 Packages Hit http://security.debian.org wheezy/updates/main amd64 Packages Hit http://ftp.fr.debian.org stable/non-free amd64 Packages Hit http://ftp.debian.org wheezy-updates/non-free Sources Hit http://backports.debian.org squeeze-backports/main amd64 Packages Hit http://security.debian.org wheezy/updates/contrib amd64 Packages Hit http://ftp.fr.debian.org stable/main i386 Packages Hit http://ftp.debian.org wheezy-updates/main amd64 Packages/DiffIndex Hit http://security.debian.org wheezy/updates/non-free amd64 Packages Hit http://ftp.fr.debian.org stable/contrib i386 Packages Hit http://backports.debian.org squeeze-backports/main i386 Packages Hit http://ftp.debian.org wheezy-updates/contrib amd64 Packages Hit http://security.debian.org wheezy/updates/main i386 Packages Hit http://ftp.fr.debian.org stable/non-free i386 Packages Hit http://ftp.debian.org wheezy-updates/non-free amd64 Packages Hit http://ftp.fr.debian.org stable/contrib Translation-en Hit http://security.debian.org wheezy/updates/contrib i386 Packages Hit http://backports.debian.org squeeze-backports/main Translation-en Hit http://ftp.fr.debian.org stable/main Translation-en Hit http://ftp.debian.org wheezy-updates/main i386 Packages/DiffIndex Hit http://security.debian.org wheezy/updates/non-free i386 Packages Hit http://ftp.fr.debian.org stable/non-free Translation-en Hit http://ftp.debian.org wheezy-updates/contrib i386 Packages Hit http://security.debian.org wheezy/updates/contrib Translation-en Hit http://security.debian.org wheezy/updates/main Translation-en Hit http://ftp.debian.org wheezy-updates/non-free i386 Packages Hit http://security.debian.org wheezy/updates/non-free Translation-en Hit http://ftp.debian.org wheezy-updates/contrib Translation-en Hit http://ftp.debian.org wheezy-updates/main Translation-en/DiffIndex Hit http://ftp.debian.org wheezy-updates/non-free Translation-en Reading package lists... Done

Et enfin :

apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: libdrm-intel1 libdrm-nouveau1a libdrm-radeon1 libdrm2 libgconf-2-4 libgl1-mesa-glx libkadm5srv-mit8 libkdb5-6 libmagickcore5 libmagickwand5 libqt4-network libqtdbus4 libxaw7 The following packages will be upgraded: libjpeg62 1 upgraded, 0 newly installed, 13 to remove and 0 not upgraded. 13 not fully installed or removed. Need to get 0 B/95.8 kB of archives. After this operation, 14.4 MB disk space will be freed. Do you want to continue [Y/n]? Reading changelogs... Done Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16. Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17. dpkg: warning: 'ldconfig' not found in PATH or not executable dpkg: error: 1 expected program not found in PATH or not executable Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin E: Sub-process /usr/bin/dpkg returned an error code (2)

Je ne sais pas du tout quoi faire. Un peu d’aide ? :083

Un site de plus à déconseiller, merci de l’avoir signalé !
Le mélange de désignations “stable”/“wheezy” est la recette parfaite pour casser ta Debian dès la publication de Jessie en stable.

Au passage, tu as sûrement des fichiers sous /etc/apt/sources.list.d/ qui parasitent ton fichier sources.list : “apt-get update” fait référence à des dépôts qui ne sont pas cités dans le sources.list que tu as posté.

Si tu veux comprendre un peu mieux comment fonctionne le fichier sources.list, un peu de lecture t’attend ici :
isalo.org/wiki.debian-fr/So … _les_bases

Pour ton erreur, ça me paraît assez violent : dpkg ne trouve pas certains exécutables qui devraient être installés sur toute Debian.
Le paquet “libc-bin” est-il bien installé sur ta machine ?