[Linux-bruxelles] erreur d'apt-get avec libc6
De:
Alex Verhouten <the.adn at edpnet.be>
Date:
2007-12-15 01:30:52
Frederic Peters a écrit : > Alex Verhouten écrivait : > > >> A non-dpkg owned copy of the C library was found in >> /lib/tls. >> It is not safe to upgrade the C library in this situation; >> please remove that copy of the C library and try again. >> dpkg: error processing >> /var/cache/apt/archives/libc6_2.7-3_i386.deb (--unpack): >> subprocess pre-installation script returned error exit >> status 1 >> Errors were encountered while processing: >> /var/cache/apt/archives/libc6_2.7-3_i386.deb >> > > Ce message il apparait parce que tu as bien, et évidemment je ne sais > pas comment cela a pu t'arriver, des bouts d'une libc6 étrangères à > Debian dans /lib/tls/. [1] > > 1. Assure-toi de pouvoir démarrer ton système avec un Live-CD > 2. Déplace les fichiers /lib/tls/ld*.so de ton système vers un > répertoire de backup > 3. Démarre sur ton système > 4. dpkg -i /var/cache/apt/archives/libc6_2.7-3_i386.deb > > > voila j'ai tenté de faire comme tu as dit et il m'a répondu ceci : WARNING: POSIX threads library NPTL requires kernel version 2.6.8 or later. If you use a kernel 2.4, please upgrade it before installing glibc. The installation of a 2.6 kernel _could_ ask you to install a new libc first, this is NOT a bug, and should *NOT* be reported. In that case, please add etch sources to your /etc/apt/sources.list and run: apt-get install -t etch linux-image-2.6 Then reboot into this new kernel, and proceed with your upgrade Bon soit j'ajoute une ligne deb ftp://ftp.easynet.be/debian etch main contrib non-free à mon sources.list apt-get update apt-get install linux-image-2.6.22-3-k7 ... et la c'est la merde pcq il me dit de d'abord "fixer" apt ... en faisant apt-get -f install ... ce qui est la raison meme pour laquelle je désire installer un nouveau kernel ... donc je tourne en rond :-S fearfactor:/etc/apt# apt-get install linux-image-2.6.22-3-k7 Reading Package Lists... Done Building Dependency Tree... Done You might want to run `apt-get -f install' to correct these: The following packages have unmet dependencies: linux-image-2.6.22-3-k7: Depends: module-init-tools (>= 0.9.13) but it is not going to be installed Depends: initramfs-tools (>= 0.55) but it is not going to be installed or yaird (>= 0.0.12-8) but it is not going to be installed or linux-initramfs-tool locales: Depends: glibc-2.7-1 E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). une idée ?