Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrading gentoo
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
username49816
n00b
n00b


Joined: 23 Jul 2022
Posts: 14

PostPosted: Sun Nov 20, 2022 11:04 am    Post subject: Upgrading gentoo Reply with quote

Code:
# emerge --ask --verbose --update --deep --newuse @world

These are the packages that would be merged, in order:

Calculating dependencies                       ... done!

!!! The ebuild selected to satisfy "sys-apps/dbus" has unmet requirements.
- sys-apps/dbus-1.15.2::gentoo USE="X elogind systemd -debug -doc (-selinux) -static-libs -test" ABI_X86="(64) -32 (-x32)"

  The following REQUIRED_USE flag constraints are unsatisfied:
    at-most-one-of ( elogind systemd )

(dependency required by "x11-terms/kitty-0.26.5-r1::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


I should've really stuck to Artix, portage is way too confusing for me.
It tells me that "X elogind systemd" - are the unmet requirements, yet in my make.conf file I've got: "-systemd X elogind"
I tried to do:
Code:
# USE="X elogind systemd" emerge -avuDN @world

Its output is:
Code:

These are the packages that would be merged, in order:

Calculating dependencies                                d

!!! Problem resolving dependencies for sys-apps/gnome-disk-utility from @selected
... done!

!!! The ebuild selected to satisfy "sys-apps/gnome-disk-utility" has unmet requirements.
- sys-apps/gnome-disk-utility-43.0::gentoo USE="elogind systemd -fat -gnome" ABI_X86="(64)"

  The following REQUIRED_USE flag constraints are unsatisfied:
    at-most-one-of ( elogind systemd )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


Now, what am I doing wrong and how do I fix it?
emerge --info
make.conf
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3949

PostPosted: Sun Nov 20, 2022 11:11 am    Post subject: Reply with quote

Plz make sure in your make.conf USE variable you have either "systemd" or "elogind" .
NOT both.
If your system is systemd you shouldnt have "elogind" and vice versa.
Plz check also your profile
Code:

eselect profile list

This
Quote:

# USE="X elogind systemd" emerge -avuDN @world


is an impossible invocation.
Portage explains
Quote:

The following REQUIRED_USE flag constraints are unsatisfied:
at-most-one-of ( elogind systemd )

On a related note
This
Code:

emerge --ask --verbose --update --deep --changed-use @world

is better than your
Code:

emerge --ask --verbose --update --deep --newuse @world

because it saves you from un-needed rebuilds.
Ok in make.conf you have only "elogind" and your profile is plain.
So portage is getting "systemd" USE from somewhere.
Plz check
Code:

grep -r systemd /etc/portage/package.use

and remove any systemd flag.
_________________
:)


Last edited by alamahant on Sun Nov 20, 2022 11:33 am; edited 2 times in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31460
Location: here

PostPosted: Sun Nov 20, 2022 11:18 am    Post subject: Reply with quote

Your current profile is default/linux/amd64/17.1 but if you want a UI is better set default/linux/amd64/17.1/desktop (for penRC) or default/linux/amd64/17.1/desktop/systemd (for SystemD).
If you are a plasma or gnome user there are also a specific profile for both.
Set these profiles automatically enable the use flags needed to run a WM or DE.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
username49816
n00b
n00b


Joined: 23 Jul 2022
Posts: 14

PostPosted: Sun Nov 20, 2022 11:29 am    Post subject: Reply with quote

1. I have elogind in my USE variable and I don't use systemd.
1.1 I run the default dwm, because I don't care for compiling huge DE.
2. This is cool.
Code:
emerge --ask --verbose --update --deep --changed-use @world

3. I changed my profile to "default/linux/amd64/17.1/desktop (stable)". And now it needs more USE flags, yet I have gtk in my USE variable.
Code:

These are the packages that would be merged, in order:

Calculating dependencies                             m

!!! Problem resolving dependencies for media-libs/libmediaart from @selected
... done!

!!! The ebuild selected to satisfy "media-libs/libmediaart" has unmet requirements.
- media-libs/libmediaart-1.9.6-r1::gentoo USE="gtk introspection qt5 -gtk-doc -test -vala" ABI_X86="(64)"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( gtk qt5 )

  The above constraints are a subset of the following complete expression:
    exactly-one-of ( gtk qt5 ) vala? ( introspection )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3949

PostPosted: Sun Nov 20, 2022 11:36 am    Post subject: Reply with quote

Plz run
Code:

env-update


before emerging.
Also
plz run
Code:

grep -r systemd /etc/portage/package.use


and remove any "systemd" flag from resultant files.
Again in your make.conf you have only "gtk"
But it is also getting qt5 from somewhere.
Code:

grep -r qt5 /etc/portage/package.use

_________________
:)


Last edited by alamahant on Sun Nov 20, 2022 11:42 am; edited 2 times in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31460
Location: here

PostPosted: Sun Nov 20, 2022 11:36 am    Post subject: Reply with quote

Code:
  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( gtk qt5 )

You can enable only gtk or qt5 on this package, depends on the toolkit you prefer.
Use /etc/poirtage/package.use to disable either one.

-- edit --
desktop profile enables both use flags (gtk and qt5), you can also choose to disable one but probably in some packages you will have to enable one or the other manually.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
username49816
n00b
n00b


Joined: 23 Jul 2022
Posts: 14

PostPosted: Sun Nov 20, 2022 11:58 am    Post subject: Reply with quote

1. systemd flags and qt5 are removed from zz-autounmask file.
2. I wrote package.use for libmediaart with the following content: ">=media-libs/libmediaart-1.9.6-r1 -qt5 -gtk-doc -test -vala", ran env-update and
it appears that I am able to update, thanks guys!
Back to top
View user's profile Send private message
username49816
n00b
n00b


Joined: 23 Jul 2022
Posts: 14

PostPosted: Sun Nov 20, 2022 12:25 pm    Post subject: Reply with quote

Ahh... I've got a new problem. I can't emerge net-vpn/protonvpn-cli nor net-vpn/protonvpn-gui because they require dbus to have systemd support:

Code:
>=sys-apps/dbus-1.15.2 -systemd -static-libs -test -debug -doc


Code:
The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by sys-apps/systemd-252.1::gentoo
# required by dev-python/python-systemd-235::gentoo[-test]
# required by net-vpn/protonvpn-nm-lib-3.11.0::Miezhiko
# required by net-vpn/protonvpn-cli-3.12.0::Miezhiko
# required by net-vpn/protonvpn-cli (argument)
>=sys-apps/dbus-1.15.2 systemd

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.

!!! The ebuild selected to satisfy ">=sys-apps/dbus-1.9.8[systemd]" has unmet requirements.
- sys-apps/dbus-1.15.2::gentoo USE="X elogind -debug -doc (-selinux) -static-libs -systemd -test" ABI_X86="(64) -32 (-x32)"

  The following REQUIRED_USE flag constraints are unsatisfied:
    at-most-one-of ( elogind systemd )

(dependency required by "sys-apps/systemd-252.1::gentoo" [ebuild])
(dependency required by "dev-python/python-systemd-235::gentoo[-test]" [ebuild])
(dependency required by "net-vpn/protonvpn-nm-lib-3.11.0::Miezhiko" [ebuild])
(dependency required by "net-vpn/protonvpn-cli-3.12.0::Miezhiko" [ebuild])
(dependency required by "net-vpn/protonvpn-cli" [argument])


I tried writing package.use file, where I disabled systemd, portage says elogind is enough, yet the message stays the same.
Does that mean I can't use ProtonVPN without dbus systemd support or am I just blatantly stupid?
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3949

PostPosted: Sun Nov 20, 2022 12:41 pm    Post subject: Reply with quote

You are using an overlay
This
Code:

net-vpn/protonvpn-nm-lib-3.11.0::Miezhiko

is pulling
Code:

RDEPEND="
   net-misc/networkmanager
   net-vpn/networkmanager-openvpn
   net-vpn/openvpn
   dev-python/pygobject[${PYTHON_USEDEP}]
   dev-python/pyxdg[${PYTHON_USEDEP}]
   dev-python/keyring[${PYTHON_USEDEP}]
   dev-python/jinja[${PYTHON_USEDEP}]
   dev-python/distro[${PYTHON_USEDEP}]
   dev-python/python-gnupg[${PYTHON_USEDEP}]
   dev-python/proton-client[${PYTHON_USEDEP}]
   dev-python/python-systemd[${PYTHON_USEDEP}]
"

dev-python/python-systemd
Try anoter overlay for protonvpn.
Maybe
waffle-builds

But i see they all pull
net-vpn/protonvpn-nm-lib
So maybe its uninstallable in openrc.
Just not use gui.Use cli from Gentoo repo
Code:

net-vpn/protonvpn-cli::gentoo

_________________
:)
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