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

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



Le Fri, Apr 30, 2004 at 06:02:27PM -0400, Mark Horn a ecrit :
> 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?

You can extract the .deb with ar for example.
I did this manipulation to have a quick solution...
You can have my modified package on my website:
http://www.gcolpart.com/debian/ to wait the -13

Thanks,
-- 
Gregory Colpart <reg@evolix.fr>  GnuPG:1024D/C1027A0E
Evolix - Informatique et Logiciels Libres http://www.evolix.fr

Attachment: signature.asc
Description: Digital signature


Reply to: