Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Confusion with portage's upgrading strategy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
AprilGrimoire
n00b
n00b


Joined: 05 Jun 2020
Posts: 57

PostPosted: Sun Jan 16, 2022 2:48 pm    Post subject: Confusion with portage's upgrading strategy Reply with quote

Hi, any help greatly appreciated.

I'm trying to do an update, but got a slot conflict. It seems that xorg-drivers-21.1 requires a newer version of xorg-server, but tigervnc requires an older version. I'm confused why portage doesn't just stick to the older version of xorg-drivers? How should I resolve this problem?

Here's the terminal output: https://pastebin.com/1yMcXKSr
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3949

PostPosted: Sun Jan 16, 2022 3:49 pm    Post subject: Reply with quote

The way to resolve this is by
Code:

USE="-server" emerge -1av  tigervnc

Plz Make it permanent via package.use.
At any rate the USE="server" is by default turned off.
Did you manually enable it?
The reason this is happening is because it seems you are using ~amd64 but tigervnc is only available in amd64 with the unstable versions masked because of bugs.
OR you might unmask the masked versions which you shouldn't really.
_________________
:)
Back to top
View user's profile Send private message
AprilGrimoire
n00b
n00b


Joined: 05 Jun 2020
Posts: 57

PostPosted: Sun Jan 16, 2022 4:00 pm    Post subject: Reply with quote

alamahant wrote:
The way to resolve this is by
Code:

USE="-server" emerge -1av  tigervnc

Plz Make it permanent via package.use.
At any rate the USE="server" is by default turned off.
Did you manually enable it?
The reason this is happening is because it seems you are using ~amd64 but tigervnc is only available in amd64 with the unstable versions masked because of bugs.
OR you might unmask the masked versions which you shouldn't really.


Thanks for helping!

I do want the server feature. Do you know why portage insists to install the newer version of xorg-drivers?
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3949

PostPosted: Sun Jan 16, 2022 4:09 pm    Post subject: Reply with quote

Quote:

Do you know why portage insists to install the newer version of xorg-drivers?

This is the meaning of an update.
You are running unstable no?
If you werent you wouldnt have this problem.
So for the time being your best course would be to wait the for an unstable version of tigervnc to be unmasked and USE="-server" in the meantime.
_________________
:)
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23070

PostPosted: Sun Jan 16, 2022 4:54 pm    Post subject: Reply with quote

The newest version of xorg-drivers satisfies all criteria other than the VNC version constraint, so Portage tries to pick it. Then it notices the VNC constraint, and you get a conflict.

You wrote that you want USE=server. Do you also need USE=xorgmodule? VNC only constrains xorg-server if both those flags are set:
Code:
    22  CDEPEND="
    32      server? (
    42          xorgmodule? ( =x11-base/xorg-server-${XSERVER_VERSION%.*}* )
    45      )
    47      "
Disabling either flag would eliminate the conflict.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2113

PostPosted: Mon Jan 17, 2022 5:15 am    Post subject: Reply with quote

Unmasking new TigerVNC would help too, but it may have compatibility issues for some setups.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum