Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

emerge world error

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
kKDu
Apprentice
Apprentice
User avatar
Posts: 187
Joined: Mon Aug 18, 2003 7:56 pm

emerge world error

  • Quote

Post by kKDu » Sat Dec 06, 2003 10:38 am

When I run a emerge world, I get this error:

Code: Select all

...
[ebuild     U ] sys-fs/reiserfsprogs-3.6.11 [3.6.8]
[ebuild     U ] app-editors/vim-6.2-r5 [6.2-r3]
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2133, in ?
    mydepgraph.display(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1103, in display
    elif (not "--emptytree" in myopts) and portage.db[x[1]]["vartree"].exists_specific_cat(x[2]):
  File "/usr/lib/python2.2/site-packages/portage.py", line 3469, in exists_specific_cat
    self.invalidentry(self.root+"var/db/pkg/"+a[0]+"/"+x)
AttributeError: vartree instance has no attribute 'invalidentry'
Also I have this problem http://forums.gentoo.org/viewtopic.php?t=105082, but can't fix it.

Any ideas?
Top
Lolo-
n00b
n00b
Posts: 62
Joined: Sun Aug 04, 2002 6:40 pm
Location: SQY (France)
Contact:
Contact Lolo-
Website

  • Quote

Post by Lolo- » Sat Dec 06, 2003 12:19 pm

same here :(
Top
irf2003
Veteran
Veteran
Posts: 1078
Joined: Wed Sep 10, 2003 12:57 pm

  • Quote

Post by irf2003 » Sat Dec 06, 2003 12:28 pm

kKDu and Lolo, the following thread may be of interest to you in resolving the problem:
http://forums.gentoo.org/viewtopic.php?t=112232
do let me know whether the above resolves it.
HTH
Top
Lolo-
n00b
n00b
Posts: 62
Joined: Sun Aug 04, 2002 6:40 pm
Location: SQY (France)
Contact:
Contact Lolo-
Website

  • Quote

Post by Lolo- » Sat Dec 06, 2003 1:06 pm

I don't use the same version of python as in the thread you mentioned (no duplicates in the 2 directories)

Code: Select all

>python -V
Python 2.3.2

>emerge -V
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test9-mm5)
Top
kKDu
Apprentice
Apprentice
User avatar
Posts: 187
Joined: Mon Aug 18, 2003 7:56 pm

  • Quote

Post by kKDu » Sat Dec 06, 2003 2:06 pm

I have no /usr/lib/portage/pym, also no duplicates, too.
Top
Lolo-
n00b
n00b
Posts: 62
Joined: Sun Aug 04, 2002 6:40 pm
Location: SQY (France)
Contact:
Contact Lolo-
Website

  • Quote

Post by Lolo- » Sat Dec 06, 2003 2:20 pm

I managed to solve my problems :
- I had python 2.2.3 and 2.3.2 installed so I unmerged the 2.3.2
- I removed all "-MERGING-*" files and directory in /var/db/pkg/
- I ran /usr/lib/portage/bin/fix-db.py
and voilà !

Edit: no need to unmerge python-2.3.2, emerge still uses python-2.2.3
Top
irf2003
Veteran
Veteran
Posts: 1078
Joined: Wed Sep 10, 2003 12:57 pm

  • Quote

Post by irf2003 » Sat Dec 06, 2003 2:51 pm

Lolo- wrote:I managed to solve my problems :
- I had python 2.2.3 and 2.3.2 installed so I unmerged the 2.3.2
- I removed all "-MERGING-*" files and directory in /var/db/pkg/
- I ran /usr/lib/portage/bin/fix-db.py
and voilà !

Edit: no need to unmerge python-2.3.2, emerge still uses python-2.2.3
that's intersting Lolo, I did an etcat -v python, which among other things showed that two versions of python are installed in my box

Code: Select all

*  dev-lang/python :
        [   ] dev-lang/python-2.1.3-r1 (2.1)
        [   ] dev-lang/python-2.2.1-r5 (2.2)
        [   ] dev-lang/python-2.2.2 (2.2)
        [   ] dev-lang/python-2.2.3 (2.2)
        [   ] dev-lang/python-2.2.3-r1 (2.2)
        [  I] dev-lang/python-2.2.3-r5 (2.2)
        [ ~I] dev-lang/python-2.3.2-r2 (2.3)
I wonder whether it would be safe to umerge the older one. I am not having any of the emerge problem which some of you on this thread are having.
Top
Lolo-
n00b
n00b
Posts: 62
Joined: Sun Aug 04, 2002 6:40 pm
Location: SQY (France)
Contact:
Contact Lolo-
Website

  • Quote

Post by Lolo- » Sat Dec 06, 2003 6:53 pm

don't unmerge python 2.2.3, emerge depends on it ! the 2.3.2 ebuild says :
Python 2.2 is still installed and can be accessed via /usr/bin/python2.2.
Portage-2.0.49-r8 and below will continue to use python-2.2.x, so
think twice about uninstalling it, otherwise your system will break.
I have re-emerged the 2.3.2 and all works fine, so I think it was due to some mess in /var/db/pkg
Top
kKDu
Apprentice
Apprentice
User avatar
Posts: 187
Joined: Mon Aug 18, 2003 7:56 pm

  • Quote

Post by kKDu » Sat Dec 06, 2003 8:52 pm

I removed all "-MERGING-*" files and directory in /var/db/pkg/
Thanks this helps. :D
Top
wolf_99
Apprentice
Apprentice
Posts: 213
Joined: Wed Oct 22, 2003 4:51 pm
Contact:
Contact wolf_99
Website

  • Quote

Post by wolf_99 » Tue Mar 02, 2004 4:41 pm

Hi!
I get a simmler error. it goes:

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/etcat", line 78, in ?
    import portage
  File "/usr/lib/portage/pym/portage.py", line 6128, in ?
    settings.regenerate() # XXX: Regenerate use after we get a vartree -- GLOBAL  File "/usr/lib/portage/pym/portage.py", line 1392, in regenerate
    self.configdict["auto"]["USE"]=autouse(db[root]["vartree"],use_cache=use_cache)
  File "/usr/lib/portage/pym/portage.py", line 1121, in autouse
    myresult=dep_check(mydep,myvartree.dbapi,None,use="no",use_cache=use_cache)
  File "/usr/lib/portage/pym/portage.py", line 3309, in dep_check
    mylist=flatten(dep_listcleanup(dep_zapdeps(mysplit,mysplit2)))
  File "/usr/lib/portage/pym/portage.py", line 3052, in dep_zapdeps
    myresult=dep_zapdeps(unreduced[x],reduced[x])
  File "/usr/lib/portage/pym/portage.py", line 3038, in dep_zapdeps
    elif myportapi.match(x):
AttributeError: 'NoneType' object has no attribute 'match'
I get it al the time! when I try 'emerge -pvU world' , 'etcat -v python' and when I try '/usr/lib/portage/bin/fix-db.py', I always get the same error.

Any idias?
To err is human. To really fuck up, use a computer.
Top
davidsmind
n00b
n00b
User avatar
Posts: 61
Joined: Sat May 25, 2002 1:06 pm

Same Problem

  • Quote

Post by davidsmind » Wed Mar 03, 2004 11:20 am

Code: Select all

/var/db/pkg
linuxboxen pkg # find ./|grep -i merging
linuxboxen pkg #

Code: Select all

linuxboxen pkg # etcat -v python
[ Results for search key           : python ]
[ Candidate applications found : 5 ]

 Only printing found installed programs.

*  dev-lang/python-2.1.3-r1 :
        [   ] 2.1.3-r1 (2.1)

*  dev-lang/python-2.2.1-r5 :
        [   ] 2.2.1-r5 (2.2)

*  dev-lang/python-2.2.2 :
        [   ] 2.2.2 (2.2)

*  dev-lang/python-2.2.3-r5 :
        [  I] 2.2.3-r5 (2.2)

*  dev-lang/python-2.3.3 :
        [   ] 2.3.3 (2.3)

linuxboxen pkg #
hrmm....I've run /usr/lib/portage/bin/fix-db.py and according to /var/log/emerge_fix-db.log It didn't have to fix anything.

i'm not sure why my system is puking when portage tries to use the world file..any hints would be appiciated
Top
Post Reply

11 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic