Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: apt-get libc6-sarge< Next Oldest | Next Newest >
och Offline





Group: Members
Posts: 63
Joined: Sep. 2006
Posted: May 09 2007,15:12 QUOTE

I modified /etc/apt/source.list so that the distribution is sarge. Apparently the perl modules I need were not included in the perl package before.
apt-get install perl induces the installation of libc6 but it fails. This is a known issue: 'invalid date error on apt-get install libc6'
And the way around (modifying /var/lib/dpkg/info/libc6.postinst) works fine.
But I am working with a frugal install (DSL 3.2) and adding /var/lib/dpkg/info/libc6.postinst to .filetool.lst does not do the trick. My bootlocal.sh contains a dpkg -i libc6-version.deb, which package has been made persistent.
Should I have done it otherwise or that cannot work in a frugal install?
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: May 10 2007,09:26 QUOTE

This works for me (admittedly in DSL-N but I don't think that will change anything):
Code Sample
# dpkg -i /path-to-file/libc6_2.3.2.ds1-22sarge5_i386.deb
# dpkg -i /path-to-file/libgcc1_3.4.3-13sarge1_i386.deb
# dpkg -i /path-to-file/libdb4.2_4.2.52-18_i386.deb
# dpkg -i /path-to-file/libgdbm3_1.8.3-2_i386.deb
# dpkg -i /path-to-file/perl-base_5.8.4-8sarge5_i386.deb
# dpkg -i --force-all /path-to-file/perl-modules_5.8.4-8sarge5_all.deb
# dpkg -i /path-to-file/perl_5.8.4-8sarge5_i386.deb
After that I was able to compile the perl module XML::Parser.pm (whatever that is) which, in turn, worked to compile another program.

If it would be useful, you could try building your own perl extension by using:
Code Sample
# dpkg -L libc6 > files_perl
# dpkg -L libgcc1 >> files_perl
# dpkg -L libdb4.2 >> files_perl
# dpkg -L libgdbm3 >> files_perl
# dpkg -L perl-base >> files_perl
# dpkg -L perl-modules >> files_perl
# dpkg -L perl >> files_perl
and the editing the resulting files_perl to build an extension.
Back to top
Profile PM 
och Offline





Group: Members
Posts: 63
Joined: Sep. 2006
Posted: May 12 2007,12:38 QUOTE

It does not work for me: either DSL-N makes a difference, or my package being libc6_2.3.2...sarge6... whereas yours is ...sarge5... does it.
I eventually found a way:
I was wrong about libc6.postinst not being restored through .filetool.lst. It is restored but overwritten by the original version when running dpkg -i libc6...
I replaced dpkg by apt-get install libc6 in bootlocal.sh and it works inspite of no apt-get update before.
I am not sure to understand how this can work. I'll do some other tests to be sure it is definitively working.
If anybody can explain to me why apt-get can do what dpkg cannot, I'll feel more comfortable.
Back to top
Profile PM 
och Offline





Group: Members
Posts: 63
Joined: Sep. 2006
Posted: May 14 2007,12:49 QUOTE

In spite of lots of error messages while bootlocal.sh is running, I have got now what I need for my perl programmes to nicely run.
From a manual sudo apt-get -f install it seems that libnet-perl is not fully installed
Code Sample
couldn't open configuration file!

but I can use Telnet object so I don't know what can be missing.
How can I get  a text file with the output of bootlocal.sh?
Where is it called? Knowing that I should be able to redirect its output.
Back to top
Profile PM 
3 replies since May 09 2007,15:12 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: apt-get libc6-sarge

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code