Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -u world forgets some packages
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
Robelix
l33t
l33t


Joined: 21 Jul 2002
Posts: 760
Location: in a World created by a Flying Spaghetti Monster

PostPosted: Fri Jan 10, 2003 11:57 am    Post subject: emerge -u world forgets some packages Reply with quote

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
View user's profile Send private message
MadEagle
n00b
n00b


Joined: 03 Jun 2002
Posts: 59
Location: Hamburg, Germany

PostPosted: Fri Jan 10, 2003 1:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Robelix
l33t
l33t


Joined: 21 Jul 2002
Posts: 760
Location: in a World created by a Flying Spaghetti Monster

PostPosted: Sat Jan 11, 2003 1:06 am    Post subject: Reply with quote

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
View user's profile Send private message
BlackBart
Apprentice
Apprentice


Joined: 07 Oct 2002
Posts: 252

PostPosted: Sat Jan 11, 2003 3:20 am    Post subject: Reply with quote

the world file is only the packages you explicitly emerged by typing
emerge packagename
emerge --deep emerges dependencies of dependencies.
Back to top
View user's profile Send private message
Robelix
l33t
l33t


Joined: 21 Jul 2002
Posts: 760
Location: in a World created by a Flying Spaghetti Monster

PostPosted: Sat Jan 11, 2003 12:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Jan 13, 2003 4:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Robelix
l33t
l33t


Joined: 21 Jul 2002
Posts: 760
Location: in a World created by a Flying Spaghetti Monster

PostPosted: Mon Jan 13, 2003 1:19 pm    Post subject: Reply with quote

Thx for help!
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Jan 14, 2003 7:51 pm    Post subject: Reply with quote

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
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