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


Joined: 20 Jan 2008 Posts: 7
|
Posted: Sun Jan 20, 2008 9:48 pm Post subject: [solved]emerge -uDN world doesn't update xorg-server |
|
|
Well, "emerge -uDN xorg-server" successfully updated xorg-server-1.3.0.0-r3 to xorg-server-1.3.0.0-r4, but still I lost some trust in the "emerge -uDN world" since it said everything is up to date, which apparently wasn't the case.
Anyone has an explanation, why this could happen?
thx,
semi
Last edited by delueks on Tue Jan 22, 2008 5:46 pm; edited 1 time in total |
|
| Back to top |
|
 |
Simba7 Guru


Joined: 22 Jan 2007 Posts: 596 Location: Billings, MT, USA
|
Posted: Sun Jan 20, 2008 9:52 pm Post subject: |
|
|
| Maybe it was masked and was just recently unmasked. |
|
| Back to top |
|
 |
Hu Watchman

Joined: 06 Mar 2007 Posts: 6825
|
Posted: Sun Jan 20, 2008 10:00 pm Post subject: |
|
|
| If xorg-server was not a runtime dependency of any of the packages listed in world, it would not be updated with emerge -uDN world. Use emerge --with-bdeps=y -uDN world to update build time dependencies. If you remove xorg-server from world, what is the output of emerge --pretend --tree --update --deep world? |
|
| Back to top |
|
 |
delueks n00b


Joined: 20 Jan 2008 Posts: 7
|
Posted: Mon Jan 21, 2008 7:38 pm Post subject: |
|
|
Wow you are fast...
So emerge --pretend --tree --update --deep world is empty (but now I already updated xorg-server manually).
Well, what exactly is a runtime dependency. equery depends xorg-server gives:
app-text/tetex-3.0_p1-r6 (X? x11-base/xorg-server)
gnome-base/libgnomecanvas-2.20.1.1 (X? x11-base/xorg-server)
media-sound/museseq-0.8.1-r1 (X? x11-base/xorg-server)
x11-drivers/xf86-input-keyboard-1.1.1 (>=x11-base/xorg-server-1.0.99)
x11-drivers/xf86-input-mouse-1.2.3 (>=x11-base/xorg-server-1.0.99)
x11-drivers/xf86-video-ati-6.6.3 (>=x11-base/xorg-server-1.0.99)
x11-drivers/xf86-video-vesa-1.3.0 (>=x11-base/xorg-server-1.0.99)
x11-libs/gtk+-2.12.1-r2 (X? x11-base/xorg-server)
Of course the X-use-flag is set...
Anyhow since xorg-server was in the world-file it definately should have been updated. Especially since there was a bug in the previous version (which isn't in Portage anymore). But since I can't reproduce it anymore and already solved it, its probably not worth wasting any energy on it.
Let's call it 'portage mysteries'... |
|
| Back to top |
|
 |
Hu Watchman

Joined: 06 Mar 2007 Posts: 6825
|
Posted: Tue Jan 22, 2008 4:22 am Post subject: |
|
|
You may have added x11-base/xorg-server to world when you tried to upgrade x11-base/xorg-server.
A runtime dependency is a package required for another package to run correctly. A build time dependency is one which is needed to build the package, but which can be missing at runtime without affecting the functionality of the built package. I have seen several people with your problem. In their case, it was because x11-base/xorg-server was installed as a build time dependency of x11-libs/gtk+. Since you did not tell it to update build time dependencies, Portage chose to update only runtime dependencies. x11-base/xorg-server is not a runtime dependency of any of the packages in your world file, so it was skipped. I recommend using glsa-check or including --with-bdeps=y when you check for updates to world. It may be overkill to update everything added by --with-bdeps=y every time, but checking what extra packages need an update is cheap. When you spot important ones, such as x11-base/xorg-server, you can explicitly update them with emerge --oneshot category/package. |
|
| Back to top |
|
 |
delueks n00b


Joined: 20 Jan 2008 Posts: 7
|
Posted: Tue Jan 22, 2008 5:48 pm Post subject: |
|
|
Ok, that's it. Marked it as solved. No mystery...
Didn't know portage makes a difference in dependencies -> I learned something
Thank You! |
|
| Back to top |
|
 |
|