| View previous topic :: View next topic |
| Author |
Message |
russTypeS n00b

Joined: 14 May 2002 Posts: 12
|
Posted: Tue May 14, 2002 12:45 am Post subject: recreate /var/cache/edb/world file |
|
|
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 |
|
 |
AutoBot l33t


Joined: 22 Apr 2002 Posts: 968 Location: Usually Out
|
Posted: Tue May 14, 2002 12:18 pm Post subject: |
|
|
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 |
|
 |
kerframil l33t


Joined: 19 Apr 2002 Posts: 710 Location: London, UK
|
Posted: Tue May 14, 2002 5:06 pm Post subject: Perl power |
|
|
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 http://forums.gentoo.org/viewtopic.php?t=2480 |
|
| Back to top |
|
 |
kerframil l33t


Joined: 19 Apr 2002 Posts: 710 Location: London, UK
|
Posted: Wed May 15, 2002 6:30 pm Post subject: Re: script |
|
|
| 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 |
|
 |
|