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

Re: libc6 dependencies



On Mon, 01 Oct 2007 21:56:12 +0200, Florian Kulzer wrote:

> On Mon, Oct 01, 2007 at 11:00:10 -0700, Curtis Vaughan wrote:
>> I was updating an etch server when I ran into the following error:
>>
>> The following packages have unmet dependencies:
>>   libc6-dev: Depends: libc6 (= 2.3.6.ds1-13etch2) but 2.3.6.ds1-13 is 
>> installed
>>
>> I ran apt-get -f install which yielded:
>>
>> Preparing to replace libc6 2.3.6.ds1-13 (using 
>> .../libc6_2.3.6.ds1-13etch2_i386.deb) ...
>> /var/lib/dpkg/tmp.ci/preinst: line 130: ls: command not found
>> /var/lib/dpkg/tmp.ci/preinst: line 130: ls: command not found
>> Unpacking replacement libc6 ...
>> dpkg: error processing 
>> /var/cache/apt/archives/libc6_2.3.6.ds1-13etch2_i386.deb (--unpack):
>> unable to create `./usr/sbin/zic': Permission denied
>> dpkg-deb: subprocess paste killed by signal (Broken pipe)
>> Errors were encountered while processing:
>> /var/cache/apt/archives/libc6_2.3.6.ds1-13etch2_i386.deb
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>
>> I am root, so I don't understand the permission denied. Why certain 
>> commands aren't found is even more perplexing.
>> Any ideas?
> 
> I would start with the first problem: "ls: command not found". (The
> permission issue might be a consequence of whatever goes wrong before.)
> 
> As root, what output do you get from these commands:
> 
> echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
> 
> which ls
nothing
> 
> file `which ls`
which: ERROR: cannot open `which' (No such file or directory)
ls:    ERROR: cannot open `ls' (No such file or directory)

> 
> stat `which ls`
stat: missing operand
Try `stat --help' for more information.

> 
> lsattr `which ls`
------------------ ./vdl-3.94.dat
------------------ ./vdl01.vdb
------------------ ./vdl02.vdb
------------------ ./vdl03.vdb
------------------ ./vdl04.vdb
------------------ ./vdl05.vdb
------------------ ./vdl06.vdb
------------------ ./vdl07.vdb
------------------ ./vdl08.vdb
------------------ ./vdl09.vdb
------------------ ./vdl10.vdb
------------------ ./vdl11.vdb
------------------ ./vdl12.vdb
------------------ ./vdl13.vdb
------------------ ./vdl14.vdb
------------------ ./vdl15.vdb
------------------ ./vdl16.vdb
------------------ ./vdl17.vdb
------------------ ./vdl18.vdb
------------------ ./vdl19.vdb
------------------ ./svext.dat
------------------ ./install.sh
------------------ ./Readunix.txt
------------------ ./Install.txt
------------------ ./Readunix_de.txt
------------------ ./Readunix_es.txt
------------------ ./Readunix_euc.txt
------------------ ./Readunix_fr.txt
------------------ ./Readunix_pt_br.txt
------------------ ./Install_de.txt
------------------ ./Install_es.txt
------------------ ./Install_euc.txt
------------------ ./Install_fr.txt
------------------ ./Install_it.txt
------------------ ./Install_pt_br.txt
------------------ ./Install_utf.txt
------------------ ./installmsg.txt
------------------ ./installmsg_de.txt
------------------ ./installmsg_es.txt
------------------ ./installmsg_euc.txt
------------------ ./installmsg_fr.txt
------------------ ./installmsg_it.txt
------------------ ./installmsg_pt_br.txt
------------------ ./sweep.1
------------------ ./installmsg_utf.txt
------------------ ./icheckd.1
------------------ ./icheckd.conf.5
------------------ ./icheckd_de.1
------------------ ./icheckd_de.conf.5
------------------ ./icheckd_es.1
------------------ ./icheckd_es.conf.5
------------------ ./icheckd_euc.1
------------------ ./icheckd_euc.conf.5
------------------ ./icheckd_fr.1
------------------ ./icheckd_fr.conf.5
------------------ ./icheckd_it.1
------------------ ./icheckd_it.conf.5
------------------ ./icheckd_pt_br.1
------------------ ./icheckd_pt_br.conf.5
------------------ ./icheckd_utf.1
------------------ ./icheckd_utf.conf.5
------------------ ./sweep_de.1
------------------ ./sweep_es.1
------------------ ./sweep_euc.1
------------------ ./sweep_fr.1
------------------ ./sweep_it.1
------------------ ./sweep_pt_br.1
------------------ ./sweep_utf.1
------------------ ./eminstall.txt
------------------ ./eminstall.sh
------------------ ./calcmd5
------------------ ./icheckd
------------------ ./icmess.dat
------------------ ./libsavi.so.3.2.07.103
------------------ ./sweep
------------------ ./swpmess.dat
------------------ ./md5list.txt





Reply to: