public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] emerge -c being strange
@ 2023-12-30 21:10 Jack
  2023-12-30 23:21 ` Peter Humphrey
  0 siblings, 1 reply; 3+ messages in thread
From: Jack @ 2023-12-30 21:10 UTC (permalink / raw
  To: Gentoo Users List

[-- Attachment #1: Type: text/plain, Size: 552 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1073 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] emerge -c being strange
  2023-12-30 21:10 [gentoo-user] emerge -c being strange Jack
@ 2023-12-30 23:21 ` Peter Humphrey
  2023-12-30 23:37   ` Jack
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Humphrey @ 2023-12-30 23:21 UTC (permalink / raw
  To: gentoo-user

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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] emerge -c being strange
  2023-12-30 23:21 ` Peter Humphrey
@ 2023-12-30 23:37   ` Jack
  0 siblings, 0 replies; 3+ messages in thread
From: Jack @ 2023-12-30 23:37 UTC (permalink / raw
  To: gentoo-user

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-12-30 23:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-30 21:10 [gentoo-user] emerge -c being strange Jack
2023-12-30 23:21 ` Peter Humphrey
2023-12-30 23:37   ` Jack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox