View previous topic :: View next topic |
Author |
Message |
haydongentoo n00b
Joined: 17 Jan 2003 Posts: 23
|
Posted: Tue Nov 27, 2012 3:14 pm Post subject: emerge update not updating packages? |
|
|
I just noticed that my typical 'emerge -uD @world' isn't catching some updates. The typical output:
Code: | mail linux-3.6.8 # emerge -puD @world
These are the packages that would be merged, in order:
Calculating dependencies... done!
* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news to read news items. |
And the output of update but also with the newuse flag:
Code: | mail linux-3.6.8 # emerge -puDN @world
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-libs/cracklib-2.8.19 USE="-build%"
[ebuild U ] sys-apps/ed-1.6 [1.4]
[ebuild R #] sys-devel/gcc-4.7.2 USE="(-nocxx%)"
[ebuild R ] sys-apps/busybox-1.20.2 USE="static* -systemd%"
[ebuild U ] net-misc/curl-7.26.0 [7.25.0-r1] CURL_SSL="-cyassl%"
[ebuild U ] dev-libs/libxml2-2.8.0-r3 [2.8.0-r2]
[ebuild R ] net-misc/openssh-5.9_p1-r4 USE="-bindist%"
[ebuild R #] media-video/ffmpeg-9999 USE="-fdk%"
* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news to read news items. |
Eh? I would have expected sys-apps/ed, net-misc/curl and dev-libs/libxml2 to be caught and updated with the -uD flags but they weren't. Am I right about that or what? |
|
Back to top |
|
|
gabrielg Tux's lil' helper
Joined: 16 Nov 2012 Posts: 134
|
Posted: Tue Nov 27, 2012 3:19 pm Post subject: |
|
|
I always do --update --deep --newuse --changed-use --with-bdeps=y
emerge's man page explains all of them... technically you wouldn't use --newuse and --changed-use unless you added/changed USE flags, but it doesn't hurt and I don't have to keep track of my changes, so there you go. I'm lazy |
|
Back to top |
|
|
haydongentoo n00b
Joined: 17 Jan 2003 Posts: 23
|
Posted: Tue Nov 27, 2012 7:35 pm Post subject: |
|
|
In my mind, the issue has nothing to do with use flags. It's that -uD should be picking up these package updates and building them. It seems to be picking them up correctly when other packages are built but not solely with -uD. I've been using gentoo for years and years and this is the first time I've noticed this behavior which makes me think it's a bug. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue Nov 27, 2012 7:41 pm Post subject: |
|
|
It's possible that the other packages are build-time only dependencies of the packages that get updated with --newuse. Try dropping the --newuse flag and adding the --with-bdeps=y option and see if those hidden updates pop up. Normally, if a package is installed only because it's necessary to build some other package, updates are avoided until the other package needs to be updated.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters.
Last edited by John R. Graham on Tue Nov 27, 2012 8:31 pm; edited 1 time in total |
|
Back to top |
|
|
haydongentoo n00b
Joined: 17 Jan 2003 Posts: 23
|
Posted: Tue Nov 27, 2012 8:20 pm Post subject: |
|
|
Indeed --with-bdeps=y does work. I've never noticed this behavior in all of the time I've used Gentoo.
I really thought just -uD would have covered everything but I see the distinction. Thank you. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue Nov 27, 2012 8:30 pm Post subject: |
|
|
It wasn't there when you and I started using Gentoo. It's relatively new, perhaps 3 - 4 years old. There's a huge amount of work that's been done on the dependency resolver: more and more blockers are solved automatically by Portage now.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
haydongentoo n00b
Joined: 17 Jan 2003 Posts: 23
|
Posted: Tue Nov 27, 2012 10:41 pm Post subject: |
|
|
Interesting history.
I'm glad I'm not completely crazy. Though 3-4 years is an awful long time for me to not notice something. I'm happy to say, most of the time, things work quite well and as expected. |
|
Back to top |
|
|
|