Discussion:
[gentoo-user] emerge -c being strange
(too old to reply)
Jack
2023-12-30 21:20:01 UTC
Permalink
I have both wine-vanilla 8.0.2 (stable) and 8.1.2 (testing) installed. 
"emerge -c wine-vanilla" would remove both of them. "emerge -c
wine-vanilla:8.21" refuses, claiming

app-emulation/wine-vanilla-8.21 pulled in by:
   virtual/wine-0-r10 requires
app-emulation/wine-vanilla[abi_x86_32,abi_x86_64]

Although it is perfectly happy with "emerge -c wine-vanilla:8.0.2".

Is this a bug, or is it considered reasonable for portage to have a
virtual absolutely insist on keeping the newest installed version if
several slots are available?

Jack
Peter Humphrey
2023-12-30 23:30:02 UTC
Permalink
Post by Jack
I have both wine-vanilla 8.0.2 (stable) and 8.1.2 (testing) installed.
"emerge -c wine-vanilla" would remove both of them. "emerge -c
wine-vanilla:8.21" refuses, claiming
virtual/wine-0-r10 requires
app-emulation/wine-vanilla[abi_x86_32,abi_x86_64]
Although it is perfectly happy with "emerge -c wine-vanilla:8.0.2".
Is this a bug, or is it considered reasonable for portage to have a
virtual absolutely insist on keeping the newest installed version if
several slots are available?
No, it's how it's supposed to work. Portage removed one version of wine
because the virtual was still satisfied. It wouldn't remove the last remaining
version: you need to uninstall the virtual first.
--
Regards,
Peter.
Jack
2023-12-30 23:40:01 UTC
Permalink
Post by Jack
Post by Jack
I have both wine-vanilla 8.0.2 (stable) and 8.1.2 (testing)
installed.
Post by Jack
"emerge -c wine-vanilla" would remove both of them. "emerge -c
wine-vanilla:8.21" refuses, claiming
virtual/wine-0-r10 requires
app-emulation/wine-vanilla[abi_x86_32,abi_x86_64]
Although it is perfectly happy with "emerge -c wine-vanilla:8.0.2".
Is this a bug, or is it considered reasonable for portage to have a
virtual absolutely insist on keeping the newest installed version if
several slots are available?
No, it's how it's supposed to work. Portage removed one version of wine
because the virtual was still satisfied. It wouldn't remove the last remaining
version: you need to uninstall the virtual first.
Sorry, but I did NOT actually remove 8.0.2, I was only checking what it
WOULD remove. With both installed, portage is OK to remove both or the
older one, but not the newer one.

Loading...