From: Florian Kulzer on 5 Sep 2009 12:00 On Sat, Sep 05, 2009 at 16:58:53 +0200, Bernard wrote: > Florian Kulzer wrote: > >On Fri, Sep 04, 2009 at 13:11:09 +0200, Bernard wrote: [...] > >>root(a)new-host:/home/bd# dpkg -i /var/cache/apt/archives/libc6_2.7-18_*.deb > >>dpkg : « ldconfig » introuvable dans la variable PATH. > >>dpkg: 1 programme(s) attendu(s) introuvable(s) dans la variable PATH. > >>NB : la variable PATH du superutilisateur doit normalement contenir > >>/usr/local/sbin, /usr/sbin et /sbin. > >>root(a)new-host:/home/bd# > >> > >>Maybe I should run 'ldconfig' ? I wouldn't dare to test this > >>without more knowledge ; I wouldn't know what options and arguments > >>to add. > > > >The problem is that ldconfig (and probably other important stuff) is > >missing on your system; dpkg wants to call ldconfig before it installs > >the libc6 package, therefore it is jammed. [...] > >If the above does not work then you may have to resort to manually > >extracting the files contained in libc6_2.7-18_i386.deb: > > > >http://www.debian.org/doc/manuals/reference/ch02.en.html#_extracting_package_without_dpkg > > So far I had no success with this process. If I go into > '/var/cache/apt/archives' where my libc6 .deb files are, and type : > > ar x libc6_2.9-26_i386.deb > > I get nothing What does "nothing" mean here, "no output" or "no files extracted"? (The former would be normal and the latter could be due to missing write privileges.) There is no reason to clutter /var/cache/apt/archives with the extracted files; the instructions to which I referred clearly show the command being run from some other directory (you do not even have to be root). -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Bernard on 5 Sep 2009 12:30 Florian Kulzer wrote: > On Fri, Sep 04, 2009 at 13:11:09 +0200, Bernard wrote: > >> Florian Kulzer wrote: >> >>> On Thu, Sep 03, 2009 at 19:06:41 +0200, Bernard wrote: >>> >>>> Florian Kulzer wrote: >>>> >>>>> On Thu, Sep 03, 2009 at 00:09:07 +0200, Bernard wrote: >>>>> >>>>>> Florian Kulzer wrote: >>>>>> >>>>>>> On Wed, Sep 02, 2009 at 20:26:06 +0200, Bernard wrote: >>>>>>> >>>>>>>> Before the end of install process, I got >>>>>>>> this message : >>>>>>>> >>>>>>>> " >>>>>>>> Configuring libc6 >>>>>>>> >>>>>>> [...] >>>>>>> >>>>>>> >>>>>>>> Do you want to upgrade glibc now ? >>>>>>>> " >>>>>>>> >>>>>>>> I replied 'no', and, so far, I have not attempted to continue this >>>>>>>> install process of 'audacity' and the upgrade of glibc. >>>>>>>> > > [...] > > >> Here is what I get : >> >> >> root(a)new-host:/home/bd# dpkg -i /var/cache/apt/archives/libc6_2.7-18_*.deb >> dpkg : � ldconfig � introuvable dans la variable PATH. >> dpkg: 1 programme(s) attendu(s) introuvable(s) dans la variable PATH. >> NB : la variable PATH du superutilisateur doit normalement contenir >> /usr/local/sbin, /usr/sbin et /sbin. >> root(a)new-host:/home/bd# >> >> Maybe I should run 'ldconfig' ? I wouldn't dare to test this >> without more knowledge ; I wouldn't know what options and arguments >> to add. >> > > The problem is that ldconfig (and probably other important stuff) is > missing on your system; dpkg wants to call ldconfig before it installs > the libc6 package, therefore it is jammed. The next thing you can try is > to split the installation into two steps: > > dpkg --unpack /var/cache/apt/archives/libc6_2.7-18_i386.deb > dpkg --configure libc6 > > That might work if "--unpack" does not require dpkg to run ldconfig; I > do not know the internals of dpkg well enough to judge the chances of > success. > > If the above does not work then you may have to resort to manually > extracting the files contained in libc6_2.7-18_i386.deb: > > http://www.debian.org/doc/manuals/reference/ch02.en.html#_extracting_package_without_dpkg > > Alternatively you could try to fool dpkg by copying /bin/true to /sbin > and then rename the copy to "ldconfig". Again I would not dare to > predict the chances of success of this rather dirty trick. > > I just tried something new... a really hazardous test... but since I was nearly ready to reinstall my Lenny, I thought I could take another chance. Since all error messages mentioned that 'ldconfig' was missing, I checked my DELL laptop on Ubuntu 8.04, which was released about the same date as Debian Lenny. On that Ubuntu system, I found two executable files that are absent from my Debian system : /usr/sbin/ldconfig and /sbin/ldconfig.real. Such files must have been on my system at one time, since the man file is still there ; the executable may have been erased by God only knows what evil process. So, I recuperated those two files from my Ubuntu system and copied them into the same directories with the same rights on my Debian machine. Then I typed : #ldconfig The shell came back without a word of protest. So, some process took place. This being done, I first tried to install 'gphoto2', which had repeatedly failed so far. This time, it did work. Gphoto2 is now installed and its functions appear to operate correctly. Still, the install process returned a few remarks, but it went to its end. Below are the comments ; they include mentions of 'ttf-mscorefonts-installer' which I have not found how to remove from the list of unfinished tasks to be retried ; I have abredged most lines concerning 'ttf-mscorefonts-installer' # apt-get install gphoto2 Lecture des listes de paquets... Fait Construction de l'arbre des d�pendances Lecture des informations d'�tat... Fait Les paquets suppl�mentaires suivants seront install�s : libcdk5 Paquets sugg�r�s : gtkam Les NOUVEAUX paquets suivants seront install�s : gphoto2 libcdk5 0 mis � jour, 2 nouvellement install�s, 0 � enlever et 31 non mis � jour. 1 partiellement install�s ou enlev�s. Il est n�cessaire de prendre 0o/319ko dans les archives. Apr�s cette op�ration, 1233ko d'espace disque suppl�mentaires seront utilis�s. Souhaitez-vous continuer [O/n] ? Can't exec "locale": Aucun fichier ou r�pertoire de ce type 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. S�lection du paquet libcdk5 pr�c�demment d�s�lectionn�. (Lecture de la base de donn�es... 110771 fichiers et r�pertoires d�j� install�s.) D�paquetage de libcdk5 (� partir de .../libcdk5_5.0.20060507-1_i386.deb) ... S�lection du paquet gphoto2 pr�c�demment d�s�lectionn�. D�paquetage de gphoto2 (� partir de .../gphoto2_2.4.0-1_i386.deb) ... Traitement des actions diff�r�es (� triggers �) pour � man-db �... Param�trage de ttf-mscorefonts-installer (2.7) ... Can't exec "locale": Aucun fichier ou r�pertoire de ce type 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. These fonts were provided by Microsoft "in the interest of cross- platform compatibility". This is no longer the case, but they are still available from third parties. You are free to download these fonts and use them for your own use, but you may not redistribute them in modified form, including changes to the file name or packaging format. --2009-09-05 17:14:49-- http://surfnet.dl.sourceforge.net/sourceforge/corefonts/andale32.exe R�solution de surfnet.dl.sourceforge.net... �chec: Connexion termin�e par expiration du d�lai d'attente. wget: unable to resolve host address `surfnet.dl.sourceforge.net' ............ (stuff deleted) ................. andale32.exe: No such file or directory All done, errors in processing 1 file(s) dpkg : erreur de traitement de ttf-mscorefonts-installer (--configure) : le sous-processus post-installation script a retourn� une erreur de sortie d'�tat 1 Param�trage de libcdk5 (5.0.20060507-1) ... Param�trage de gphoto2 (2.4.0-1) ... Des erreurs ont �t� rencontr�es pendant l'ex�cution : ttf-mscorefonts-installer E: Sub-process /usr/bin/dpkg returned an error code (1) It is to be noticed that install errors are reported only for 'ttf-mscorefonts-installer', not for 'gphoto2' After this first test, I tried to reinstall libc6, which had so far led to failures. # aptitude reinstall libc6 Lecture des listes de paquets... Fait Construction de l'arbre des d�pendances Lecture des informations d'�tat... Fait Lecture de l'information d'�tat �tendu Initialisation de l'�tat des paquets... Fait �criture de l'information d'�tat �tendu... Fait Lecture des descriptions de t�ches... Fait Les paquets suivants seront R�INSTALL�S : libc6 Les paquets partiellement install�s suivants seront configur�s : ttf-mscorefonts-installer 0 paquets mis � jour, 0 nouvellement install�s, 1 r�install�s, 0 � enlever et 31 non mis � jour. Il est n�cessaire de t�l�charger 0o/4438ko d'archives. Apr�s d�paquetage, 0o seront utilis�s. �criture de l'information d'�tat �tendu... Fait Can't exec "locale": Aucun fichier ou r�pertoire de ce type 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. Pr�configuration des paquets... (Lecture de la base de donn�es... 110812 fichiers et r�pertoires d�j� install�s.) Pr�paration du remplacement de libc6 2.7-18 (en utilisant ..../archives/libc6_2.7-18_i386.deb) ... 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. D�paquetage de la mise � jour de libc6 ... Traitement des actions diff�r�es (� triggers �) pour � man-db �... Param�trage de libc6 (2.7-18) ... Installation de la nouvelle version du fichier de configuration /etc/gai.conf ... Installation de la nouvelle version du fichier de configuration /etc/bindresvport.blacklist ... invoke-rc.d: unknown initscript, /etc/init.d/glibc.sh not found. dpkg : erreur de traitement de libc6 (--configure) : le sous-processus post-installation script a retourn� une erreur de sortie d'�tat 100 Param�trage de ttf-mscorefonts-installer (2.7) ... These fonts were provided by Microsoft " ............. stuff deleted ..................................... All done, errors in processing 1 file(s) dpkg : erreur de traitement de ttf-mscorefonts-installer (--configure) : le sous-processus post-installation script a retourn� une erreur de sortie d'�tat 1 Param�trage de libc6 (2.7-18) ... invoke-rc.d: unknown initscript, /etc/init.d/glibc.sh not found. dpkg : erreur de traitement de libc6 (--configure) : le sous-processus post-installation script a retourn� une erreur de sortie d'�tat 100 Des erreurs ont �t� rencontr�es pendant l'ex�cution : ttf-mscorefonts-installer libc6 Lecture des listes de paquets... Fait Construction de l'arbre des d�pendances Lecture des informations d'�tat... Fait Lecture de l'information d'�tat �tendu Initialisation de l'�tat des paquets... Fait Lecture des descriptions de t�ches... Fait So, even though this reinstall went a lot farther than usual, I don't know to what point I really got. What should I do next ? -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Osamu Aoki on 5 Sep 2009 14:40 On Sat, Sep 05, 2009 at 06:28:15PM +0200, Bernard wrote: .... > I just tried something new... a really hazardous test... but since I was > nearly ready to reinstall my Lenny, I thought I could take another > chance. > > Since all error messages mentioned that 'ldconfig' was missing, I > checked my DELL laptop on Ubuntu 8.04, which was released about the same > date as Debian Lenny. On that Ubuntu system, I found two executable > files that are absent from my Debian system : /usr/sbin/ldconfig and > /sbin/ldconfig.real. Such files must have been on my system at one time, > since the man file is still there ; the executable may have been erased > by God only knows what evil process. So, I recuperated those two files > from my Ubuntu system and copied them into the same directories with the > same rights on my Debian machine. Then I typed : How do you know those files from Ubuntu system works on Debian. I do not think you even checked version. There is no binary compatibility gurantee even though it works sometims. FYI: I only have /sbin/ldconfig and no /sbin/ldconfig.real on my lenny. Your action may have work as emergency tactics but this kind of action requires full reinstall after backing up your data on the system. It looks to me you have broken system sometime ago by yourself. Reinstall is the easiest way to get same state for such case. Osamu -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
First
|
Prev
|
Pages: 1 2 3 Prev: VirtualBox won't start Next: ldap/libnss/ssh: (remote) login stops working after some time |