Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Deleted Python - how reinstall ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Devport
Guru
Guru


Joined: 15 Dec 2004
Posts: 361

PostPosted: Fri Mar 02, 2007 12:51 pm    Post subject: Deleted Python - how reinstall ? Reply with quote

I just deleted python to upgrade it to 2.5 but that was a bad idea - can someone guide me to one of the many topics about reinstalling packages from install packages and where to find them without downloading a whole gentoo CD ?

[I know this kind of stuff has been discussed a thousand times but I don't know what term to use for search]

Right now I am ROFL cause its too funny when something like this happens to someone using gentoo for years - but sometimes I need to do this - its fun. :D
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Fri Mar 02, 2007 1:14 pm    Post subject: Reply with quote

/usr/portage/sys-apps/portage/files/README.RESCUE
http://dev.gentoo.org/~avenj/bins/i686/
Back to top
View user's profile Send private message
Devport
Guru
Guru


Joined: 15 Dec 2004
Posts: 361

PostPosted: Fri Mar 02, 2007 7:26 pm    Post subject: Reply with quote

Thanks.

I solved it by copying over the binaries from the livecd.
Back to top
View user's profile Send private message
s1lver
n00b
n00b


Joined: 14 Jul 2002
Posts: 23

PostPosted: Wed Nov 07, 2007 9:41 am    Post subject: Reply with quote

Could you please tell me how you did this because I just made the same mistake :(
Back to top
View user's profile Send private message
Devport
Guru
Guru


Joined: 15 Dec 2004
Posts: 361

PostPosted: Wed Nov 07, 2007 12:00 pm    Post subject: Reply with quote

I dont remember how I did it. You could try to boot the livecd, open a console and try to emerge python with

ROOT=/mnt/yourmountedlinuxpartition PKGDIR=/mnt/cdrom/packages emerge -av --usepkg python

Quote:
--usepkg (-k)
Tells emerge to use binary packages (from $PKGDIR) if they are
available, thus possibly avoiding some time-consuming compiles.
This option is useful for CD installs; you can export
PKGDIR=/mnt/cdrom/packages and then use this option to have
emerge "pull" binary packages from the CD in order to satisfy
dependencies.

Quote:
ROOT = [path]
Use ROOT to specify the target root filesystem to be used for
merging packages or ebuilds. This variable can be set in
make.conf(5) when PORTAGE_CONFIGROOT has a value other than /.
Defaults to /.


If that doesnt work you could try to find a binary package of python on the web ( a binary package for other distros will do too, it only has to be the version for your system, e.g. x86 / amd64 ). If you take a binary package for debian or ubuntu you could simply unpack it AFAIK. Yet this is not a clean solution because you willl have files on your system that are not tracked by portage.

Try to find out how to do it with the livecd - maybe someone else can give exact instructions ?
Back to top
View user's profile Send private message
s1lver
n00b
n00b


Joined: 14 Jul 2002
Posts: 23

PostPosted: Sun Nov 11, 2007 7:50 pm    Post subject: Reply with quote

Nothing I tried worked so I just re-installed Linux...it seemed alot easier to me.
Back to top
View user's profile Send private message
tylerwylie
Guru
Guru


Joined: 19 Sep 2004
Posts: 458
Location: /US/Georgia/Atlanta

PostPosted: Sun Nov 11, 2007 8:45 pm    Post subject: Reply with quote

It needs to be written somewhere than Portage is dependent on Python. :lol: :lol:
8)
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Mon Nov 19, 2007 9:09 am    Post subject: Reply with quote

Moved from Other Things Gentoo to Duplicate Threads, refer to topic "I unmerged python... ensuing problems....".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum