LINUX.ORG.RU

Gentoo emerge virtualbox

 ,


0

1

И снова обновление пакетов генту и снова конфликты. Научите разрешать такие конфликты.

emerge -1p =app-emulation/virtualbox-modules-6.1.38

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

Calculating dependencies... done!
[ebuild     U  ] app-emulation/virtualbox-modules-6.1.38 [6.1.32]
[ebuild     U  ] app-emulation/virtualbox-6.1.38 [6.1.32-r1] USE="sdl%*" PYTHON_SINGLE_TARGET="python3_10* -python3_9*"

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

app-emulation/virtualbox:0

  (app-emulation/virtualbox-6.1.38:0/6.1::gentoo, ebuild scheduled for merge) USE="headless java opus pam sdk sdl udev vboxwebsrv vnc -alsa -debug -doc -dtrace -lvm -opengl (-pax-kernel) (-pch) -pulseaudio -python -qt5" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" pulled in by
    =app-emulation/virtualbox-6.1.38 (Argument)

  (app-emulation/virtualbox-6.1.32-r1:0/6.1::gentoo, installed) USE="headless java opus pam sdk udev vboxwebsrv vnc -alsa -debug -doc -dtrace -lvm -opengl (-pax-kernel) (-pch) -pulseaudio -python -qt5" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_9 -python3_10 -python3_8" pulled in by
    =app-emulation/virtualbox-6.1.32* required by (app-emulation/virtualbox-extpack-oracle-6.1.32:0/6.1::gentoo, installed) USE="" ABI_X86="(64)"
    ^                         ^^^^^^^

app-emulation/virtualbox-modules:0

  (app-emulation/virtualbox-modules-6.1.38:0/6.1::gentoo, ebuild scheduled for merge) USE="-dist-kernel (-pax-kernel)" ABI_X86="(64)" pulled in by
    ~app-emulation/virtualbox-modules-6.1.38 required by (app-emulation/virtualbox-6.1.38:0/6.1::gentoo, ebuild scheduled for merge) USE="headless java opus pam sdk sdl udev vboxwebsrv vnc -alsa -debug -doc -dtrace -lvm -opengl (-pax-kernel) (-pch) -pulseaudio -python -qt5" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9"
    ^                                 ^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
    (and 1 more with the same problem)

  (app-emulation/virtualbox-modules-6.1.32:0/6.1::gentoo, installed) USE="-dist-kernel (-pax-kernel)" ABI_X86="(64)" pulled in by
    ~app-emulation/virtualbox-modules-6.1.32 required by (app-emulation/virtualbox-6.1.32-r1:0/6.1::gentoo, installed) USE="headless java opus pam sdk udev vboxwebsrv vnc -alsa -debug -doc -dtrace -lvm -opengl (-pax-kernel) (-pch) -pulseaudio -python -qt5" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_9 -python3_10 -python3_8"
    ^                                 ^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

NOTE: Use the '--verbose-conflicts' option to display parents omitted above

It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


!!! The following installed packages are masked:
- sys-devel/binutils-2.37_p1-r2::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Andreas K. Hüttel <dilfridge@gentoo.org> (2017-05-21)
# (and others, updated later)
# These old versions of toolchain packages (binutils, gcc, glibc) are no
# longer officially supported and are not suitable for general use. Using
# these packages can result in build failures (and possible breakage) for
# many packages, and may leave your system vulnerable to known security
# exploits.
# If you still use one of these old toolchain packages, please upgrade (and
# switch the compiler / the binutils) ASAP. If you need them for a specific
# (isolated) use case, feel free to unmask them on your system.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

обновлять нужно весь набор пакетов virtualbox целиком, а не один virtualbox, portage не будет тянуть не зависимые напрямую пакеты сам (без --deep по крайней мере). То есть перечисли все пакеты, на которые он ругается в запросе на обновление, чтобы portage выбрал 6.1.38 для всех сразу

mittorn ★★★★★
()
Ответ на: комментарий от Pinkbyte

Вероятно там extpack ещё явно надо указать т.к от него virtualbox не зависит

mittorn ★★★★★
()
Ответ на: комментарий от Pinkbyte

Пробовал указывать все пакеты

emerge -1uN app-emulation/virtualbox app-emulation/virtualbox-modules
Calculating dependencies... done!

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

app-emulation/virtualbox:0

  (app-emulation/virtualbox-6.1.38:0/6.1::gentoo, ebuild scheduled for merge) USE="headless java opus pam sdk sdl udev vboxwebsrv vnc -alsa -debug -doc -dtrace -lvm -opengl (-pax-kernel) (-pch) -pulseaudio -python -qt5" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" conflicts with
    =app-emulation/virtualbox-6.1.32* required by (app-emulation/virtualbox-extpack-oracle-6.1.32:0/6.1::gentoo, installed) USE="" ABI_X86="(64)"
    ^                         ^^^^^^^

app-emulation/virtualbox-modules:0

  (app-emulation/virtualbox-modules-6.1.38:0/6.1::gentoo, ebuild scheduled for merge) USE="-dist-kernel (-pax-kernel)" ABI_X86="(64)" conflicts with
    ~app-emulation/virtualbox-modules-6.1.32 required by (app-emulation/virtualbox-6.1.32-r1:0/6.1::gentoo, installed) USE="headless java opus pam sdk udev vboxwebsrv vnc -alsa -debug -doc -dtrace -lvm -opengl (-pax-kernel) (-pch) -pulseaudio -python -qt5" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_9 -python3_10 -python3_8"
    ^                                 ^^^^^^
mnxamoto
() автор топика
Ответ на: комментарий от mnxamoto
emerge -1uN app-emulation/virtualbox app-emulation/virtualbox-modules app-emulation/virtualbox-extpack-oracle

--verbose-conflicts помогает к слову, если зависимостей не слишком дохрена

И да, частичные обновления боль, нужно понимать что от чего зависит. Если не понимаешь и не знаешь как посмотреть (emerge --tree, equery d, вот это вот всё) - глянцуй всё только через emerge -1uDN world (но и там могут быть конфликты, да)

Pinkbyte ★★★★★
()
Последнее исправление: Pinkbyte (всего исправлений: 1)
Ответ на: комментарий от Pinkbyte

Я примерно такое и сделал

emerge -ask virtualbox

[ Results for search key : virtualbox ]
Searching...

*  app-emulation/phpvirtualbox
      Latest version available: 5.2.1
      Latest version installed: 5.2.1
      Size of files: 3 792 KiB
      Homepage:      https://sourceforge.net/projects/phpvirtualbox/
      Description:   Web-based administration for VirtualBox in PHP
      License:       GPL-3

*  app-emulation/virtualbox
      Latest version available: 6.1.38
      Latest version installed: 6.1.32-r1
      Size of files: 161 879 KiB
      Homepage:      https://www.virtualbox.org/
      Description:   Family of powerful x86 virtualization products for enterprise and home use
      License:       GPL-2 dtrace? ( CDDL )

*  app-emulation/virtualbox-additions
      Latest version available: 6.1.38
      Latest version installed: 6.1.32
      Size of files: 62 390 KiB
      Homepage:      https://www.virtualbox.org/
      Description:   CD image containing guest additions for VirtualBox
      License:       GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL

*  app-emulation/virtualbox-extpack-oracle
      Latest version available: 6.1.38
      Latest version installed: 6.1.32
      Size of files: 10 970 KiB
      Homepage:      https://www.virtualbox.org/
      Description:   PUEL extensions for VirtualBox
      License:       PUEL

*  app-emulation/virtualbox-guest-additions
      Latest version available: 6.1.38
      Latest version installed: 6.1.32
      Size of files: 161 879 KiB
      Homepage:      https://www.virtualbox.org/
      Description:   VirtualBox kernel modules and user-space tools for Gentoo guests
      License:       GPL-2

*  app-emulation/virtualbox-modules
      Latest version available: 6.1.38
      Latest version installed: 6.1.32
      Size of files: 663 KiB
      Homepage:      https://www.virtualbox.org/
      Description:   Kernel Modules for Virtualbox
      License:       GPL-2

[ Applications found : 6 ]
emerge -1uN app-emulation/virtualbox app-emulation/virtualbox-additions app-emulation/virtualbox-extpack-oracle app-emulation/virtualbox-guest-additions app-emulation/virtualbox-modules

Сработало

mnxamoto
() автор топика
Для того чтобы оставить комментарий войдите или зарегистрируйтесь.