View previous topic :: View next topic |
Author |
Message |
mmartin n00b
Joined: 08 Nov 2002 Posts: 45
|
Posted: Wed Nov 13, 2002 3:03 pm Post subject: Dependencies error? |
|
|
Hi there,
I'm trying to bootstrap and it comes this error:
emerge rsync goes perfectly and I did it 3 times to make sure I didn't oversee something but no errors while downloading
so how do I fix that thing?
pls need help
Code: |
Using >=sys-apps/baselayout-1.7.3
Using >=sys-apps/portage-1.8.9_pre25
Using ~sys-devel/binutils-2.11.92.0.12.3
Using =sys-devel/gcc-2.95.3-r7
Using sys-devel/gettext
Using =sys-libs/glibc-2.2.5-r7
Using >=sys-apps/texinfo-4.2-r1
Using sys-libs/zlib
Using <sys-libs/ncurses-5.2.20020112a
Calculating dependencies !!! Name error in : category or package part missing.
Traceback (most recent call last):
File "/usr/bin/emerge", line 1220, in ?
mykey=portage.db[portage.root]["porttree"].dep_bestmatch(mypkg)
File "/usr/lib/python2.2/site-packages/portage.py", line 2096, in dep_bestmatch
if not self.hasnode(mykey):
File "/usr/lib/python2.2/site-packages/portage.py", line 1851, in hasnode
myreskey=self.resolve_key(mykey)
File "/usr/lib/python2.2/site-packages/portage.py", line 1800, in resolve_key
self.load(mykey)
File "/usr/lib/python2.2/site-packages/portage.py", line 1759, in load
self.populate()
File "/usr/lib/python2.2/site-packages/portage.py", line 2456, in populate
self.domask()
File "/usr/lib/python2.2/site-packages/portage.py", line 2464, in domask
self.zap(y)
File "/usr/lib/python2.2/site-packages/portage.py", line 1771, in zap
mykey=cps[0]+"/"+cps[1]
TypeError: unsubscriptable object
Calculating dependencies !!! Name error in : category or package part missing.
Traceback (most recent call last):
File "/usr/bin/emerge", line 1220, in ?
mykey=portage.db[portage.root]["porttree"].dep_bestmatch(mypkg)
File "/usr/lib/python2.2/site-packages/portage.py", line 2096, in dep_bestmatch
if not self.hasnode(mykey):
File "/usr/lib/python2.2/site-packages/portage.py", line 1851, in hasnode
myreskey=self.resolve_key(mykey)
File "/usr/lib/python2.2/site-packages/portage.py", line 1800, in resolve_key
self.load(mykey)
File "/usr/lib/python2.2/site-packages/portage.py", line 1759, in load
self.populate()
File "/usr/lib/python2.2/site-packages/portage.py", line 2456, in populate
self.domask()
File "/usr/lib/python2.2/site-packages/portage.py", line 2464, in domask
self.zap(y)
File "/usr/lib/python2.2/site-packages/portage.py", line 1771, in zap
mykey=cps[0]+"/"+cps[1]
TypeError: unsubscriptable object
|
_________________ thxMartin
Man honest. Will do everything.
Tired of cleaning yourself? - Let me do it.
Eat a frog in the morning and nothing worse will happen to you that day |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20089
|
Posted: Wed Nov 13, 2002 4:48 pm Post subject: |
|
|
What does emerge -p portage report? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
mmartin n00b
Joined: 08 Nov 2002 Posts: 45
|
Posted: Wed Nov 13, 2002 4:58 pm Post subject: |
|
|
There are some dependencies that make errors but I don't know why, I mean I'm doing it all from stage 1 and the neither the install-guide nor the portage guide tell me anything about why bootstrap.sh fails.
How do I tell emerge to get those things?
Code: |
emerge -p portage
These are the packages that I would merge, in order.
Calculating dependencies !!! Name error in : category or package part missing.
Traceback (most recent call last):
File "/usr/bin/emerge", line 1220, in ?
mykey=portage.db[portage.root]["porttree"].dep_bestmatch(mypkg)
File "/usr/lib/python2.2/site-packages/portage.py", line 2052, in dep_bestmatch
mypkgdep=self.dep_pkgcat(mypkgdep)
File "/usr/lib/python2.2/site-packages/portage.py", line 2035, in dep_pkgcat
if self.hasnode(cat+"/"+mypkgdep_packagename):
File "/usr/lib/python2.2/site-packages/portage.py", line 1851, in hasnode
myreskey=self.resolve_key(mykey)
File "/usr/lib/python2.2/site-packages/portage.py", line 1800, in resolve_key
self.load(mykey)
File "/usr/lib/python2.2/site-packages/portage.py", line 1759, in load
self.populate()
File "/usr/lib/python2.2/site-packages/portage.py", line 2456, in populate
self.domask()
File "/usr/lib/python2.2/site-packages/portage.py", line 2464, in domask
self.zap(y)
File "/usr/lib/python2.2/site-packages/portage.py", line 1771, in zap
mykey=cps[0]+"/"+cps[1]
TypeError: unsubscriptable object
|
_________________ thxMartin
Man honest. Will do everything.
Tired of cleaning yourself? - Let me do it.
Eat a frog in the morning and nothing worse will happen to you that day |
|
Back to top |
|
|
mmartin n00b
Joined: 08 Nov 2002 Posts: 45
|
Posted: Wed Nov 13, 2002 5:03 pm Post subject: |
|
|
am I missing something about the USE flags? I thougt it would be fine if I leave them as they are in /etc/make.conf or do I have to write ncurses etc.?
They are IMHO in make.defaults anyway
For the other Flags I tried the following:
USE="-kde -qt -qtmt -arts"
and
#USE=""
all in /etc/make.conf i didn't even touch make.defaults
(because I want to go for gnome, but this can't be the thing about the bootstrap, at least I hope that)
I tried
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=i686 -O3 -pipe"
CXXFLAGS="-mcpu=i686 -O3 -pipe"
as well as
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
but everythings the same _________________ thxMartin
Man honest. Will do everything.
Tired of cleaning yourself? - Let me do it.
Eat a frog in the morning and nothing worse will happen to you that day |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20089
|
Posted: Wed Nov 13, 2002 5:24 pm Post subject: |
|
|
I really doubt it is a USE variable issue. /etc/make.defaults is overwritten during rsync's, so you really shouldn't edit it. As for your CFLAGS/CXXFLAGS, I'd change -O3 to -O2 if you are using Gentoo 1.4 (gcc3), but I doubt that is the issue either.
What version of portage (emerge -V) do you have (V not v)? Also, what files do you have in the /usr/portage/sys-apps/portage/files directory? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
mmartin n00b
Joined: 08 Nov 2002 Posts: 45
|
Posted: Wed Nov 13, 2002 5:42 pm Post subject: |
|
|
Version is:
Portage 1.9.9
and I got these files in it
total 484
-rw-r--r-- 1 root root 687 Nov 13 04:20 README.RESCUE
-rw-r--r-- 1 root root 0 Nov 13 06:49 digest-portage-2.0.44
-rw-r--r-- 1 root root 0 Nov 13 17:36 foo.txt
-rw-r--r-- 1 root root 139900 Nov 13 00:20 portage-2.0.44.tar.bz2
-rw-r--r-- 1 root root 168027 Nov 13 00:26 portage-rescue-2.0.44-ppc.tbz2
-rw-r--r-- 1 root root 162695 Nov 13 00:18 portage-rescue-2.0.44-x86.tbz2
and I'm doing the whole thing in chroot with my SuSE80 running under KDE. If this makes any differences but as far as I understood Linux I could do everything from within that??
and I'm trying to get Gentoo 1.2 running not 1.4 if this is a big difference _________________ thxMartin
Man honest. Will do everything.
Tired of cleaning yourself? - Let me do it.
Eat a frog in the morning and nothing worse will happen to you that day |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20089
|
Posted: Wed Nov 13, 2002 6:11 pm Post subject: |
|
|
I suspect your version of portage is the culprit. The README.RESCUE file should give you instructions on how to upgrade portage using one of the files in that directory. Lets see if that works. Since your trying to get 1.2 running, you can leave the -O3 option. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
mmartin n00b
Joined: 08 Nov 2002 Posts: 45
|
Posted: Wed Nov 13, 2002 6:22 pm Post subject: |
|
|
Your are right.
I just found this thread which describes exactly my problem and I'll try that, but my personal taste ist that I don't like beta things (no harm ment, this is what I found that the official gentoo 1.4 is at the moment.
https://forums.gentoo.org/viewtopic.php?t=22115
Hoping now have solved my problem. _________________ thxMartin
Man honest. Will do everything.
Tired of cleaning yourself? - Let me do it.
Eat a frog in the morning and nothing worse will happen to you that day |
|
Back to top |
|
|
|
|
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
|
|