PrafulShah's blog

Problem : Libc6 sarge 2.3.2.ds1-22sarge4 upgrade fail on
following commannd apt-get install libc6.

Error Message:
Setting up libc6 (2.3.2.ds1-22sarge4) ...
date: invalid date `Sun Oct 8 16:43:04 UTC 2006'
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)

Fix Solution: Go to following file

/var/lib/dpkg/info/libc6.postinst

Original on code as follow on line 10.
zone_banner() {
TZBase=$(LC_ALL=C TZ=UTC0 date)
UTdate=$(TZ=UTC0 date -d "$TZBase")
TZdate=$(TZ="$timezone" date -d "$TZBase")

change to following

zone_banner() {
TZBase=$(LC_ALL=C TZ=UTC0 date)
UTdate=$(LANG=C TZ=UTC0 date)
TZdate=$(LANG=C TZ="$timezone" date)

Debian Small Edition (Damn Small linux 50 MB ) use for installation DOM Chip or Embedded Disk.

Download http://www.damnsmalllinux.com dsl iso imange and burn cd-rom.

• Linux Installation Steps:
o Step 1: Boot With CD-Rom
o Step 2: Choose option 3 : install to hd
o Step 3: You will need to know to what drive and partition to install to.ie: hda1.
o Step 4: multi users support : YES
o Step 5: ext3 file says. NO
o Step 6: Read and Follow the prompts carefully.. YES
o Step 7: boot loader says : YES
o Step 8: choose g for grub.. or l for lilo. Says : l

When the computer reboots it will ask for boot and root & dsl passwords. remember them for later.
o Step 9: root password : ******
o Step 10 dsl password *****
o Step 11: Setting X-Windows Configuration Choose : Xversa Xserver

Syndicate content