Re: [gentoo-user] ARGH I uninstalled python

2009-05-28 Thread Wyatt Epp
On Wed, May 27, 2009 at 5:55 PM, Neil Bothwick n...@digimed.co.uk wrote: On Wed, 27 May 2009 16:28:35 -0400, Wyatt Epp wrote: You know, I wonder if that's not a bug? There is no eselect module for setting your python version, U % eselect python help Manage the /usr/bin/python and

Re: [gentoo-user] ARGH I uninstalled python

2009-05-27 Thread Jon Hardcastle
--- On Mon, 25/5/09, Stroller strol...@stellar.eclipse.co.uk wrote: From: Stroller strol...@stellar.eclipse.co.uk Subject: Re: [gentoo-user] ARGH I uninstalled python To: gentoo-user@lists.gentoo.org Date: Monday, 25 May, 2009, 12:34 AM On 24 May 2009, at 21:41, Neil Bothwick wrote

Re: [gentoo-user] ARGH I uninstalled python

2009-05-27 Thread Neil Bothwick
On Wed, 27 May 2009 01:32:13 -0700 (PDT), Jon Hardcastle wrote: But I was EXPECTING portage to not let me do something that would stop the 'solution' (and that is what it is whether at the portage or the gentoo level) working. Gentoo provides the gun, it does not prevent you pointing at your

Re: [gentoo-user] ARGH I uninstalled python

2009-05-27 Thread Jorge Morais
On Wed, 27 May 2009 01:32:13 -0700 (PDT) Jon Hardcastle jd_hardcas...@yahoo.com wrote: I'd hope that if anyone else comes a cropper by this then at least this conv will help them! But I was EXPECTING portage to not let me do something that would stop the 'solution' (and that is what it is

Re: [gentoo-user] ARGH I uninstalled python

2009-05-27 Thread Jorge Morais
On Sat, 23 May 2009 19:08:50 -0300 Jorge Morais please.no.spam.h...@gmail.com wrote: One idea: you can can recompile python with a safe prefix (such as a subdir of your home), issue make install (not as root, for increased safety) and see where Python install its files relative to the prefix,

Re: [gentoo-user] ARGH I uninstalled python

2009-05-27 Thread Stroller
On 27 May 2009, at 09:32, Jon Hardcastle wrote: ... As the guy that started this thread I am testimony to this problem. I now have a tainted (albeit only slightly) system as my main server at home! This whole problem came about because I wanted to install truecrypt (another powder keg!)

Re: [gentoo-user] ARGH I uninstalled python

2009-05-27 Thread Wyatt Epp
On Wed, May 27, 2009 at 8:49 AM, Jorge Morais please.no.spam.h...@gmail.com wrote: I should mention that you should be careful about deleting any files - and qfile is not a 100% guarantee that the file does not come from a Portage-installed package. For example, in my system Python was

Re: [gentoo-user] ARGH I uninstalled python

2009-05-27 Thread Jorge Morais
On Wed, 27 May 2009 16:28:35 -0400 Wyatt Epp wyatt@gmail.com wrote: On Wed, May 27, 2009 at 8:49 AM, Jorge Morais please.no.spam.h...@gmail.com wrote: I should mention that you should be careful about deleting any files - and qfile is not a 100% guarantee that the file does not come

Re: [gentoo-user] ARGH I uninstalled python

2009-05-27 Thread Neil Bothwick
On Wed, 27 May 2009 16:28:35 -0400, Wyatt Epp wrote: You know, I wonder if that's not a bug? There is no eselect module for setting your python version, U % eselect python help Manage the /usr/bin/python and python.1 man symlinks. Usage: eselect python action options Standard actions:

Re: [gentoo-user] ARGH I uninstalled python

2009-05-24 Thread Keith Dart
On Sat, 23 May 2009 19:08:50 -0300 Jorge Morais please.no.spam.h...@gmail.com wrote: Now, I do have concerns about your system having remains of multiple python installations. Any person with python knowledge can give an opinion on whether this is dangerous? And what is the easiest way to

Re: [gentoo-user] ARGH I uninstalled python

2009-05-24 Thread Alan McKinnon
On Saturday 23 May 2009 22:02:26 Neil Bothwick wrote: On Sat, 23 May 2009 06:59:10 -0500, Dale wrote: Hmmm, I think someone needs to rethink the system set then. After all, portage does not work well without python. It should keep a binary copy but it should also warn you if you are

Re: [gentoo-user] ARGH I uninstalled python

2009-05-24 Thread Alan McKinnon
On Sunday 24 May 2009 00:08:50 Jorge Morais wrote: On Sat, 23 May 2009 03:51:40 -0700 (PDT) Jon Hardcastle jd_hardcas...@yahoo.com wrote: And finally, couldn't he have gotten a binary package from http://tinderbox.dev.gentoo.org/default-linux/x86/dev-lang/ ? Have you not yet tried to

Re: [gentoo-user] ARGH I uninstalled python

2009-05-24 Thread Jorge Morais
On Sun, 24 May 2009 01:52:45 -0700 Keith Dart ke...@dartworks.biz wrote: On Sat, 23 May 2009 19:08:50 -0300 Jorge Morais please.no.spam.h...@gmail.com wrote: Now, I do have concerns about your system having remains of multiple python installations. Any person with python knowledge

Re: [gentoo-user] ARGH I uninstalled python

2009-05-24 Thread Dale
Alan McKinnon wrote: On Sunday 24 May 2009 11:28:30 Neil Bothwick wrote: On Sun, 24 May 2009 11:07:13 +0200, Alan McKinnon wrote: Portage is not in system, only the virtual. That can be satisfied by Paludis, which does not need Python. Lucky for you, I know your sense of

Re: [gentoo-user] ARGH I uninstalled python

2009-05-24 Thread Keith Dart
On Sun, 24 May 2009 07:09:37 -0300 Jorge Morais please.no.spam.h...@gmail.com wrote: You don't seem to have taken into account that he has installed multiple vanilla python versions *manually* (with ./configure, make, and make install as root), to /usr, and then installed Python with Portage.

Re: [gentoo-user] ARGH I uninstalled python

2009-05-24 Thread Neil Bothwick
On Sun, 24 May 2009 07:17:07 -0500, Dale wrote: 1: If I accidentally remove python, portage will not say a word as far as warning me this is bad. This is what got the OP into this. Yes, and that's a recent change, presumably as part of the move to make Gentoo and the portage tree work with

Re: [gentoo-user] ARGH I uninstalled python

2009-05-24 Thread Dale
Alan McKinnon wrote: On Sunday 24 May 2009 16:26:25 Neil Bothwick wrote: 2: Once #1 happens, your pretty much screwed because you don't even have a binary backup even tho it is set in make.conf to have one. That was the reason I put that setting in make.conf but someone chose to screw

Re: [gentoo-user] ARGH I uninstalled python

2009-05-24 Thread Dale
Alan McKinnon wrote: On Sunday 24 May 2009 19:26:43 Dale wrote: Also, is this the file that contains the system set? /usr/portage/profiles/base/packages If so, python is commented out as is a few others. Is there a way to add files to something in /etc that emerge would consider in

Re: [gentoo-user] ARGH I uninstalled python

2009-05-24 Thread Alan McKinnon
On Sunday 24 May 2009 20:06:59 Arttu V. wrote: On 5/24/09, Alan McKinnon alan.mckin...@gmail.com wrote: profiles are cascading and support multiple inheritance (parent files can contain several entries). So, you have to run find /usr/portage/profiles -name packages to find them all,

Re: [gentoo-user] ARGH I uninstalled python

2009-05-24 Thread Neil Bothwick
On Sun, 24 May 2009 18:22:05 +0200, Alan McKinnon wrote: Not exactly, buildsyspkg does the same as it always did, but @system has changed. This cold have happened at any time as there was never a need for python to be in @system,because it's a dependency of portage. That may well be

Re: [gentoo-user] ARGH I uninstalled python

2009-05-24 Thread Neil Bothwick
On Sun, 24 May 2009 20:54:14 +0200, Alan McKinnon wrote: Portage will not let you unmerge portage or gcc without a fight. It offers a way to back up these critical packages. No rational person will attempt to argue that python in a *portage* system is not subject to the same constraints.

Re: [gentoo-user] ARGH I uninstalled python

2009-05-24 Thread Dale
Neil Bothwick wrote: On Sun, 24 May 2009 18:22:05 +0200, Alan McKinnon wrote: Not exactly, buildsyspkg does the same as it always did, but @system has changed. This cold have happened at any time as there was never a need for python to be in @system,because it's a dependency of portage.

Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Jorge Morais
Thank you! Thank you! Thank you! I followed this http://blogs.pwmn.net/korkakak/2008/06/04/gentoo-i-unmerged-python-now-what which worked - in the end. couple of caveats tho for anyone 'that follows' get python from their site as the ftp link in this article is out of date.

Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Jorge Morais
On Sat, 23 May 2009 04:55:04 -0300 Jorge Morais please.no.spam.h...@gmail.com wrote: Couldn't he have emerged python by invoking ebuild /usr/port/usr/portage/dev-lang/python/python-2.6.2.ebuild merge ? This would do everyting correctly. And wouldn't it work without Python, since it is

Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Jon Hardcastle
--- On Sat, 23/5/09, Jorge Morais please.no.spam.h...@gmail.com wrote: From: Jorge Morais please.no.spam.h...@gmail.com Subject: Re: [gentoo-user] ARGH I uninstalled python To: gentoo-user@lists.gentoo.org Date: Saturday, 23 May, 2009, 8:55 AM Thank you! Thank you! Thank you! I

Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Jon Hardcastle
--- On Sat, 23/5/09, Jorge Morais please.no.spam.h...@gmail.com wrote: From: Jorge Morais please.no.spam.h...@gmail.com Subject: Re: [gentoo-user] ARGH I uninstalled python To: gentoo-user@lists.gentoo.org Date: Saturday, 23 May, 2009, 8:55 AM Thank you! Thank you! Thank you! I

Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Dale
Arttu V. wrote: Dale wrote: You may want to look into that setting for next time. I did however notice that although python is in the system set, it is not saving a copy for some reason. Anybody know why this setting is not working? FEATURES=--keep-going buildsyspkg sandbox

Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Arttu V.
On 5/23/09, Dale rdalek1...@gmail.com wrote: This is what I get with this command: r...@smoker / # emerge -ep system | grep python [ebuild R ] app-admin/python-updater-0.5 [ebuild R ] dev-lang/python-2.5.4-r2 r...@smoker / # So python is there if you do it emptytree. emptytree

Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Dale
Arttu V. wrote: On 5/23/09, Dale rdalek1...@gmail.com wrote: This is what I get with this command: r...@smoker / # emerge -ep system | grep python [ebuild R ] app-admin/python-updater-0.5 [ebuild R ] dev-lang/python-2.5.4-r2 r...@smoker / # So python is there if you do it

Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Alan McKinnon
On Saturday 23 May 2009 13:52:13 Arttu V. wrote: Note how binutils still is within the system set and gets the extra warning, while python doesn't get the special system set warning with the three exclamation marks? I.e., python *is no longer* in the system set, probably removed by the very

Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Neil Bothwick
On Sat, 23 May 2009 06:59:10 -0500, Dale wrote: Hmmm, I think someone needs to rethink the system set then. After all, portage does not work well without python. It should keep a binary copy but it should also warn you if you are typing without your thinking cap on. Portage is not in

Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Dale
Neil Bothwick wrote: On Sat, 23 May 2009 06:59:10 -0500, Dale wrote: Hmmm, I think someone needs to rethink the system set then. After all, portage does not work well without python. It should keep a binary copy but it should also warn you if you are typing without your thinking cap

Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Jorge Morais
On Sat, 23 May 2009 03:51:40 -0700 (PDT) Jon Hardcastle jd_hardcas...@yahoo.com wrote: And finally, couldn't he have gotten a binary package from http://tinderbox.dev.gentoo.org/default-linux/x86/dev-lang/ ? Have you not yet tried to get python from a binary package? See

[gentoo-user] ARGH I uninstalled python

2009-05-22 Thread Jon Hardcastle
I was trying to do a emerge --update ask world and it kept failing on updating python-updater and it was tripping over the python install soo i did the 'sensible' thing and unemerged python. NOW I REALISE THAT PYTHON IS INTEGRAL TO emerge. Can i fix this Also, perhaps some more

Re: [gentoo-user] ARGH I uninstalled python

2009-05-22 Thread Michal Sroka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Download python package from internet and install it manually. Afterwards, when emerge get functional re-emerge python. ... I used this way, when it happened to me ... Michal Jon Hardcastle wrote: I was trying to do a emerge --update ask world and

Re: [gentoo-user] ARGH I uninstalled python

2009-05-22 Thread Dale
Jon Hardcastle wrote: I was trying to do a emerge --update ask world and it kept failing on updating python-updater and it was tripping over the python install soo i did the 'sensible' thing and unemerged python. NOW I REALISE THAT PYTHON IS INTEGRAL TO emerge. Can i fix this

Re: [gentoo-user] ARGH I uninstalled python

2009-05-22 Thread Jon Hardcastle
--- On Sat, 23/5/09, Michal Sroka michal.sr...@gmail.com wrote: From: Michal Sroka michal.sr...@gmail.com Subject: Re: [gentoo-user] ARGH I uninstalled python To: gentoo-user@lists.gentoo.org Date: Saturday, 23 May, 2009, 12:13 AM -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Download

Re: [gentoo-user] ARGH I uninstalled python

2009-05-22 Thread Dale
Jon Hardcastle wrote: Thank you! Thank you! Thank you! I followed this http://blogs.pwmn.net/korkakak/2008/06/04/gentoo-i-unmerged-python-now-what which worked - in the end. couple of caveats tho for anyone 'that follows' get python from their site as the ftp link in this article is out

Re: [gentoo-user] ARGH I uninstalled python

2009-05-22 Thread Arttu V.
Dale wrote: You may want to look into that setting for next time. I did however notice that although python is in the system set, it is not saving a copy for some reason. Anybody know why this setting is not working? FEATURES=--keep-going buildsyspkg sandbox fixpackages Is the