Forums

Skip to content

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

Lost world file, regenworld is not working [SOLVED]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
Ernetas
Apprentice
Apprentice
Posts: 159
Joined: Wed Apr 19, 2006 7:37 pm
Location: China

Lost world file, regenworld is not working [SOLVED]

  • Quote

Post by Ernetas » Fri Jul 04, 2008 10:10 am

I've lost my /var/lib/portage/world file and don't know what to do...
I've been trying to run regenworld but it ends just like that:

Code: Select all

<..>
add to world: net-p2p/linuxdcpp
add to world: net-p2p/amule
add to world: dev-cpp/gtkmm
add to world: x11-libs/openmotif
add to world: net-print/foo2zjs
Traceback (most recent call last):
  File "/usr/sbin/regenworld", line 83, in ?
    mylist=portage.db["/"]["vartree"].dbapi.match(mykey)
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 554, in match
    mydep = dep_expand(
  File "/usr/lib/portage/pym/portage/__init__.py", line 5998, in dep_expand
    return portage.dep.Atom(prefix + expanded + postfix)
  File "/usr/lib/portage/pym/portage/dep.py", line 400, in __init__
    raise InvalidAtom(s)
portage.exception.InvalidAtom: =sys-devel/gnuconfig
What should I do?
I've tried gnuconfig versions 20070724 and 20080123.
Last edited by Ernetas on Fri Jul 04, 2008 10:24 am, edited 1 time in total.
Top
Ernetas
Apprentice
Apprentice
Posts: 159
Joined: Wed Apr 19, 2006 7:37 pm
Location: China

  • Quote

Post by Ernetas » Fri Jul 04, 2008 10:23 am

Okay, I've solved this problem by running this (I've never found this anywhere so I didn't deleted this topic):

Code: Select all

# eix -I --only-names > /var/lib/portage/world
And now there's another problem... Running „emerge -av world“ gives me to compile all packages. So I just added this line into /etc/make.conf:

Code: Select all

EMERGE_DEFAULT_OPTS="--deep -u"
Is that good?
Top
hielvc
Advocate
Advocate
Posts: 2805
Joined: Fri Apr 19, 2002 5:55 pm
Location: Oceanside, Ca

  • Quote

Post by hielvc » Fri Jul 04, 2008 2:54 pm

Ernetas now you need to " emerge udept ". Then run " dep -w ". This will clean up your world file. What you did was to put everything installed into yours. All it should have is programs you wanted installed.
An A-Z Index of the Linux BASH command line
Top
Post Reply

3 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