On Sat, Jun 11, 2016 at 2:09 PM, <meino.cra...@gmx.de> wrote: > Hi, > > I want to update my linux-headers (I am using the vanilla-kernel). > > I did a > > solfire:/root>equery depends '=sys-kernel/linux-headers-4.6' > * These packages depend on sys-kernel/linux-headers-4.6: > app-misc/srm-1.2.11-r2 (sys-kernel/linux-headers) > dev-qt/qtgui-5.5.1-r1 (evdev ? sys-kernel/linux-headers) > (udev ? sys-kernel/linux-headers) > dev-util/strace-4.9 (sys-kernel/linux-headers) > media-video/ffmpeg-2.8.6 (v4l ? sys-kernel/linux-headers) > media-video/transcode-1.1.7-r3 (v4l ? >=sys-kernel/linux-headers-2.6.11) > sys-apps/busybox-1.24.2 (>=sys-kernel/linux-headers-2.6.39) > sys-apps/iproute2-4.4.0 (>=sys-kernel/linux-headers-3.16) > sys-apps/keyutils-1.5.9-r2 (!prefix ? >=sys-kernel/linux-headers-2.6.11) > sys-fs/udev-225-r1 (>=sys-kernel/linux-headers-3.9) > sys-fs/udisks-2.1.7 (>=sys-kernel/linux-headers-3.1) > sys-libs/libcap-2.24-r2 (sys-kernel/linux-headers) > sys-libs/libcap-ng-0.7.7 (sys-kernel/linux-headers) > sys-libs/libseccomp-2.3.0 (>=sys-kernel/linux-headers-4.3) > sys-libs/mtdev-1.1.5 (>=sys-kernel/linux-headers-2.6.31) > sys-power/acpid-2.0.23 (>=sys-kernel/linux-headers-3) > virtual/linuxtv-dvb-headers-5.8 (>=sys-kernel/linux-headers-3.7) > virtual/os-headers-0 (kernel_linux ? sys-kernel/linux-headers:0) > x11-drivers/xf86-input-evdev-2.9.2 (>=sys-kernel/linux-headers-2.6) > > How can I tell emerge just to recompile those packages since > > emerge --update --newuse --deep --with-bdeps=y --tree --keep-going > --backtrack=30 @world -v > > does not do anything. > > Thanks a lot for any help in advance! > Best regards, > Meino > > > >
If what you're after is rebuilding all the packages that depend on linux-headers, a command line below might be one way of doing it: emerge -a `equery -q d '=sys-kernel/linux-headers-4.3' | sed 's/\-[0-9].*//'` ` These are the packages that would be merged, in order: Calculating dependencies ..... done! [ebuild R ] virtual/os-headers-0 [ebuild R ] sys-apps/busybox-1.24.2 [ebuild R ] sys-libs/mtdev-1.1.5 [ebuild R ] dev-util/strace-4.9 [ebuild R ] sys-apps/hwinfo-21.4 [ebuild R ] sys-libs/libcap-ng-0.7.7 [ebuild R ] sys-libs/libseccomp-2.3.0 [ebuild R ] sys-apps/iproute2-4.4.0 [ebuild R ] sys-libs/libcap-2.24-r2 [ebuild R ] media-gfx/sane-backends-1.0.24-r6 [ebuild R ] media-video/ffmpeg-2.8.6 [ebuild R ] x11-drivers/xf86-input-evdev-2.9.2 [ebuild R ] sys-fs/udev-225-r1 [ebuild R ] sys-fs/udisks-2.1.4 Would you like to merge these packages? [Yes/No]