View previous topic :: View next topic |
Author |
Message |
hazelnut n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Apr 2002 Posts: 26 Location: Cambridge, UK
|
Posted: Fri Apr 19, 2002 9:29 am Post subject: I think I have broken portage.. does it rely on python? |
|
|
Hi,
I installed Gentoo and was trying to get KDE installed, but only had a 1.2Gig disk in my machine. Means that / is 950Meg and after the install I had just over 400Meg left...
When I tried to emerge KDE it got as far as xfree before filling the disk and stopping. So, needed to clean up - deleted kernel src, and then looked for other largish things to delete. Decided to get rid of python which I have never used and could always re-install later (I'm a perl man ). I was also interested in portages uninstall functionality.. since this is why I wanted to try Gentoo in the first place.
Andyway I typed (from memory - it worked anyway):
Code: | emerge unmerge --all python2.2 |
And python seemed to be removed. Still a few files in the /usr/libs/python2.2 dir though which was disappointing..
Anyway, now when I type emerge I get an error that python2.2 doesn't exist. But surely if portage relys on python it shouldn't be removable.
So it is broked? Or can it be resuscitated?
Cheers,
Andy |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
c_kuzmanic Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/5451832193e39a4e0e9251.jpg)
Joined: 18 Apr 2002 Posts: 488 Location: Los Angeles , California
|
Posted: Fri Apr 19, 2002 12:15 pm Post subject: |
|
|
I'm not sure, but I would speculate that you somehow removed your ebuild scripts for Python. Have you tried emerge rsync before installing Python?
And by the way, running gentoo + X + KDE 3.0 on a disk with 1.2 Gigs == BAD IDEA
Ask your Granny, maybe she can help you out with a spare harddisk:) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hazelnut n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Apr 2002 Posts: 26 Location: Cambridge, UK
|
Posted: Fri Apr 19, 2002 12:23 pm Post subject: |
|
|
I have spare harddisks, just thought that 1.2Gig is plenty for an operating system... no apps.. small and fast i.e. Gentoo??
BTW I was *uninstalling* Python!! And now portage doesn't work.
From doing some more reading I am pretty convinced that portage requires python.
Ho hum.
Back to LFS then?? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
c_kuzmanic Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/5451832193e39a4e0e9251.jpg)
Joined: 18 Apr 2002 Posts: 488 Location: Los Angeles , California
|
Posted: Fri Apr 19, 2002 12:26 pm Post subject: |
|
|
Hmm, I would scour the regular gentoo-users mailing list, I'm pretty sure that the topic of "Portage accidentally removed/uninstalled" was covered there in detail... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hazelnut n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Apr 2002 Posts: 26 Location: Cambridge, UK
|
Posted: Fri Apr 19, 2002 12:34 pm Post subject: |
|
|
Thanks I will when I get a bit more time - must do some work now..
Forgot to say - pretty funny re: Grannys HDD's, but she never once used a computer in he entire life so not a single HDD left to me... ![Laughing :lol:](images/smiles/icon_lol.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
c_kuzmanic Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/5451832193e39a4e0e9251.jpg)
Joined: 18 Apr 2002 Posts: 488 Location: Los Angeles , California
|
Posted: Fri Apr 19, 2002 12:34 pm Post subject: |
|
|
Silly me, I forgot to answer your main question : Yes, portage (portage.py) does rely on python.
If you can't find any other fix, you might try downloading/installing python from source. This should at least enable you to run portage... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gschneider Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/54775496951d7b24e2347e.jpg)
Joined: 10 Apr 2002 Posts: 81 Location: Rostock, Germany
|
Posted: Fri Apr 19, 2002 3:45 pm Post subject: |
|
|
the complete portage is build with python scripts.
But I don't know how you could reinstall it without python...
perhaps you download a python rpm, install it, and then re-install the portage ebuild.... _________________ /(bb|[^b]{2})/ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Guest
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|