Summary: | sys-apps/portage-2.1.6.13: lots of xorg packages are not updated when running emerge -avuDN world | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Pacho Ramos <pacho> |
Component: | Core - Dependencies | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED INVALID | ||
Severity: | major | CC: | roberto.castagnola, SebastianLuther |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | world.diff |
Description
Pacho Ramos
![]() If --depclean doesn't remove them, then --with-bdeps=y should help. Do you have xorg-server in your world file? Do you have VIDEO_CARDS and INPUT_DEVICES set in make.conf? Are all packages updated if you do emerge -1uav xorg-server? (In reply to comment #1) > If --depclean doesn't remove them, then --with-bdeps=y should help. > Yes, it helps, but I don't know why I don't need to use with-bdeps=y in the other two machines I have already updated :-/ (In reply to comment #2) > Do you have xorg-server in your world file? No, but I also don't have it in any of the machines I have successfully updated > Do you have VIDEO_CARDS and > INPUT_DEVICES set in make.conf? Yes: VIDEO_CARDS="intel vesa" INPUT_DEVICES="evdev" >Are all packages updated if you do emerge -1uav > xorg-server? > Not all of them: # emerge -1uav xorg-server These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] x11-base/xorg-drivers-1.6 INPUT_DEVICES="evdev -acecad -aiptek -citron -elographics -fpit -hyperpen -joystick -keyboard -mouse -mutouch -penmount -synaptics -tslib -virtualbox -vmmouse -void -wacom" VIDEO_CARDS="intel vesa -apm -ark -ast -chips -cirrus -dummy -epson -fbdev -fglrx (-geode) -glint -i128 (-i740) (-impact) (-imstt) -mach64 -mga -neomagic (-newport) -nv -nvidia -r128 -radeon -radeonhd -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l (-vermilion) -via -virtualbox -vmware (-voodoo) (-xgi)" 0 kB [ebuild U ] x11-libs/libpciaccess-0.10.6 [0.10.5] USE="-debug -minimal" 262 kB [ebuild U ] x11-proto/resourceproto-1.1.0 [1.0.2] 48 kB [ebuild U ] x11-apps/xinit-1.0.8-r8 [1.0.8-r4] USE="consolekit%* pam -debug -minimal (-hal%*)" 0 kB [ebuild U ] x11-base/xorg-server-1.6.3.901-r2 [1.5.3-r6] USE="hal nptl sdl xorg -debug -dmx -ipv6 -kdrive -minimal -tslib (-3dfx%)" INPUT_DEVICES="(-acecad%) (-aiptek%) (-citron%) (-elographics%) (-evdev%*) (-fpit%) (-hyperpen%) (-joystick%) (-keyboard%) (-mouse%) (-mutouch%) (-penmount%) (-synaptics%) (-tslib%) (-virtualbox%) (-vmmouse%) (-void%) (-wacom%)" VIDEO_CARDS="(-apm%) (-ark%) (-ast%) (-chips%) (-cirrus%) (-dummy%) (-epson%) (-fbdev%) (-geode%) (-glint%) (-i128%) (-i740%) (-impact%) (-imstt%) (-intel%*) (-mach64%) (-mga%) (-neomagic%) (-newport%) (-nv%) (-nvidia%) (-r128%) (-radeon%) (-radeonhd%) (-rendition%) (-s3%) (-s3virge%) (-savage%) (-siliconmotion%) (-sis%) (-sisusb%) (-sunbw2%) (-suncg14%) (-suncg3%) (-suncg6%) (-sunffb%) (-sunleo%) (-suntcx%) (-tdfx%) (-tga%) (-trident%) (-tseng%) (-v4l%) (-vermilion%) (-vesa%*) (-via%) (-virtualbox%) (-vmware%) (-voodoo%) (-xgi%)" 4,569 kB Total: 5 packages (4 upgrades, 1 new), Size of downloads: 4,878 kB But evdev and intel are still not auto-updated Thanks :-) (In reply to comment #3) > Not all of them: > # emerge -1uav xorg-server > But evdev and intel are still not auto-updated You probably just need to add --deep to those options to pull in the other updates. (In reply to comment #4) > You probably just need to add --deep to those options to pull in the other > updates. > Yes, you are true, but I still don't see why I need to manually update xorg-server, as it's not needed on other setups :-( Thanks a lot (In reply to comment #5) > Yes, you are true, but I still don't see why I need to manually update > xorg-server, as it's not needed on other setups :-( You should compare the reverse dependencies between each of your setups: emerge -pv --depclean xorg-server In the failing system I get: # emerge -pv --depclean xorg-server Calculating dependencies... done! x11-base/xorg-server-1.5.3-r6 pulled in by: dev-python/pygobject-2.18.0 dev-python/pygtk-2.14.1-r1 gnome-base/eel-2.24.1 gnome-base/libbonoboui-2.24.1 gnome-base/libgnomecanvas-2.20.1.1 gnome-base/nautilus-2.24.2-r3 gnome-extra/gnome-games-2.24.3 x11-drivers/xf86-input-evdev-2.1.3 x11-drivers/xf86-video-intel-2.7.1 x11-drivers/xf86-video-vesa-2.2.0 x11-libs/gtk+-2.16.6 >>> No packages selected for removal by depclean Packages installed: 841 Packages in world: 103 Packages in system: 50 Required packages: 841 Number to remove: 0 In the proper one I get: # emerge -pv --depclean xorg-server Calculating dependencies... done! x11-base/xorg-server-1.6.3.901-r2 pulled in by: dev-python/pygobject-2.18.0 dev-python/pygtk-2.14.1-r1 gnome-base/eel-2.24.1 gnome-base/libbonoboui-2.24.1 gnome-base/libgnomecanvas-2.20.1.1 gnome-base/nautilus-2.24.2-r3 gnome-extra/at-spi-1.24.1 gnome-extra/gnome-games-2.24.3 gnome-extra/gnome-power-manager-2.22.1 media-sound/rhythmbox-0.11.6-r1 media-video/nvidia-settings-180.60 net-libs/webkit-gtk-1.1.10 x11-drivers/nvidia-drivers-185.18.31 x11-drivers/xf86-input-evdev-2.2.5 x11-drivers/xf86-input-synaptics-1.1.3 x11-drivers/xf86-video-nv-2.1.14 x11-libs/gtk+-2.16.6 x11-wm/compiz-0.8.2-r3 >>> No packages selected for removal by depclean Packages installed: 1263 Packages in world: 293 Packages in system: 50 Required packages: 1263 Number to remove: 0 (In reply to comment #7) Ok, so it's clear that the configurations is different, so this is why we get different results. The "proper one" likely has some additional packages listed in /var/lib/portage/world. You may want to use the diff command to check for differences there. Created attachment 205884 [details, diff]
world.diff
There are differences in their worlds, but their x11* stuff are similar :-/
In attached diff I compare "failing one" with "proper", I mean:
diff -u "failing" "proper one"
(In reply to comment #9) > There are differences in their worlds, but their x11* stuff are similar :-/ Why is this bad? Different packages have different dependencies. So? :) Then, maybe the problem is that I misunderstood how --with-bdeps works, but I thought that even with --with-bdeps=n xorg-server should be updated as it's a RDEPEND (not only a DEPEND, I think) of some packages. This is the output of equery d xorg-server in "proper one": $ equery d xorg-server * Searching for xorg-server ... dev-python/pygobject-2.18.0 (X ? x11-base/xorg-server) dev-python/pygtk-2.14.1-r1 (X ? x11-base/xorg-server) gnome-base/eel-2.24.1 (X ? x11-base/xorg-server) gnome-base/libbonoboui-2.24.1 (X ? x11-base/xorg-server) gnome-base/libgnomecanvas-2.20.1.1 (X ? x11-base/xorg-server) gnome-base/nautilus-2.24.2-r3 (X ? x11-base/xorg-server) gnome-extra/at-spi-1.24.1 (X ? x11-base/xorg-server) gnome-extra/gnome-games-2.24.3 (X ? x11-base/xorg-server) gnome-extra/gnome-power-manager-2.22.1 (X ? x11-base/xorg-server) media-sound/rhythmbox-0.11.6-r1 (X ? x11-base/xorg-server) media-video/nvidia-settings-180.60 (x11-base/xorg-server) net-libs/webkit-gtk-1.1.10 (X ? x11-base/xorg-server) x11-drivers/nvidia-drivers-185.18.31 (<x11-base/xorg-server-1.6.99) x11-drivers/xf86-input-evdev-2.2.5 (>=x11-base/xorg-server-1.5.3) x11-drivers/xf86-input-synaptics-1.1.3 (x11-base/xorg-server) x11-drivers/xf86-video-nv-2.1.14 (x11-base/xorg-server) x11-libs/gtk+-2.16.6 (X ? x11-base/xorg-server) x11-wm/compiz-0.8.2-r3 (>=x11-base/xorg-server-1.1.1-r1) This is the output on "failing one": $ equery d xorg-server [ Searching for packages depending on xorg-server... ] dev-python/pygobject-2.18.0 (X? x11-base/xorg-server) dev-python/pygtk-2.14.1-r1 (X? x11-base/xorg-server) gnome-base/eel-2.24.1 (X? x11-base/xorg-server) gnome-base/libbonoboui-2.24.1 (X? x11-base/xorg-server) gnome-base/libgnomecanvas-2.20.1.1 (X? x11-base/xorg-server) gnome-base/nautilus-2.24.2-r3 (X? x11-base/xorg-server) gnome-extra/gnome-games-2.24.3 (X? x11-base/xorg-server) x11-drivers/xf86-input-evdev-2.1.3 (>=x11-base/xorg-server-1.5.3) x11-drivers/xf86-video-intel-2.7.1 (>=x11-base/xorg-server-1.5) x11-drivers/xf86-video-vesa-2.2.0 (>=x11-base/xorg-server-1.0.99) x11-libs/gtk+-2.16.6 (X? x11-base/xorg-server) In both cases newer xorg-server could be installed without problems :-/ The thing is, apparently xorg-server isn't reachable through the deep RDEPEND of any of your world/system packages. This is actually a common point of confusion, since xorg-server is not listed in the RDEPEND of many packages since they are capable of using the X library to connect to a remote X server. So, the best solution in your case since you don't seem to have anything that absolutely requires an X server at runtime is to add xorg-server to your world file: emerge --noreplace xorg-server (In reply to comment #12) > The thing is, apparently xorg-server isn't reachable through the deep RDEPEND > of any of your world/system packages. This is actually a common point of > confusion, since xorg-server is not listed in the RDEPEND of many packages > since they are capable of using the X library to connect to a remote X server. > So, the best solution in your case since you don't seem to have anything that > absolutely requires an X server at runtime is to add xorg-server to your world > file: > > emerge --noreplace xorg-server > I am sure it will "solve" this but, how can it be not reachable if, for example, xorg-server is a RDEPEND of (already installed, but still outdated): x11-drivers/xf86-input-evdev x11-drivers/xf86-video-intel Maybe because they are not in world file? If this is the cause, it would explain why in the other setups is working, because they use nvidia-drivers and I have nvidia-settings pulled in world file (and it has xorg-server as RDEPEND) Anyway, seems really surprising to me that only this few packages has an RDEPEND on xorg-server :-O, when it's obvious that packages like: gnome-base/gdm gnome-base/gnome-light www-client/mozilla-firefox x11-apps/mesa-progs x11-wm/icewm need xorg-server (In reply to comment #13) > Anyway, seems really surprising to me that only this few packages has an > RDEPEND on xorg-server :-O, when it's obvious that packages like: > gnome-base/gdm > gnome-base/gnome-light > www-client/mozilla-firefox > x11-apps/mesa-progs > x11-wm/icewm > > need xorg-server > No, as said, they are capable of using X libraries to connect to a _remote_ X server that's running on another computer. For this reason, gentoo policy is to leave the X server out of RDEPEND. Yes, it's somewhat confusing if you don't know about the policy. However, it's not so bad given the it's easily solved by adding xorg-server to world. OK, thanks a lot for your attention and for being so kind always :-D *** Bug 296033 has been marked as a duplicate of this bug. *** |