View previous topic :: View next topic |
Author |
Message |
apiaio Guru
Joined: 04 Dec 2008 Posts: 426
|
Posted: Sun Jun 02, 2024 4:59 pm Post subject: emerge virtualbox problem [SOLVED] |
|
|
Code: | # emerge app-emulation/virtualbox -vp
These are the packages that would be merged, in order:
Calculating dependencies |
!!! Problem resolving dependencies for app-emulation/virtualbox
... done!
Dependency resolution took 0.50 s (backtrack: 0/20).
!!! The ebuild selected to satisfy "app-emulation/virtualbox" has unmet requirements.
- app-emulation/virtualbox-7.0.14-r2::gentoo USE="alsa dbus gui nls opengl pam pulseaudio python sdk sdl udev -debug -doc -dtrace -java -lvm (-pch) -vboxwebsrv -vde -vnc" ABI_X86="(64)" PYTHON_SINGLE_TARGET="-python3_10 -python3_11"
The following REQUIRED_USE flag constraints are unsatisfied:
exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 )
|
So I added Code: | >=app-emulation/virtualbox-7.0.14-r2 python_single_target_python3_11
|
Now Code: | # emerge --update --deep --changed-use --exclude gentoo-sources --exclude gentoo-kernel --exclude gentoo-kernel-bin --exclude linux-firmware --with-bdeps=y @world -av
|
wants reinstall 97 packages. Is it necessary or I omitted something?
Code: | # eselect python list
Available Python interpreters, in order of preference:
[1] python3.11
[2] python3.12 (fallback)
|
Last edited by apiaio on Tue Jun 04, 2024 4:55 pm; edited 1 time in total |
|
Back to top |
|
|
Tout n00b
Joined: 18 Jul 2020 Posts: 49
|
Posted: Sun Jun 02, 2024 5:22 pm Post subject: |
|
|
I tried to mask this version, so other packages are not blocked. But can't get that to work.
I have
=app-emulation/virtualbox-7.0.14-r2
In mask directory. But now it gives the same error on a 6.1.50 version.
edit: I do encounter the same |
|
Back to top |
|
|
jagdpanther l33t
Joined: 22 Nov 2003 Posts: 757
|
Posted: Sun Jun 02, 2024 5:42 pm Post subject: |
|
|
I was having trouble getting the "stable" virtualbox to work with the latest gentoo-sources a few months ago so I have the following four lines in /etc/portage/package.accept_keywords/temporary_keywords which give me the latest portage "unstable" virtual box AND works with the latest "unstable" gentoo-sources kernel.
Code: | app-emulation/virtualbox ~amd64
app-emulation/virtualbox-additions ~amd64
app-emulation/virtualbox-extpack-oracle ~amd64
app-emulation/virtualbox-modules ~amd64 |
This gives you virtualbox-7.0.18 ("unstable") as of 2 June 2024. |
|
Back to top |
|
|
mhex Apprentice
Joined: 18 Feb 2005 Posts: 172 Location: Germany/Berlin
|
Posted: Mon Jun 03, 2024 10:39 am Post subject: |
|
|
virtualbox package is not python 3.12 ready (yet) |
|
Back to top |
|
|
Tout n00b
Joined: 18 Jul 2020 Posts: 49
|
Posted: Mon Jun 03, 2024 10:42 am Post subject: |
|
|
mhex wrote: | virtualbox package is not python 3.12 ready (yet) |
Yes, that seems part of the problem.
But running:
python --version
on my system gives:
Python 3.11.7
edit: i just start running a emerge sync and stuff, and it started a big update of 118, so that might hopefully solve things. A lot of python involved.
edit2: in this emerge I see virtualbox 7.0.18-r1 now Hopeful |
|
Back to top |
|
|
Tout n00b
Joined: 18 Jul 2020 Posts: 49
|
Posted: Mon Jun 03, 2024 12:49 pm Post subject: |
|
|
It is working correctly after the latest update for me |
|
Back to top |
|
|
mhex Apprentice
Joined: 18 Feb 2005 Posts: 172 Location: Germany/Berlin
|
Posted: Mon Jun 03, 2024 12:58 pm Post subject: |
|
|
Not for me unfortunately. Portage is synced. Code: | emerge -pv virtualbox
These are the packages that would be merged, in order:
Calculating dependencies /
!!! Problem resolving dependencies for app-emulation/virtualbox
... done!
Dependency resolution took 3.02 s (backtrack: 0/20).
!!! The ebuild selected to satisfy "virtualbox" has unmet requirements.
- app-emulation/virtualbox-7.0.18-r1::gentoo USE="alsa dbus gui nls opengl pam pulseaudio python sdk sdl udev vmmraw -debug -doc -dtrace -java -lvm (-pch) -vboxwebsrv -vde -vnc" ABI_X86="(64)" PYTHON_SINGLE_TARGET="-python3_10 -python3_11"
The following REQUIRED_USE flag constraints are unsatisfied:
python? ( exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 ) )
The above constraints are a subset of the following complete expression:
java? ( sdk ) python? ( sdk exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 ) ) vboxwebsrv? ( java )
|
|
|
Back to top |
|
|
Tout n00b
Joined: 18 Jul 2020 Posts: 49
|
Posted: Mon Jun 03, 2024 1:12 pm Post subject: |
|
|
mhex wrote: | Not for me unfortunately. Portage is synced. Code: | emerge -pv virtualbox |
|
Do you have the vboxwebsrv use flag enabled? I don't think I use that use flag.
edit: maybe totally unrelated I realise some moments later, just trying to see the difference made me ask this |
|
Back to top |
|
|
mhex Apprentice
Joined: 18 Feb 2005 Posts: 172 Location: Germany/Berlin
|
Posted: Mon Jun 03, 2024 2:44 pm Post subject: |
|
|
Code: | USE=".. -vboxwebsrv .." | therefore not enabled |
|
Back to top |
|
|
NichtDerHans Apprentice
Joined: 27 Jan 2023 Posts: 177
|
|
Back to top |
|
|
mhex Apprentice
Joined: 18 Feb 2005 Posts: 172 Location: Germany/Berlin
|
Posted: Tue Jun 04, 2024 6:43 am Post subject: |
|
|
putting this at the top of
Code: |
*/* PYTHON_TARGETS: -* python3_11 python3_12
*/* PYTHON_SINGLE_TARGET: -* python3_11 |
helps, also with other packages not upgraded to 3.12 |
|
Back to top |
|
|
apiaio Guru
Joined: 04 Dec 2008 Posts: 426
|
Posted: Tue Jun 04, 2024 7:09 am Post subject: |
|
|
mhex wrote: | putting this at the top of
Code: |
*/* PYTHON_TARGETS: -* python3_11 python3_12
*/* PYTHON_SINGLE_TARGET: -* python3_11 |
|
How to do that when package.use is directory? |
|
Back to top |
|
|
NichtDerHans Apprentice
Joined: 27 Jan 2023 Posts: 177
|
Posted: Tue Jun 04, 2024 7:44 am Post subject: |
|
|
write it in /etc/portage/package.use/python |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22626
|
Posted: Tue Jun 04, 2024 3:23 pm Post subject: |
|
|
Also, follow the other steps from the news item that starts with the step that mhex posted. Leaving mhex's advice in place indefinitely will eventually lead to other problems. |
|
Back to top |
|
|
|