Re: Problem with 2.3.1-8 for hppa
At Mon, 6 Jan 2003 19:27:02 -0800,
Randolph Chung wrote:
> In reference to a message from GOTO Masanori, dated Jan 06:
> > At Sun, 5 Jan 2003 23:34:01 -0800,
> > Randolph Chung wrote:
> > > > So fixing either glibc or libc6 preinst is needed. From Randolph's mail,
> > > > comparing kernel version with 2.4.19-pa17 in libc6 preinst is needed.
> > > > I've added changes for the current glibc cvs as follows:
> > >
> > > looks good to me.
> >
> > Thanks.
>
> argh, actually this is not good. please revert it.
>
> the debian parisc kernel packages have version numbers like
> "2.4.19-64", so your check will not work :(
Oops! I'm sorry, I fixed as follows:
--- libc/DEBIAN/preinst 6 Jan 2003 13:51:53 -0000 1.5
+++ libc/DEBIAN/preinst 7 Jan 2003 13:27:02 -0000
@@ -115,10 +115,11 @@
fi
# parisc64 boxes require latest fixes in the kernel 2.4.19-pa17 or later
# (in 2.4.x), 2.5.53-pa3 or later (in 2.5.x), to function properly.
+ # Note that parisc64 kernel version scheme is "`uname -r`-64".
if [ "$realarch" = parisc64 ]
then
kernel_ver=`uname -r`
- if dpkg --compare-versions "$kernel_ver" lt 2.4.19-pa17
+ if dpkg --compare-versions "$kernel_ver" lt 2.4.19-64
then
echo WARNING: This version of libc6 requires that you be running
echo atleast a 2.4.19-pa17 kernel (or 2.5.53-pa3 if you use
Is it OK?
Regards,
-- gotom
Reply to: