[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#245643: libc6: problem with $kernel_ver in preinst



Mark Horn <mark-d-1091138548.543f7a@hornclan.com> writes:

> 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

Install libc6 (which fails) and then upgrade it (install again).
Something like that should skip the test.

[cdebootstrap fails first when installing libc6 but manages to get it
installed properly at some stage in its run. Thats why I suggest the
above.]

MfG
        Goswin



Reply to: