Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -u doesn't upgrade some packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
McTango
n00b
n00b


Joined: 11 Dec 2004
Posts: 66
Location: Formosa - Argentina

PostPosted: Wed Aug 03, 2011 11:48 am    Post subject: emerge -u doesn't upgrade some packages Reply with quote

Hi everybody...

After a general upgrade, everything went ok. No errors compiling New and Upgraded packages.
When i check if an upgrade still needed, seems to be that all packages are upgraded:
Code:
asimov / # emerge -upv world

These are the packages that would be merged, in order:

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 kB


But when i check for every package installed on the system, two packages still needs an upgrade:
Code:
asimov / # emerge -upev world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] .....
[ebuild   R    ] .....
[ebuild   R    ] .....
[ebuild     U  ] app-arch/cabextract-1.4 [1.3] USE="-extra-tools" 218 kB
[ebuild   R    ] .....
[ebuild   R    ] .....
[ebuild   R    ] .....
[ebuild     U  ] dev-lang/swig-2.0.2 [1.3.40-r1] USE="pcre%* -ccache -doc" 4,980 kB
[ebuild   R    ] .....
[ebuild   R    ] .....
[ebuild   R    ] .....

Total: 707 packages (2 upgrades, 705 reinstalls), Size of downloads: 5,197 kB


There is no problem at all. I can upgrade the packages doing:
Code:
asimov / # emerge -1b app-arch/cabextract dev-lang/swig


But this is not a normal situation. The system must upgrade all packages without extra human actions.
Any ideas?

Thanks.
_________________
Charly Tango
Formosa - Argentina
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
To emerge, or not to emerge: that is the question.
_________________
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3200

PostPosted: Wed Aug 03, 2011 2:26 pm    Post subject: Reply with quote

You will most likely want to be using `emerge -DuN world`, this updates packages in world, their dependencies, and any packages that have had changes to USE flags.

This still won't update every package all the time, although it will update anything that matters to update. You can pull in a few more by using `emerge -DuN --with-bdeps y world`, but the bdeps option is rarely needed (if at all for most users).
Back to top
View user's profile Send private message
McTango
n00b
n00b


Joined: 11 Dec 2004
Posts: 66
Location: Formosa - Argentina

PostPosted: Thu Aug 11, 2011 11:32 am    Post subject: Reply with quote

Code:
emerge -upDNv world
still says that no upgrades needed.

Code:
emerge -upeDNv world
still says that those two packages needs an upgrade.

So, the "finest eye" seems to be the -e option.

It is not the big deal anyway, i just upgraded "manually" the two packages.

As you said, for some reason "-uDN" won't update every package all the time.

Thanks a lot for the answer, mikegpitt.
_________________
Charly Tango
Formosa - Argentina
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
To emerge, or not to emerge: that is the question.
_________________
Back to top
View user's profile Send private message
i92guboj
Moderator
Moderator


Joined: 30 Nov 2004
Posts: 9895
Location: Córdoba (Spain)

PostPosted: Thu Aug 11, 2011 11:44 am    Post subject: Reply with quote

Try to add "--with-bdeps y" to the emerge command, and read about that option in the emerge man page.
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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