[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem installing new packages



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.
> >>>[...]
> >>>
> >>>>Ever since then, I am encountering problems and error messages when
> >>>>trying to install something. For instance, if I do :
> >>>>
> >>>>#apt-get install gphoto2
> >>>>
> >>>>the install process starts... then :
> >>>>
> >>>>"
> >>>>Can't exec "locale": no file or directory of this 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.
> >>>>dpkg : « ldconfig » not found in the variable PATH.
> >>>>dpkg: 1 expected program not found in the variable PATH.
> >>>>NB : the variable PATH of the superuser should contain
> >>>>/usr/local/sbin, /usr/sbin et /sbin.
> >>>>E: Sub-process /usr/bin/dpkg returned an error code (2)

[...]

> >>new-host:/home/bd# dpkg -l libc6\* libc-\* | awk '/^[^D|+]/{print $1,$2,$3}'
> >>Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
> >>rc libc-bin 2.9-25
> >>un libc-dev <néant>
> >>ii libc6 2.7-18
> >>ii libc6-dev 2.7-18
> >>ii libc6-i686 2.7-18
> >>un libc6.1 <néant>

[...]

> Here is what I get :
> 
> file /sbin/ldconfig
> /sbin/ldconfig: ERROR: cannot open `/sbin/ldconfig' (No such file or directory)
> 
> dpkg -L libc6 | grep ldconfig
> (it just returns the shell, nothing else)

It seems that dpkg is confused: It claims that libc6 version 2.7-18 is
installed without problems, but it does not know about /sbin/ldconfig
and the file itself is not present on your system.

> root@new-host:/home/bd# echo $PATH
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

That is OK at least.

I propose to try reinstalling libc6 2.7-18 with dpkg. The necessary .deb
file should still be in your apt cache, so this might work:

dpkg -i /var/cache/apt/archives/libc6_2.7-18_*.deb

If the .deb is missing then you can download it manually with your
favorite browser:

http://packages.debian.org/lenny/libc6

(Scroll down to the section "Download libc6" and click on the link for
 your architecture in the table.)

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


Reply to: