Mailing List Archive

emerge -c being strange
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
Re: emerge -c being strange [ In reply to ]
On Saturday, 30 December 2023 21:10:10 GMT Jack wrote:
> 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?

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.
Re: emerge -c being strange [ In reply to ]
On 2023.12.30 18:21, Peter Humphrey wrote:
> On Saturday, 30 December 2023 21:10:10 GMT Jack wrote:
> > 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?
>
> 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.