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

Bug#223769: libc6: Actually a kernel bug.



At Tue, 6 Jan 2004 10:51:50 +0100,
Alexandre Belloni wrote:
> [1  <text/plain; us-ascii (quoted-printable)>]
> On Mon, Jan 05, 2004 at 07:27:42PM -0800, Jeff Bailey wrote :
> > On Tue, Jan 06, 2004 at 09:37:41AM +0900, GOTO Masanori wrote:
> > 
> > > >From glibc 2.3.2.ds1-8, libc6.preinst checks kernel version on mips
> > > because of this IPC issue.  I wonder why libc6.postrm in libc6 2.3.2-7
> > > causes this error.  Alexandre, please show us your kernel version.
> > > Moreover, please show us where your script was stopped.  I think the
> > > recent version should work.  Is this really "grave" bug?  Is this bug
> > > happened on other mips users' machines?
> > 
> 
> The kernel version is :
> 
> Linux version 2.4.18 (root@qube) (gcc version 2.95.4 20011002 (Debian
> prerelease)) #2 Fri May 31 17:40:33 BST 2002
> 
> You can find the config file at
> http://debian.zetnet.co.uk/pm/mips-cobalt/kernel/config.full
> 
> I can't use newer kernel because they just won't compile.
> 
> I think it is a grave bug because it prevents installing libc6 and so it
> prevents upgrading a lot of packages.

Ah, I found what the problem is.  


    if [ "$realarch" = mips ] \
        && [ "`dpkg --print-installation-architecture`" = mips ]
    then
        # MIPS (but not mipsel) require a kernel update for the msq fixes.
        kernel_ver=`uname -r`
        if dpkg --compare-versions "$kernel_ver" lt 2.4.22
        then
                echo WARNING: System V message queues require kernel 2.4.22 to
                echo work correctly on this architecture.  Some programs
                echo "(including perl) may not operate correctly."
->              exit 1
        fi
    fi


You saw the above warning, but the libc.preinst were not stopped, so
installation was started.  I fixed it to put "exit 1".  Thanks for
your report, it's actually "grave" bug.

In addition, if you want to install newer libc6, you need to upgrade
your kernel at least 2.4.22.  Well, if you could not compile the
latest kernel, is debian default kernel-image-2.4.22 or something
usable?

Regards,
-- gotom



Reply to: