apt-get libc6-sarge


Forum: Apt-get
Topic: apt-get libc6-sarge
started by: och

Posted by och on May 09 2007,15:12
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?

Posted by Juanito on May 10 2007,09:26
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.

Posted by och on May 12 2007,12:38
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.

Posted by och on May 14 2007,12:49
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.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.