[gentoo-user] Portage broken by emerge --sync

2005-03-05 Thread Alex Bennee

I was runnning a "emerge --sync" and portage died at the end:

deleting app-accessibility/gnome-mag/files/digest-gnome-mag-0.11.11
deleting app-accessibility/gnome-mag/files/digest-gnome-mag-0.10.4

Number of files: 113281
Number of files transferred: 2980
Total file size: 88664800 bytes
Total transferred file size: 5950431 bytes
Literal data: 5950431 bytes
Matched data: 0 bytes
File list size: 2551394
Total bytes written: 59781
Total bytes read: 8636699

wrote 59781 bytes  read 8636699 bytes  80897.49 bytes/sec
total size is 88664800  speedup is 10.20

>>> Updating Portage cache:  100%



Performing Global Updates: /usr/portage/profiles/updates/1Q-2005
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db move'
  s='/var/db SLOT move' S='binary SLOT move'
p='update /etc/portage/package.*'
[EMAIL PROTECTED] (most recent call last):
  File "/usr/bin/emerge", line 2630, in ?
reload(portage)
  File "/usr/lib/portage/pym/portage.py", line 7241, in ?
do_upgrade(mykey)
  File "/usr/lib/portage/pym/portage.py", line 7132, in do_upgrade
db["/"]["vartree"].dbapi.move_ent(mysplit)
  File "/usr/lib/portage/pym/portage.py", line 4555, in move_ent
fixdbentries(origcp, newcp, pkgdir)
  File "/usr/lib/portage/pym/portage.py", line 3837, in fixdbentries
f = open(dbdir+"/"+myfile, "r")
IOError: [Errno 21] Is a directory

And now everything falls over. Is there a known problem and a way to fix
this?

-- 
Alex Bennee <[EMAIL PROTECTED]>

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage broken

2003-09-17 Thread Andy Smith
On Wed, Sep 17, 2003 at 05:44:46PM +0900, Jason Stubbs wrote:
> On Wednesday 17 September 2003 15:52, Jason Stubbs wrote:
> > On Wednesday 17 September 2003 15:38, Andy Smith wrote:
> > > Hmm.  So it's quite likely that gcc is the culprit here.  Yet that
> > > newly installed gcc does seem to work; I can compile things.
> >
> > gcc-3.3.1-r2 has some bugs. Check on bugzilla. There's also been a bit of
> > mention of gentoo-dev.
> 
> It's also mentioned in the forums. Check this thread for downloading a working 
> version: http://forums.gentoo.org/viewtopic.php?t=84803

Jason,

you're a life saver, thanks!

I followed the suggested workaround of moving libgcc_s.a in
http://forums.gentoo.org/viewtopic.php?t=84803&postdays=0&postorder=asc&start=25&sid=28c4e3c9a33ac8d51fc7a94ce5e6a3c1
- this made my gcc work.

I then manually unpacked python and installed it, and it worked.

Then the rescue archive of portage allowed me to get a working
portage.

I am now in the process of merging a working version of gcc, then
python, and then I guess I should do my whole system.

In light of this unfortunate incident, is there any easy way to
choose ebuilds from ~x86 in general, but from x86 for some specific
ebuilds that should "never be allowed to break"?  I am thinking
binutils, gcc, python, portage for example.

I'm happy for my web browsers, irc clients and what not to be
bleeding edge but unstable, but it kind of ruins my day when I merge
a broken gcc that recompiles half my system and breaks it.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] portage broken

2003-09-17 Thread Jason Stubbs
On Wednesday 17 September 2003 15:52, Jason Stubbs wrote:
> On Wednesday 17 September 2003 15:38, Andy Smith wrote:
> > Hmm.  So it's quite likely that gcc is the culprit here.  Yet that
> > newly installed gcc does seem to work; I can compile things.
>
> gcc-3.3.1-r2 has some bugs. Check on bugzilla. There's also been a bit of
> mention of gentoo-dev.

It's also mentioned in the forums. Check this thread for downloading a working 
version: http://forums.gentoo.org/viewtopic.php?t=84803

Jason

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] portage broken

2003-09-16 Thread Jason Stubbs
On Wednesday 17 September 2003 15:38, Andy Smith wrote:
> On Wed, Sep 17, 2003 at 03:12:50PM +0900, Jason Stubbs wrote:
> > On Wednesday 17 September 2003 14:58, Andy Smith wrote:
> > > Does anyone have any more ideas?
> >
> > Check /var/log/emerge.log and post all the packages that were upgraded
> > since the last time you used portage without problems. We can then go on
> > from there.
>
> [EMAIL PROTECTED] andy]$ grep '>>> emerge.*of 109' /var/log/emerge.log
> 1063758884:  >>> emerge (1 of 109) sys-devel/gnuconfig-20030708 to /
> 1063758912:  >>> emerge (2 of 109) sys-libs/db-1.85-r1 to /
> 1063758974:  >>> emerge (3 of 109) sys-libs/gdbm-1.8.0-r5 to /
> 1063759058:  >>> emerge (4 of 109) sys-devel/gettext-0.12.1 to /
> 1063759530:  >>> emerge (5 of 109) sys-apps/sed-4.0.7 to /
> 1063759624:  >>> emerge (6 of 109) sys-libs/ncurses-5.3-r4 to /
> 1063760209:  >>> emerge (7 of 109) sys-apps/texinfo-4.6 to /
> 1063760354:  >>> emerge (8 of 109) sys-apps/groff-1.18.1-r3 to /
> 1063760637:  >>> emerge (9 of 109) sys-apps/cronbase-0.2.1-r2 to /
> 1063760665:  >>> emerge (10 of 109) sys-apps/man-1.5m to /
> 1063760739:  >>> emerge (11 of 109) dev-java/java-config-0.2.8-r2 to /
> 1063760767:  >>> emerge (12 of 109) dev-java/blackdown-jdk-1.4.1 to /
> 1063760913:  >>> emerge (13 of 109) sys-libs/db-4.0.14-r2 to /
> 1063761476:  >>> emerge (14 of 109) sys-libs/zlib-1.1.4-r1 to /
> 1063761518:  >>> emerge (15 of 109) dev-python/python-fchksum-1.6.1-r1 to /
> 1063761552:  >>> emerge (16 of 109) sys-apps/bzip2-1.0.2-r2 to /
> 1063761602:  >>> emerge (17 of 109) sys-apps/coreutils-5.0-r4 to /
> 1063762060:  >>> emerge (18 of 109) sys-apps/debianutils-1.16.7-r3 to /
> 1063762093:  >>> emerge (19 of 109) app-shells/bash-2.05b-r7 to /
> 1063762346:  >>> emerge (20 of 109) sys-libs/readline-4.3-r4 to /
> 1063762446:  >>> emerge (21 of 109) dev-libs/expat-1.95.6-r1 to /
> 1063762520:  >>> emerge (22 of 109) dev-lang/python-2.2.3-r1 to /
> 1063763110:  >>> emerge (23 of 109) sys-apps/portage-2.0.49-r4 to /
> 1063763177:  >>> emerge (24 of 109) sys-devel/libperl-5.8.0 to /
> 1063763655:  >>> emerge (25 of 109) dev-lang/perl-5.8.0-r12 to /
> 1063765366:  >>> emerge (26 of 109) sys-devel/binutils-2.14.90.0.6-r3 to /
> 1063766107:  >>> emerge (27 of 109) sys-apps/gawk-3.1.3 to /
> 1063766224:  >>> emerge (28 of 109) sys-kernel/linux-headers-2.4.19-r1 to /
> 1063766343:  >>> emerge (29 of 109) sys-devel/m4-1.4 to /
> 1063766381:  >>> emerge (30 of 109) sys-devel/autoconf-2.57-r1 to /
> 1063766410:  >>> emerge (31 of 109) sys-devel/flex-2.5.4a-r5 to /
> 1063766433:  >>> emerge (32 of 109) sys-apps/miscfiles-1.3-r1 to /
> 1063766442:  >>> emerge (33 of 109) sys-devel/gcc-config-1.3.3-r1 to /
> 1063766452:  >>> emerge (34 of 109) sys-libs/cracklib-2.7-r7 to /
> 1063766467:  >>> emerge (35 of 109) sys-devel/bison-1.875 to /
> 1063766565:  >>> emerge (36 of 109) sys-devel/gcc-3.3.1-r1 to /

There was nothing interesting in packages 37 - 109?

> Hmm.  So it's quite likely that gcc is the culprit here.  Yet that
> newly installed gcc does seem to work; I can compile things.

gcc-3.3.1-r2 has some bugs. Check on bugzilla. There's also been a bit of 
mention of gentoo-dev.

> Shall I download the source for an earlier version of gcc and
> compile and install it within my home directory, then try to use it
> to compile python and see if it makes a difference?

The only problem then is if your current (buggy) gcc will successfully compile 
the older version or not.

> Alternatively it could be binutils?  Really scared about leaving
> myself with no working gcc/binutils though.

binutils is okay. I'm runing the latest ~x86 version and have had no problems. 
Have almost finished recompiling world with it - recompiling for another 
reason though.

> I just meant to show that I'm willing to try anything no matter how
> wacky in the hope of being able to recover from here without a total
> reinstall.

That I can respect. Do you have a GRP cd? Worst comes to worst you could 
always just untar the .tbz2 packages you need, fix up your /var/db/pkg and 
/var/cache/edb/virtuals and then upgrade to what is safe (not gcc331-r2 at 
this stage ;-)

Jason

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] portage broken

2003-09-16 Thread Andy Smith
On Wed, Sep 17, 2003 at 03:12:50PM +0900, Jason Stubbs wrote:
> On Wednesday 17 September 2003 14:58, Andy Smith wrote:
> > Does anyone have any more ideas? 
> 
> Check /var/log/emerge.log and post all the packages that were upgraded since 
> the last time you used portage without problems. We can then go on from 
> there.

[EMAIL PROTECTED] andy]$ grep '>>> emerge.*of 109' /var/log/emerge.log 
1063758884:  >>> emerge (1 of 109) sys-devel/gnuconfig-20030708 to /
1063758912:  >>> emerge (2 of 109) sys-libs/db-1.85-r1 to /
1063758974:  >>> emerge (3 of 109) sys-libs/gdbm-1.8.0-r5 to /
1063759058:  >>> emerge (4 of 109) sys-devel/gettext-0.12.1 to /
1063759530:  >>> emerge (5 of 109) sys-apps/sed-4.0.7 to /
1063759624:  >>> emerge (6 of 109) sys-libs/ncurses-5.3-r4 to /
1063760209:  >>> emerge (7 of 109) sys-apps/texinfo-4.6 to /
1063760354:  >>> emerge (8 of 109) sys-apps/groff-1.18.1-r3 to /
1063760637:  >>> emerge (9 of 109) sys-apps/cronbase-0.2.1-r2 to /
1063760665:  >>> emerge (10 of 109) sys-apps/man-1.5m to /
1063760739:  >>> emerge (11 of 109) dev-java/java-config-0.2.8-r2 to /
1063760767:  >>> emerge (12 of 109) dev-java/blackdown-jdk-1.4.1 to /
1063760913:  >>> emerge (13 of 109) sys-libs/db-4.0.14-r2 to /
1063761476:  >>> emerge (14 of 109) sys-libs/zlib-1.1.4-r1 to /
1063761518:  >>> emerge (15 of 109) dev-python/python-fchksum-1.6.1-r1 to /
1063761552:  >>> emerge (16 of 109) sys-apps/bzip2-1.0.2-r2 to /
1063761602:  >>> emerge (17 of 109) sys-apps/coreutils-5.0-r4 to /
1063762060:  >>> emerge (18 of 109) sys-apps/debianutils-1.16.7-r3 to /
1063762093:  >>> emerge (19 of 109) app-shells/bash-2.05b-r7 to /
1063762346:  >>> emerge (20 of 109) sys-libs/readline-4.3-r4 to /
1063762446:  >>> emerge (21 of 109) dev-libs/expat-1.95.6-r1 to /
1063762520:  >>> emerge (22 of 109) dev-lang/python-2.2.3-r1 to /
1063763110:  >>> emerge (23 of 109) sys-apps/portage-2.0.49-r4 to /
1063763177:  >>> emerge (24 of 109) sys-devel/libperl-5.8.0 to /
1063763655:  >>> emerge (25 of 109) dev-lang/perl-5.8.0-r12 to /
1063765366:  >>> emerge (26 of 109) sys-devel/binutils-2.14.90.0.6-r3 to /
1063766107:  >>> emerge (27 of 109) sys-apps/gawk-3.1.3 to /
1063766224:  >>> emerge (28 of 109) sys-kernel/linux-headers-2.4.19-r1 to /
1063766343:  >>> emerge (29 of 109) sys-devel/m4-1.4 to /
1063766381:  >>> emerge (30 of 109) sys-devel/autoconf-2.57-r1 to /
1063766410:  >>> emerge (31 of 109) sys-devel/flex-2.5.4a-r5 to /
1063766433:  >>> emerge (32 of 109) sys-apps/miscfiles-1.3-r1 to /
1063766442:  >>> emerge (33 of 109) sys-devel/gcc-config-1.3.3-r1 to /
1063766452:  >>> emerge (34 of 109) sys-libs/cracklib-2.7-r7 to /
1063766467:  >>> emerge (35 of 109) sys-devel/bison-1.875 to /
1063766565:  >>> emerge (36 of 109) sys-devel/gcc-3.3.1-r1 to /

Hmm.  So it's quite likely that gcc is the culprit here.  Yet that
newly installed gcc does seem to work; I can compile things.

Shall I download the source for an earlier version of gcc and
compile and install it within my home directory, then try to use it
to compile python and see if it makes a difference?

Alternatively it could be binutils?  Really scared about leaving
myself with no working gcc/binutils though.

> > If I end up having to reinstall
> > the OS I probably will not be putting gentoo back, as it took me 4
> > days to have it working exactly as I would like and I can't spare
> > that sort of time right now.
> 
> I have to have a whinge about this. Many people ask for help and then end it 
> with saying, "if you can't help, i'm gonna leave!"

Well, I didn't quite say that.  I was just expressing my reasons for
not wanting to completely reinstall, which I could see many people
thinking would be the easiest option.

> To be perfectly honest, 
> every time I see something like this, I get the inclination to not help the 
> person at all. It is totally unrelated to the problem and therefore 
> unnecessary. I could say a lot more but I'd just be repeating myself...

This isn't really unrelated to my problem.  If I had 4 days spare
then I would probably reinstall.  Also related is the fact that this
is my desktop machine which I need to do my work on, and recently
one of its (two) P3 700 CPUs died, so if I did start again I'd be
recompiling everything with half the CPU power.

I see what you're saying though.  I agree that when you see people
say things like "if no one can help me then I'm going back to
windows" or something then you just think, "go back to windows
then!"

I just meant to show that I'm willing to try anything no matter how
wacky in the hope of being able to recover from here without a total
reinstall.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] portage broken

2003-09-16 Thread Jason Stubbs
On Wednesday 17 September 2003 14:58, Andy Smith wrote:
> On Wed, Sep 17, 2003 at 06:41:14AM +0100, Andy Smith wrote:
> > gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I.
> > -I/home/andy/tmp/Python-2.2.2/./Include -I/u sr/local/include
> > -I/home/andy/tmp/Python-2.2.2/Include -I/home/andy/tmp/Python-2.2.2 -c
> > /home/andy/t mp/Python-2.2.2/Modules/selectmodule.c -o
> > build/temp.linux-i686-2.2/selectmodule.o gcc -shared
> > build/temp.linux-i686-2.2/selectmodule.o -L/usr/local/lib -o
> > build/lib.linux-i686-2.2/se lect.so
> > WARNING: removing "select" since importing it failed
>
> In fact *every single python module* has this error, which seems to
> install a python with no modules.  So, I can hypothesis that the
> following happened:
>
> - The emerge -e recompiled some essential part of my system
>   involving the development of dynamically loaded modules, and it
>   did it wrongly (I am using ~x86 btw, so maybe I am asking for
>   this?)
>
> - It then went on to recompile python with all its modules failing
>   to import.
>
> - This python was installed, leaving me with no working portage.
>
> I now have to work out exactly what was installed that broke this.
> The thing is though, that as far as I can tell, gcc and binutils
> do seem to work.  I really don't want to go messing with those
> especially without portage to configure them properly for gentoo.
>
> Does anyone have any more ideas? 

Check /var/log/emerge.log and post all the packages that were upgraded since 
the last time you used portage without problems. We can then go on from 
there.

> If I end up having to reinstall
> the OS I probably will not be putting gentoo back, as it took me 4
> days to have it working exactly as I would like and I can't spare
> that sort of time right now.

I have to have a whinge about this. Many people ask for help and then end it 
with saying, "if you can't help, i'm gonna leave!" To be perfectly honest, 
every time I see something like this, I get the inclination to not help the 
person at all. It is totally unrelated to the problem and therefore 
unnecessary. I could say a lot more but I'd just be repeating myself...

Jason

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] portage broken

2003-09-16 Thread Andy Smith
On Wed, Sep 17, 2003 at 06:41:14AM +0100, Andy Smith wrote:
> gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I. 
> -I/home/andy/tmp/Python-2.2.2/./Include -I/u
> sr/local/include -I/home/andy/tmp/Python-2.2.2/Include -I/home/andy/tmp/Python-2.2.2 
> -c /home/andy/t
> mp/Python-2.2.2/Modules/selectmodule.c -o build/temp.linux-i686-2.2/selectmodule.o
> gcc -shared build/temp.linux-i686-2.2/selectmodule.o -L/usr/local/lib -o 
> build/lib.linux-i686-2.2/se
> lect.so
> WARNING: removing "select" since importing it failed

In fact *every single python module* has this error, which seems to
install a python with no modules.  So, I can hypothesis that the
following happened:

- The emerge -e recompiled some essential part of my system
  involving the development of dynamically loaded modules, and it
  did it wrongly (I am using ~x86 btw, so maybe I am asking for
  this?)

- It then went on to recompile python with all its modules failing
  to import.

- This python was installed, leaving me with no working portage.

I now have to work out exactly what was installed that broke this.
The thing is though, that as far as I can tell, gcc and binutils
do seem to work.  I really don't want to go messing with those
especially without portage to configure them properly for gentoo.

Does anyone have any more ideas?  If I end up having to reinstall
the OS I probably will not be putting gentoo back, as it took me 4
days to have it working exactly as I would like and I can't spare
that sort of time right now.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] portage broken

2003-09-16 Thread blade-
Sorry I can't help here, had a look on google and couldn't find anything 
useful. Maybe someone with a bit more experience could help more.

Regards.

Andy Smith wrote:

On Wed, Sep 17, 2003 at 02:54:07PM +1000, blade- wrote:
 

Hi,

I found this on the forum for you since you cant get there. Its how to 
manually re-install python.

# cd
# tar xzf /usr/portage/distfiles/Python-2.2.1.tgz
# cd Python-2.2.1
# ./configure --with-fpectl --infodir=/usr/share/info/ 
--mandir=/usr/share/man
# make
# make install prefix=/usr
# rm /usr/bin/python 2>/dev/null
# ln -s /usr/bin/python2 /usr/bin/python

This guy had a simular problem and he said this fixed it.
   

Thanks.  Now we are getting somewhere.

It was the "select" module that portage was complaining about, and
when I compile python from source and install it I see this:
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I. 
-I/home/andy/tmp/Python-2.2.2/./Include -I/u
sr/local/include -I/home/andy/tmp/Python-2.2.2/Include -I/home/andy/tmp/Python-2.2.2 
-c /home/andy/t
mp/Python-2.2.2/Modules/selectmodule.c -o build/temp.linux-i686-2.2/selectmodule.o
gcc -shared build/temp.linux-i686-2.2/selectmodule.o -L/usr/local/lib -o 
build/lib.linux-i686-2.2/se
lect.so
WARNING: removing "select" since importing it failed
Needless to say, python still does not have a select module after
this python is installed.  Now I need to figure out why it can't
compile this and I may be part of the way towards fixing this.
--
[EMAIL PROTECTED] mailing list
 



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] portage broken

2003-09-16 Thread Andy Smith
On Wed, Sep 17, 2003 at 02:54:07PM +1000, blade- wrote:
> Hi,
> 
> I found this on the forum for you since you cant get there. Its how to 
> manually re-install python.
> 
> # cd
> # tar xzf /usr/portage/distfiles/Python-2.2.1.tgz
> # cd Python-2.2.1
> 
> # ./configure --with-fpectl --infodir=/usr/share/info/ 
> --mandir=/usr/share/man
> # make
> # make install prefix=/usr
> # rm /usr/bin/python 2>/dev/null
> # ln -s /usr/bin/python2 /usr/bin/python
> 
> This guy had a simular problem and he said this fixed it.

Thanks.  Now we are getting somewhere.

It was the "select" module that portage was complaining about, and
when I compile python from source and install it I see this:

gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I. 
-I/home/andy/tmp/Python-2.2.2/./Include -I/u
sr/local/include -I/home/andy/tmp/Python-2.2.2/Include -I/home/andy/tmp/Python-2.2.2 
-c /home/andy/t
mp/Python-2.2.2/Modules/selectmodule.c -o build/temp.linux-i686-2.2/selectmodule.o
gcc -shared build/temp.linux-i686-2.2/selectmodule.o -L/usr/local/lib -o 
build/lib.linux-i686-2.2/se
lect.so
WARNING: removing "select" since importing it failed

Needless to say, python still does not have a select module after
this python is installed.  Now I need to figure out why it can't
compile this and I may be part of the way towards fixing this.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] portage broken

2003-09-16 Thread blade-
Hi,

I found this on the forum for you since you cant get there. Its how to 
manually re-install python.

# cd
# tar xzf /usr/portage/distfiles/Python-2.2.1.tgz
# cd Python-2.2.1
# ./configure --with-fpectl --infodir=/usr/share/info/ 
--mandir=/usr/share/man
# make
# make install prefix=/usr
# rm /usr/bin/python 2>/dev/null
# ln -s /usr/bin/python2 /usr/bin/python

This guy had a simular problem and he said this fixed it.

fede files # emerge rsync
Traceback (most recent call last):
 File "/usr/bin/emerge", line 6, in ?
   import 
os,sys,portage,emergehelp,xpak,string,re,commands,time,threading,shutil,traceback 

 File "/usr/lib/python2.2/threading.py", line 5, in ?
   import thread
*ImportError*: No module named thread
Andy Smith wrote:

On Tue, Sep 16, 2003 at 11:22:11PM -0500, David H. Askew wrote:
 

I've never done this, but take a look at :

/usr/portage/sys-apps/portage/files/README.RESCUE
   

Thanks for the suggestion.  I tried this and afterwards I still
get:
Traceback (most recent call last):
 File "/usr/bin/emerge", line 6, in ?
   import 
os,sys,portage,emergehelp,xpak,string,re,commands,time,threading,shutil,traceback
 File "/usr/lib/python2.2/site-packages/portage.py", line 10, in ?
   from select import *
ImportError: No module named select
on any invocation of emerge.  This is the same as before. :(
 



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] portage broken

2003-09-16 Thread Andy Smith
On Tue, Sep 16, 2003 at 11:22:11PM -0500, David H. Askew wrote:
> 
> I've never done this, but take a look at :
> 
> /usr/portage/sys-apps/portage/files/README.RESCUE

Thanks for the suggestion.  I tried this and afterwards I still
get:

Traceback (most recent call last):
  File "/usr/bin/emerge", line 6, in ?
import 
os,sys,portage,emergehelp,xpak,string,re,commands,time,threading,shutil,traceback
  File "/usr/lib/python2.2/site-packages/portage.py", line 10, in ?
from select import *
ImportError: No module named select

on any invocation of emerge.  This is the same as before. :(


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] portage broken

2003-09-16 Thread David H. Askew

I've never done this, but take a look at :

/usr/portage/sys-apps/portage/files/README.RESCUE

..just trying to be helpful 

On Tue, 2003-09-16 at 23:20, Andy Smith wrote:
> Hello,
> 
> My galeon web browser mysteriously stopped working today.  In an
> attempt to get it to work again, I did the following:
> 
> emerge -euv galeon
> 
> The idea was to recompile galeon and absolutely everything it
> depends upon.
> 
> I had to stop the compilation at one point with a control-c,
> although this was at a point that should have been safe to do this.
> When I then tried to run emerge again, I got this:
> 
> Traceback (most recent call last):
>   File "/usr/bin/emerge", line 14, in ?
> import portage
>   File "/usr/lib/python2.2/site-packages/portage.py", line 10, in ?
> from select import *
> ImportError: No module named select
> 
> This happens whatever arguments I give to emerge, and obviously
> means that the python select module is for some reason not
> installed.  Python was not the ebuild that I interrupted, so I am
> confused why this should be the case.
> 
> So, I am now completely unable to run emerge to do anything else.
> 
> Does anyone have any suggestions on how I can get a working portage
> setup now?
> 
> I am sorry if this is explained in the forum, I am having difficulty
> viewing web pages at the moment due to having no working web
> browser (I have wget though!).
> 
> Regards,
> Andy.
> 
> --
> [EMAIL PROTECTED] mailing list
-- 
How many Microsoft engineers does it take to change a light bulb ?

Answer : None, they just declare darkness a new standard. 



signature.asc
Description: This is a digitally signed message part


[gentoo-user] portage broken

2003-09-16 Thread Andy Smith
Hello,

My galeon web browser mysteriously stopped working today.  In an
attempt to get it to work again, I did the following:

emerge -euv galeon

The idea was to recompile galeon and absolutely everything it
depends upon.

I had to stop the compilation at one point with a control-c,
although this was at a point that should have been safe to do this.
When I then tried to run emerge again, I got this:

Traceback (most recent call last):
  File "/usr/bin/emerge", line 14, in ?
import portage
  File "/usr/lib/python2.2/site-packages/portage.py", line 10, in ?
from select import *
ImportError: No module named select

This happens whatever arguments I give to emerge, and obviously
means that the python select module is for some reason not
installed.  Python was not the ebuild that I interrupted, so I am
confused why this should be the case.

So, I am now completely unable to run emerge to do anything else.

Does anyone have any suggestions on how I can get a working portage
setup now?

I am sorry if this is explained in the forum, I am having difficulty
viewing web pages at the moment due to having no working web
browser (I have wget though!).

Regards,
Andy.

--
[EMAIL PROTECTED] mailing list