View previous topic :: View next topic |
Author |
Message |
Devport Guru
Joined: 15 Dec 2004 Posts: 361
|
Posted: Fri Mar 02, 2007 12:51 pm Post subject: Deleted Python - how reinstall ? |
|
|
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. |
|
Back to top |
|
|
frostschutz Advocate
Joined: 22 Feb 2005 Posts: 2977 Location: Germany
|
|
Back to top |
|
|
Devport Guru
Joined: 15 Dec 2004 Posts: 361
|
Posted: Fri Mar 02, 2007 7:26 pm Post subject: |
|
|
Thanks.
I solved it by copying over the binaries from the livecd. |
|
Back to top |
|
|
s1lver n00b
Joined: 14 Jul 2002 Posts: 23
|
Posted: Wed Nov 07, 2007 9:41 am Post subject: |
|
|
Could you please tell me how you did this because I just made the same mistake |
|
Back to top |
|
|
Devport Guru
Joined: 15 Dec 2004 Posts: 361
|
Posted: Wed Nov 07, 2007 12:00 pm Post subject: |
|
|
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 |
|
|
s1lver n00b
Joined: 14 Jul 2002 Posts: 23
|
Posted: Sun Nov 11, 2007 7:50 pm Post subject: |
|
|
Nothing I tried worked so I just re-installed Linux...it seemed alot easier to me. |
|
Back to top |
|
|
tylerwylie Guru
Joined: 19 Sep 2004 Posts: 458 Location: /US/Georgia/Atlanta
|
Posted: Sun Nov 11, 2007 8:45 pm Post subject: |
|
|
It needs to be written somewhere than Portage is dependent on Python.
|
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
|
Back to top |
|
|
|