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

mkinitrd and glibc version problem in etch



Hi all.

Silly situation:  I have been wanting to release my etch install from
the LVM so as to be able to adjust the partitioning.  The arrangement
was:
/dev/mapper/Debian-root on / type ext3 (rw,errors=remount-ro)
/dev/hda1 on /boot type ext3 (rw)
/dev/mapper/Debian-home on /home type ext3 (rw)
/dev/mapper/Debian-tmp on /tmp type ext3 (rw)
/dev/hdb2 on /usr type ext3 (rw)
/dev/mapper/Debian-var on /var type ext3 (rw)
/dev/hdb2 on /usr type ext3 (rw)

/usr used also to be in the LVM, but I ran out of space so I simply
copied to hdb (which is 80GB, against 20GB of hda).
Obviously /home and /tmp present no problems - I can simply copy them
wherever I want and remount.

I decided to copy the root partition and var to two new partitons on
hdb, then mount the new root to /mnt/hdb13 (or whatever) and mount all
the other filesystems into that, mount -o bind /dev /mnt/hdb13, and
mount -t proc none /mnt/hdb13 so as to be able to chroot there and make
a new initrd.  But this gave me
 # mkinitramfs -o boot/initrd.img-2.6.18-5-686r -r /dev/hdb13 2.6.18-5-686
 find: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found
 (required by find)
 find: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found
 (required by find)
 find: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found
 (required by find)
 find: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found
 (required by find)
 find: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found
 (required by find)
 locale: Cannot set LC_ALL to default locale: No such file or directory
 find: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found
 (required by find)

Problem 1: How do I solve that?

Problem 2: I had the bright idea to install another kernel while in the
chroot, and let the install make its own initrd.  I saw in aptitude that
linux-image-2.6.18-6-686 was available (the current kernel was
2.6.18-5-686). But this also failed to install, so I tried to remove it
prior to finding the relevant glibc.  The removal failed too:
 /usr/bin/perl: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not
 found (required by /usr/bin/perl)
 Selecting previously deselected package linux-image-2.6.18-6-686.
 (Reading database ...
 dpkg: serious warning: files list file for package
 `linux-image-2.6.18-6-686' missing, assuming package has no files
 currently installed.
 183622 files and directories currently installed.)
 Preparing to replace linux-image-2.6.18-6-686 2.6.18.dfsg.1-18etch1
 (using .../linux-image-2.6.18-6-686_2.6.18.dfsg.1-18etch1_i386.deb) ...
 /usr/bin/perl: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not
 found (required by /usr/bin/perl)
 dpkg: error processing
 /var/cache/apt/archives/linux-image-2.6.18-6-686_2.6.18.dfsg.1-18etch1_i386.deb
 (--unpack):
  subprocess pre-installation script returned error exit status 1
  /usr/bin/perl: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not
  found (required by /usr/bin/perl).

...and now aptitude and apt are blocked from any further action.

I cannot see anything glibc-ish >2.3.6 in the package list.  Obviously,
I am doing something daft, but what? (other than having tried to fix
something that wasn't broke).

--
richard

PS apologies if this gets duplicated, but the list is apparently blocking 
my mail so I had to resend port-forwarded to another server.


Reply to: