Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I think I have broken portage.. does it rely on python?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
hazelnut
n00b
n00b


Joined: 17 Apr 2002
Posts: 26
Location: Cambridge, UK

PostPosted: Fri Apr 19, 2002 9:29 am    Post subject: I think I have broken portage.. does it rely on python? Reply with quote

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 8) ). 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. 8O But surely if portage relys on python it shouldn't be removable.

So it is broked? :lol: Or can it be resuscitated? :oops:

Cheers,

Andy
Back to top
View user's profile Send private message
c_kuzmanic
Guru
Guru


Joined: 18 Apr 2002
Posts: 488
Location: Los Angeles , California

PostPosted: Fri Apr 19, 2002 12:15 pm    Post subject: Reply with quote

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 8O 8O


Ask your Granny, maybe she can help you out with a spare harddisk:)
Back to top
View user's profile Send private message
hazelnut
n00b
n00b


Joined: 17 Apr 2002
Posts: 26
Location: Cambridge, UK

PostPosted: Fri Apr 19, 2002 12:23 pm    Post subject: Reply with quote

I have spare harddisks, just thought that 1.2Gig is plenty for an operating system... no apps.. small and fast i.e. Gentoo?? :P

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
View user's profile Send private message
c_kuzmanic
Guru
Guru


Joined: 18 Apr 2002
Posts: 488
Location: Los Angeles , California

PostPosted: Fri Apr 19, 2002 12:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
hazelnut
n00b
n00b


Joined: 17 Apr 2002
Posts: 26
Location: Cambridge, UK

PostPosted: Fri Apr 19, 2002 12:34 pm    Post subject: Reply with quote

Thanks I will when I get a bit more time - must do some work now.. 8)

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... :lol:
Back to top
View user's profile Send private message
c_kuzmanic
Guru
Guru


Joined: 18 Apr 2002
Posts: 488
Location: Los Angeles , California

PostPosted: Fri Apr 19, 2002 12:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
gschneider
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2002
Posts: 81
Location: Rostock, Germany

PostPosted: Fri Apr 19, 2002 3:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Guest






PostPosted: Sat Apr 20, 2002 4:48 am    Post subject: Reply with quote

Download http://www.ibiblio.org/gentoo/releases/build/1.1a/stage1-ix86-1.1a.tbz2, extract it and copy files from extracted usr/lib/python2.2 to your /usr/lib/python2.2 and emerge python again

:)
Back to top
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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