View previous topic :: View next topic |
Author |
Message |
Robelix l33t
Joined: 21 Jul 2002 Posts: 760 Location: in a World created by a Flying Spaghetti Monster
|
Posted: Fri Jan 10, 2003 11:57 am Post subject: emerge -u world forgets some packages |
|
|
I recently had an interesting problem:
emerge -u world failed to build alsaplayer-0.99.73. The error happened when compiling FlacTag.cpp, so I had a look to flac:
emerge search flac showed that I had 1.0.3 installed and 1.0.4 is available, but was not updated with the emerge -u world.
emerge -u flac did the update, and also alsaplayer compiled fine then.
Later building audacity-1.0.0-r2 failed. This time it was wxGTK. Again a new version available, but emerge -u world forgot to update it, emerge -u wxGTK did the update.
How is it possible that emerge -u world forgets some packages? |
|
Back to top |
|
|
MadEagle n00b
Joined: 03 Jun 2002 Posts: 59 Location: Hamburg, Germany
|
Posted: Fri Jan 10, 2003 1:26 pm Post subject: |
|
|
I am not sure wether this applies to your problem but "emerge -u world" only updates packages that are in the world file (/var/cache/edb/world). If you want to update every single package including dependencies use "emerge -u --deep world".
MadEagle |
|
Back to top |
|
|
Robelix l33t
Joined: 21 Jul 2002 Posts: 760 Location: in a World created by a Flying Spaghetti Monster
|
Posted: Sat Jan 11, 2003 1:06 am Post subject: |
|
|
emerge -p -u --deep wold shows me 27 additional packages.
Any idea why all this stuff was not added to the world-file? |
|
Back to top |
|
|
BlackBart Apprentice
Joined: 07 Oct 2002 Posts: 252
|
Posted: Sat Jan 11, 2003 3:20 am Post subject: |
|
|
the world file is only the packages you explicitly emerged by typing
emerge packagename
emerge --deep emerges dependencies of dependencies. |
|
Back to top |
|
|
Robelix l33t
Joined: 21 Jul 2002 Posts: 760 Location: in a World created by a Flying Spaghetti Monster
|
Posted: Sat Jan 11, 2003 12:36 pm Post subject: |
|
|
So if - just for example - I run "emerge alsaplayer" and this builds flac and alsaplayer. Then alsaplayer will be added to world, but not flac, right?
Another question:
Is it save to add packages to the world file manually? like:
echo "media-libs/flac" >> /var/cache/edb/world |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Jan 13, 2003 4:54 am Post subject: |
|
|
Robelix wrote: | alsaplayer will be added to world, but not flac, right? | Right.
Quote: | Is it save to add packages to the world file manually? like:
echo "media-libs/flac" >> /var/cache/edb/world | I have not heard of any problems resulting from doing this. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Robelix l33t
Joined: 21 Jul 2002 Posts: 760 Location: in a World created by a Flying Spaghetti Monster
|
Posted: Mon Jan 13, 2003 1:19 pm Post subject: |
|
|
Thx for help! |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Jan 14, 2003 7:51 pm Post subject: |
|
|
I said earlier that manually adding things to the world file was presumed OK, but Problem/Misunderstanding with 'emerge -u world' may be changing my mind. I don't know if older Portages were more forgiving. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|