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

strange apt-get upgrade issue



Hi!
Firstly, my apologies if this is the wrong forum to post to, but from what I've seen it seems like it's the correct place.

I am having a strange apt-get upgrade issue on one of our production boxes:

xxxxxx:~# apt-get update
[this works fine]

xxxxxx:~# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
Sorry, but the following packages have unmet dependencies:
  libc6-dev: Depends: libc6 (= 2.1.3-24) but 2.1.3-23 is installed
  locales: Depends: libc6 (= 2.1.3-24) but 2.1.3-23 is installed
E: Unmet dependencies. Try using -f.

xxxxxx:~# apt-get -f upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 packages not fully installed or removed.
Need to get 0B/1901kB of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n]
dpkg-deb: wait for tar failed: No child processes
dpkg: error processing /var/cache/apt/archives/libc6_2.1.3-24_i386.deb (--unpack):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.1.3-24_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I've searched through the mailing list archives and found one post where someone had the same problem, but it "mysteriously went away". Sometimes If I manually unpack the archives using dpkg-deb --unpack it works. It's very transient - that is to say, sometimes it will just work. for example, i can issue the exact same command line twice in a row and the second or third time it will just work.

It's still a potato system.

Any help at all appreciated.

Regards,

Chris.
______________________________________________________
Chris McCormick - Systems Developer - PerthWeb Pty Ltd
Internet Solutions for your business!
Level 9/105 St George's Tc - Perth - Western Australia
Ph: (08) 9226 1366 Fax: (08) 9226 1375
Visit Perth online! : www.perthweb.com.au
PGP Key = http://www.perthweb.com.au/~chris/public.txt



Reply to: