Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
recreate /var/cache/edb/world file
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
russTypeS
n00b
n00b


Joined: 14 May 2002
Posts: 12

PostPosted: Tue May 14, 2002 12:45 am    Post subject: recreate /var/cache/edb/world file Reply with quote

somehow after all the portage hoopla (i've been running gentoo on this box since .9something). my world file has only 4 packages in it, only ones i've updated manually or recently installed. this sucks for now when i do an update world only those 4 packages are checked for updates. does anyone know how i can re-create this file based on the packages currently installed on the system?

thanks...

--
Russ
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Tue May 14, 2002 12:18 pm    Post subject: Reply with quote

Well it would seem all could be re-created by a well written bash script, but someone else will have to have a crack at it since my scripting skills are not good .
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
474
l33t
l33t


Joined: 19 Apr 2002
Posts: 714

PostPosted: Tue May 14, 2002 5:06 pm    Post subject: Perl power Reply with quote

BASH? I don't know enough about BASH ... but who needs BASH when you have PERL :)

EDIT: I've put this in the tips section. See https://forums.gentoo.org/viewtopic.php?t=2480
Back to top
View user's profile Send private message
474
l33t
l33t


Joined: 19 Apr 2002
Posts: 714

PostPosted: Wed May 15, 2002 6:30 pm    Post subject: Re: script Reply with quote

Improved it a bit ... it works much better now (i.e. it excludes builds that are part of the system set and performs some sanity checks). Found out that emerge --update world just won't work if certain things are in the world file - it acts as though there's nothing to update. I'm trying to work out which entries cause this or if it's for some other reason ... if anyone knows the answer, let me know.
Back to top
View user's profile Send private message
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