Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

Can't install Network Manager


ostrolk

Question

From this place, can't move forward

 

(chroot) # emerge linux-firmware networkmanager

 

I get this (the end part of it)

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by sys-auth/polkit-0.113::gentoo[-systemd]
# required by net-misc/networkmanager-1.0.6-r1::gentoo
# required by networkmanager (argument)
>=sys-auth/consolekit-0.4.6 policykit

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.[code]
 
I am completely a noob on Funtoo/Gentoo. The next command won't work, as there is no NetworkManager.
[code]rc-update add NetworkManager default
 * rc-update: service `NetworkManager' does not exist

How do I go forward?


 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

A USE flag is a compilation option.

Default merge settings have consolekit compiled with policykit disabled.(USE policykit disabled)

Networkmanager requires consolekit be compiled with policykit enabled.(USE policykit enabled)

The configuration below compiles policykit with consolekit.(USE policykit enabled)

# mkdir -p /etc/portage/package.use
# echo ">=sys-auth/consolekit-0.4.6 policykit" >> /etc/portage/package.use/consolekit
# emerge -av networkmanager
Reference: http://www.funtoo.org/Emerge

https://wiki.gentoo.org/wiki/Handbook:AMD64/Working/USE

Link to comment
Share on other sites

  • 0

Cardinal has explained how to complete the task. Essentially the output you posted, is Portage telling you that NetworkManager requires consolekit with policykit support enabled.

 

If you run "emerge linux-firmware networkmanager --autounmask-write" (as suggested by Portage), it will write a config file for you. You can then run 'etc-update', and it will ask you if you really want to merge the config file. Then just run "emerge linux-firmware networkmanager" again and it will complete. That's another semi-automated way to do things, but either method will work. But if you just copy/paste Cardinal's 3 lines of commands, you'll have it done in no time.

Link to comment
Share on other sites

  • 0

A USE flag is a compilation option.

Default merge settings have consolekit compiled with policykit disabled.(USE policykit disabled)

Networkmanager requires consolekit be compiled with policykit enabled.(USE policykit enabled)

The configuration below compiles policykit with consolekit.(USE policykit enabled)

# mkdir -p /etc/portage/package.use
# echo ">=sys-auth/consolekit-0.4.6 policykit" >> /etc/portage/package.use/consolekit
# emerge -av networkmanager
Reference: http://www.funtoo.org/Emerge

https://wiki.gentoo.org/wiki/Handbook:AMD64/Working/USE

 

Oh man thanks so much! I'm just installing Funtoo and ran into the very same problem as the OP. Apparently I didn't understand what the message means and how to deal with it.  But I do now.  Hopefully this is the worst problem I'll encounter, but I won't hold my breath ;)

 

Thanks again!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...