Topic: apt-get libc6-sarge
started by: och
Posted by och on May 09 2007,15:12I 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:26This works for me (admittedly in DSL-N but I don't think that will change anything):
If it would be useful, you could try building your own perl extension by using:
Posted by och on May 12 2007,12:38It 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:49In 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
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.