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

Bug#556429: libc6: attempted install leaves system in bad state - ldconfig



Package: libc6
Version 2.10.1-5

When I try to upgrade libc6 with dpkg (yeah, I still do that occasionally) 
from 2.7-18 to 2.10.1-5, it unpacks before noticing that libc-bin is not 
there.  This leaves the system without a copy of ldconfig.

Should the dependency on libc-bin be a Pre-Depends?

transcript:

# dpkg --install libc6_2.10.1-5_i386.deb              
(Reading database ... 76867 files and directories currently installed.)
Preparing to replace libc6 2.7-18 (using .../libc6_2.10.1-5_i386.deb) ...
Removing obsolete conffile /etc/init.d/glibc.sh ...
Checking for services that may need to be restarted...
Checking init scripts...
Unpacking replacement libc6 ...
dpkg: dependency problems prevent configuration of libc6:
 libc6 depends on libc-bin (= 2.10.1-5); however:
  Package libc-bin is not installed.
dpkg: error processing libc6 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc6
# dpkg --install libc-bin_2.10.1-5_i386.deb             
dpkg: `ldconfig' not
found on PATH.
dpkg: 1 expected program(s) not found on PATH.





Reply to: