On Sun, Feb 24, 2008 at 12:16:34PM +0000, Richard Lyons wrote:
> 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:

[snip: old LVM setup]  See my note at the bottom.

> /usr used also to be in the LVM, but I ran out of space so I simply
> Obviously /home and /tmp present no problems - I can simply copy them
> wherever I want and remount.
see my note at the bottom too.

 
> Problem 1: How do I solve that?

I don't know as you can.  When things are on an LV, the initrd is made
to work with this.  When things are on normal partitons, the initrd is
made to work with that.  The fix involves remaking the initrd but I have
never done 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

whilst you were in the midst of problem number 1?

> 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).

Yes.  I don't see why, if you're already on LVM and you need more space,
you didn't just add the extra partition as a PV and add that to the VG
then enlarge the LVs appropriately, then finally resize the filesystems
to match.  Simple (no, really it is simpler than describing).

Is this a straight Etch (nothing else)?  If so, why would your perl need
a non-existant libc6. 

I hope you kept backups and if not, make a full set before you do
anything else.  That is, copy /home and /etc plus anything in
/usr/local, /var, /var/local, or /opt that you would want.  This sounds
like its spirilling towards a reinstall.  Sure it may be recoverable by
extraordinary measures, but a reinstall may be faster.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to