Damn Small Linux - Not!
The forum for DSL-N
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Apt-g
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> Apps
View previous topic :: View next topic  
Author Message
Jumbalaya



Joined: 08 Oct 2006
Posts: 2

PostPosted: Sun Oct 08, 2006 4:30 pm    Post subject: Reply with quote

i`ve followed the instructions above but it gives me this error on apt-get install perl:

Building Dependency Tree... Done
The following extra packages will be installed:
libdb4.2 libgdbm3 perl-base perl-modules
Suggested packages:
libterm-readline-perl-perl
The following NEW packages will be installed:
libdb4.2 libgdbm3 perl perl-modules
The following packages will be upgraded
perl-base
1 upgraded, 4 newly installed, 0 to remove and 140 not upgraded.
1 not fully installed or removed.
Need to get 0B/6579kB of archives.
After unpacking 23.0MB of additional disk space will be used.
Do you want to continue? [Y/n] y
apt-extracttemplates: error while loading shared libraries: libapt-inst-libc6.3-5.so.1.0: cannot open shared object file: No such file or directory
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)
root@dslbox:/#


i don`t know what causes this error...the strange thing is that "invalid date"
Back to top
View user's profile Send private message MSN Messenger
Juanito



Joined: 11 Sep 2006
Posts: 88
Location: Dubai, U.A.E.

PostPosted: Mon Oct 09, 2006 4:39 am    Post subject: I got a similar Message Reply with quote

I got a similar message about libc6 and the date which was cured by loading gnu-utils.dsl before apt-get install debconf, perl & apt-utils.
Back to top
View user's profile Send private message
Jumbalaya



Joined: 08 Oct 2006
Posts: 2

PostPosted: Tue Oct 10, 2006 7:14 pm    Post subject: Reply with quote

i've tried to reload gnu-utils but still same error...

btw i decided to try again from the beginning (deleting and copying back the files, like dpkg-restore, etc) and it seems to work now! probably i made a mistake copying

tnx for the help!
Back to top
View user's profile Send private message MSN Messenger
Juanito



Joined: 11 Sep 2006
Posts: 88
Location: Dubai, U.A.E.

PostPosted: Fri Nov 03, 2006 12:09 pm    Post subject: Still can't get this right Reply with quote

Maybe it's because RC4 is not yet "ready" for apt-get, but I'm still struggling to get it to work without errors. Here's what I have been doing:

dpkg-restore
mydsl-load gnu-utils (if I don't do this there is a libc6 error)
apt-get update (to debian stable)
apt-get install debconf

debconf: Perl may be unconfigured (Can't locate Debconf/Log.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.3 /usr/locl/share/perl/5.8.3 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 1) lie 4.

apt-get install perl
apt-get install apt-utils

According to the comments earlier in this thread, things should now be OK, but...

apt-get install make

Setting up make (3.80-9) ...
Can't locate dpkg-gettext.pl in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /usr/lib/dpkg) at /usr/sbin/install-info line 7.

So I tried

apt-get install dpkg
apt-get install make

Setting up make (3.80-9) ...
install-info(/usr/share/info/make.info.gz): no backup file /var/backups/infodir.bak available.
install-info(/usr/share/info/make.info.gz): no default file /usr/share/base-files/info.dir available, giving up.

I have a feeling the answer must be simple, but I cannot figure out what it is - can anybody help?
Back to top
View user's profile Send private message
PrafulShah



Joined: 29 Nov 2006
Posts: 2
Location: Toronto

PostPosted: Wed Nov 29, 2006 5:08 pm    Post subject: Setting up libc6 (2.3.2.ds1-22sarge4) with invalid date. Reply with quote

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)

It work fine after this fix.

Praful Shah
Back to top
View user's profile Send private message Yahoo Messenger
PrafulShah



Joined: 29 Nov 2006
Posts: 2
Location: Toronto

PostPosted: Wed Nov 29, 2006 5:09 pm    Post subject: Setting up libc6 (2.3.2.ds1-22sarge4) with invalid date. Reply with quote

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)

It work fine after this fix.

Praful Shah
Back to top
View user's profile Send private message Yahoo Messenger
Thanatos



Joined: 14 Dec 2006
Posts: 1

PostPosted: Thu Dec 14, 2006 4:22 pm    Post subject: Reply with quote

i tried to mount the KNOPPIX file like that
[quote="roberts"]Just do another mount of the KNOPPIX file.

#mkdir /mnt/test
#mount /path_to/KNOPPIX/KNOPPIX /mnt/test -t iso9660 -o ro,loop=/dev/cloop50


Just pick an unused cloop device, eg, cloop50[/quote]

and I got the following error

"mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so"

i have no clue what the error means and how i will get it to work
i hope someone can help me
thx
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> Apps All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group