Bug#245643: libc6: problem with $kernel_ver in preinst
On Sun, Apr 25, 2004 at 10:44:14PM +0900, GOTO Masanori wrote:
>Goswin von Brederlow proposed the below pattern in #241395:
>
> kernel_rev=$(uname -r | sed 's/\([0-9]*\.[0-9]*\.\)\([0-9]*\)\(.*\)/\2/')
I'm experiencing the problem as well because I have a customized kernel:
$ uname -r
2.4.20mh04
Is there a workaround for this problem so that I can get libc6 installed?
I'd like to manually modify the preinst script with the above kernel_rev
line. It doesn't appear possible because dpkg extracts the preinst
directly from the .deb. Is there a way to modify the preinst so that I
can get past this problem?
Thanks,
- Mark
Reply to: