RE: [gentoo-user] glibc unmerged by accident (solved)
-Original Message- From: Neil Bothwick [mailto:[EMAIL PROTECTED] What's wrong with tar xf glibc-2.6.1.tbz2 -C /mnt/gentoo? It's worked for me in the past when I upgraded to a broken glibc. I was not sure what would happen with other files in some of the existing directories. Just fear of messing things up even more. Thanks, -- Valmor -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] glibc unmerged by accident (solved)
On Sun, 18 Nov 2007 15:05:24 -0500, de Almeida, Valmor F. wrote: What's wrong with tar xf glibc-2.6.1.tbz2 -C /mnt/gentoo? It's worked for me in the past when I upgraded to a broken glibc. I was not sure what would happen with other files in some of the existing directories. Just fear of messing things up even more. There wouldn't be any files to overwrite if you've unmerged glibc! However you do it, you should emerge glibc, either from source or the package, once you have a working system. -- Neil Bothwick Why is bra singular and pants plural? signature.asc Description: PGP signature
RE: [gentoo-user] glibc unmerged by accident (solved)
-Original Message- From: Neil Bothwick [mailto:[EMAIL PROTECTED] However you do it, you should emerge glibc, either from source or the package, once you have a working system. Yes. After it became operational, still booted from the cd, I did a total rebuild over the weekend; just to be on the safe side. It is working and fully upgraded. Thanks for the inputs. -- Valmor -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] glibc unmerged by accident (solved)
For info, there used to be a website with pre-built binaries provided by one of the devs for just such rescues. Also, dont the current livecd's do a stage 3 install, which means there should be a quickpkg'd glibc on them? I dont have a system with squashfs on it, or able to boot one to check att, but someone may be able to confirm this. BillK On Fri, 2007-11-16 at 22:39 -0500, de Almeida, Valmor F. wrote: -Original Message- From: Graham Murray [mailto:[EMAIL PROTECTED] I do not think it will be that simple. The problem is that once you chroot to /mnt/gentoo all subsequent commands (including emerge and gcc) will be looking for /lib/libc.so.6 and /lib/ld-linux.so.2 neither of which will be present following an unmerge of glibc. This is true. After booting from a CD, chroot /mnt/gentoo /bin/bash does not work. If you have a binary glibc package, then you could untar it into /mnt/gentoo while booted from the CD. Otherwise I suspect that you will either have to find a binary glibc package on the internet or rebuild your system from a stage3 tarball in the usual way. Indeed the solution was to build glibc-2.6.1.tbz2 with quickpkg on another machine (luckily I had one) and scp into the damaged machine when booted from the CD. Then copying all the files into their respective places inside /mnt/gentoo/... Also need to check symbolic links etc. Not a pleasant work. Then chroot /mnt/gentoo /bin/bash finally works. After that, an emerge of glibc solves the problem. Thanks for the inputs. -- Valmor -- William Kenworthy [EMAIL PROTECTED] Home in Perth! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] glibc unmerged by accident (solved)
On Sat, 17 Nov 2007 17:30:17 +0900, William Kenworthy wrote: Also, dont the current livecd's do a stage 3 install, which means there should be a quickpkg'd glibc on them? A stage 3 is one large tarball, not separate packages. -- Neil Bothwick All general statements are false. signature.asc Description: PGP signature
Re: [gentoo-user] glibc unmerged by accident (solved)
On Fri, 16 Nov 2007 22:39:11 -0500, de Almeida, Valmor F. wrote: Indeed the solution was to build glibc-2.6.1.tbz2 with quickpkg on another machine (luckily I had one) and scp into the damaged machine when booted from the CD. Then copying all the files into their respective places inside /mnt/gentoo/... Also need to check symbolic links etc. Not a pleasant work. What's wrong with tar xf glibc-2.6.1.tbz2 -C /mnt/gentoo? It's worked for me in the past when I upgraded to a broken glibc. -- Neil Bothwick Accordion: a bagpipe with pleats. signature.asc Description: PGP signature
Re: [gentoo-user] glibc unmerged by accident (solved)
I stand corrected. BillK On Sat, 2007-11-17 at 09:23 +, Neil Bothwick wrote: On Sat, 17 Nov 2007 17:30:17 +0900, William Kenworthy wrote: Also, dont the current livecd's do a stage 3 install, which means there should be a quickpkg'd glibc on them? A stage 3 is one large tarball, not separate packages. -- William Kenworthy [EMAIL PROTECTED] Home in Perth! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] glibc unmerged by accident (solved)
On Sat, 17 Nov 2007 18:56:02 +0900 William Kenworthy wrote: I stand corrected. BillK On Sat, 2007-11-17 at 09:23 +, Neil Bothwick wrote: On Sat, 17 Nov 2007 17:30:17 +0900, William Kenworthy wrote: Also, dont the current livecd's do a stage 3 install, which means there should be a quickpkg'd glibc on them? A stage 3 is one large tarball, not separate packages. -- A couple of naive questions ... Couldn't one simply extract the glibc library from the stage 3 tarball to /lib? Then, having the needed library, couldn't one run emerge? Regards, David -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] glibc unmerged by accident (solved)
-Original Message- From: Graham Murray [mailto:[EMAIL PROTECTED] I do not think it will be that simple. The problem is that once you chroot to /mnt/gentoo all subsequent commands (including emerge and gcc) will be looking for /lib/libc.so.6 and /lib/ld-linux.so.2 neither of which will be present following an unmerge of glibc. This is true. After booting from a CD, chroot /mnt/gentoo /bin/bash does not work. If you have a binary glibc package, then you could untar it into /mnt/gentoo while booted from the CD. Otherwise I suspect that you will either have to find a binary glibc package on the internet or rebuild your system from a stage3 tarball in the usual way. Indeed the solution was to build glibc-2.6.1.tbz2 with quickpkg on another machine (luckily I had one) and scp into the damaged machine when booted from the CD. Then copying all the files into their respective places inside /mnt/gentoo/... Also need to check symbolic links etc. Not a pleasant work. Then chroot /mnt/gentoo /bin/bash finally works. After that, an emerge of glibc solves the problem. Thanks for the inputs. -- Valmor -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] glibc unmerged by accident
On Nov 13, 2007 10:49 AM, de Almeida, Valmor F. [EMAIL PROTECTED] wrote: From: Neil Bothwick [mailto:[EMAIL PROTECTED] Incidentally, how did you miss the big red warning that emerge gives when you try to unmerge a system package? I was unlucky and stupid for using cut and paste commands while distracted looking at another screen. I didn't look back until the unmerge countdown period was over. Thanks for all the comments and ideas. -- Valmor -- [EMAIL PROTECTED] mailing list Always good to use the -a flag when unmerging. -- - Mark Shields
Re: [gentoo-user] glibc unmerged by accident
On Mon, 2007-11-12 at 18:49 -0500, de Almeida, Valmor F. wrote: Hello, After a successful upgrade from profile 2006.1 to 2007.0, I decided to unmerge some unused packages from world and accidentally had glibc on the emerge command line from a cut and paste operation. glibc was unmerged and now I can't use common shell commands such as ls or cp to list and copy files from a backup. I am thinking that to fix this I will have to boot from a cd and emerge glibc. Is there another way to do this? busybox ash Hopefully it's not dynamically linked ... signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] glibc unmerged by accident
Am Dienstag, 13. November 2007 schrieb ext Florian Philipp: busybox ash And then? I guess Python will still not work - no emerge. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] glibc unmerged by accident
Am Dienstag, 13. November 2007 schrieb ext de Almeida, Valmor F.: glibc was unmerged and now I can't use common shell commands such as ls or cp to list and copy files from a backup. I am thinking that to fix this I will have to boot from a cd and emerge glibc. Is there another way to do this? No. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] glibc unmerged by accident
On Tue, 2007-11-13 at 15:35 +0100, Dirk Heinrichs wrote: Am Dienstag, 13. November 2007 schrieb ext Florian Philipp: busybox ash And then? I guess Python will still not work - no emerge. Bye... Dirk He just wanted to copy over some files from backup. Specifically he requested common shell commands such as ls or cp signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] glibc unmerged by accident
Am Dienstag, 13. November 2007 schrieb ext Florian Philipp: On Tue, 2007-11-13 at 15:35 +0100, Dirk Heinrichs wrote: Am Dienstag, 13. November 2007 schrieb ext Florian Philipp: busybox ash And then? I guess Python will still not work - no emerge. He just wanted to copy over some files from backup. Specifically he requested common shell commands such as ls or cp Hmm, your answer was below the boot from CD and emerge paragraph, so I thought it was related to this one. Please place your anwers where the question is (see http://learn.to/quote). Many thanks... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] glibc unmerged by accident
On Tue, 13 Nov 2007 15:36:09 +0100, Dirk Heinrichs wrote: I am thinking that to fix this I will have to boot from a cd and emerge glibc. Is there another way to do this? No. Unless you already have buildpkg in FEATURES, then you can unpack the tarball from $PKGDIR/All to the root filesystem. You'll still need a live CD to do this, but it's a lot quicker, then you can re-emerge glibc from your working system. Incidentally, how did you miss the big red warning that emerge gives when you try to unmerge a system package? -- Neil Bothwick Energize! said Picard and the pink bunny appeared... signature.asc Description: PGP signature
Re: [gentoo-user] glibc unmerged by accident
de Almeida, Valmor F. [EMAIL PROTECTED] writes: I am thinking that to fix this I will have to boot from a cd and emerge glibc. I do not think it will be that simple. The problem is that once you chroot to /mnt/gentoo all subsequent commands (including emerge and gcc) will be looking for /lib/libc.so.6 and /lib/ld-linux.so.2 neither of which will be present following an unmerge of glibc. If you have a binary glibc package, then you could untar it into /mnt/gentoo while booted from the CD. Otherwise I suspect that you will either have to find a binary glibc package on the internet or rebuild your system from a stage3 tarball in the usual way. -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] glibc unmerged by accident
From: Graham Murray [mailto:[EMAIL PROTECTED] If you have a binary glibc package, then you could untar it into /mnt/gentoo while booted from the CD. Otherwise I suspect that you will I think I can do that. I have other machines I can build a binary glibc package on. Then once I boot from a live cd I should be able to copy to the machine I messed up. Thanks, -- Valmor -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] glibc unmerged by accident
From: Neil Bothwick [mailto:[EMAIL PROTECTED] Incidentally, how did you miss the big red warning that emerge gives when you try to unmerge a system package? I was unlucky and stupid for using cut and paste commands while distracted looking at another screen. I didn't look back until the unmerge countdown period was over. Thanks for all the comments and ideas. -- Valmor -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] glibc unmerged by accident
On Tuesday 13 November 2007 15:35:37 Dirk Heinrichs wrote: Am Dienstag, 13. November 2007 schrieb ext Florian Philipp: busybox ash And then? I guess Python will still not work - no emerge. Then unpack the binpkg (which is needed either way as mentioned in other replies) on /. After that put the binpkg in $PKGDIR/All/ and `emerge --usepkgonly glibc` to tell portage about the change... -- Bo Andresen signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] glibc unmerged by accident
On Tuesday 13 November 2007, de Almeida, Valmor F. wrote: Hello, After a successful upgrade from profile 2006.1 to 2007.0, I decided to unmerge some unused packages from world and accidentally had glibc on the emerge command line from a cut and paste operation. glibc was unmerged and now I can't use common shell commands such as ls or cp to list and copy files from a backup. I am thinking that to fix this I will have to boot from a cd and emerge glibc. Is there another way to do this? Ouch. Easiest way I can think of is same idea as yours - to boot off a CD, chroot into your usual / and emerge glibc. If you have another gentoo machine handy with the same or higher version of glibc, you could quickpkg it there and simply unpack it into the chroot. It's a reasonably large binary, 12M on my system. alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- [EMAIL PROTECTED] mailing list
[gentoo-user] glibc unmerged by accident
Hello, After a successful upgrade from profile 2006.1 to 2007.0, I decided to unmerge some unused packages from world and accidentally had glibc on the emerge command line from a cut and paste operation. glibc was unmerged and now I can't use common shell commands such as ls or cp to list and copy files from a backup. I am thinking that to fix this I will have to boot from a cd and emerge glibc. Is there another way to do this? Thanks, -- Valmor -- [EMAIL PROTECTED] mailing list