DSL Ideas and Suggestions :: Compiler



in response to this error:

"Setting up libc6 (2.3.2.ds1-11) ...
date: invalid date `Wed Mar 10 09:28:22 UTC 2004'
dpkg: error processing libc6 (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
libc6
E: Sub-process /usr/bin/dpkg returned an error code (1)"

from: http://mail.plug.linux.org.au/pipermail/plug/2001-July/022235.html

a bug in unstable libs

edit file  /var/lib/dkpg/info/libc6.postinst

change these two lines to this, removing the '-d' and '$blahblah' parts

TZdate=$(LANG=C TZ="$timezone" date)
UTdate=$(LANG=C TZ=UTC0 date)

save, re-reun apt

hope this works for you too!

cheers

Quote (PhrozenFear @ Mar. 11 2004,01:07)

tar: Couldnt remove old file: Is a directory
dpkg-deb: subprocess tar returned error exit status 1
dpkg: error processing /var/cache/apt/archives/libgcc1_1%3a3.3.3-1_i386.deb (--unpack):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libgcc1_1%3a3.3.3-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

This sounds like the busybox problem with older DSL versions.  If you didn't opt to install the GNUtils when you installed to hard drive, you can download tar from my website:

wget -c http://grimthing.com/downloads/tar

Try downloading that tar and chmod'ing it executable and move it to /bin.  Then re-run your apt process and see if the error clears up.  If it clears up, you have some busybox issues, if it doesn't clear up, post a copy of your sources.list and the list of *.dsl files you chose to install, and what steps you took to install make, gcc, g++ et.al.

FYI, apt will upgrade nicely but it doesn't downgrade worth a shit.


original here.