Debian newbie here. I've only had the operating system for 3 days and most of my time spent with it has been fixing the state of the install. I couldn't get the installer to recognize iwlwifi firmware files, even when I inserted a USB containing all of the versions I could find for my card. I did an offline install, which did not come with NetworkManager so I can't connect to the internet with my Debian device at present. I used dpkg to manually install its dependencies from a flash drive, but it complains that one dependency, PolicyKit-1, which apparently did come pre-installed, is not yet configured. How would I go about configuring it so that I can install NetworkManager and actually update my system?
Thanks.
Edit: forgot to mention I got the firmware end of things working.
A general suggestion:
Whenever you are in such situation, try the following command to locate the package:
apt-cache search packagename
And after that try to install the packgae which reads as packagename-dev or libpackage name
sudo apt-get install packagename-dev
The package you are looking for is installed using:
sudo apt-get install policykit-1
You can search for packages using:
apt-cache search policykit
Hi,
recently, I got update for package policykit-1 (if I remember the name correctly). Now, when I try select software sources in mintupdate, I get error pkexec must be setuid root. Also, I can't install updates.
The package policykit-1 is in unpacked state but not configured. Why this happened and how can I fix it? I've tried to reinstall it but it fails: E: Internal Error, No file name for policykit-1:amd64.
edit: sudo apt install -f did the trick, manually trying to reinstall didn't work.
I'm running debian, I've tried running sudo dpkg --configure -a and I get this output:
Setting up policykit-1 (0.105-20) ... --runtime cannot be used with unmask dpkg: error processing package policykit-1 (--configure): installed policykit-1 package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of gdm3: gdm3 depends on policykit-1 (>= 0.105-5~); however: Package policykit-1 is not configured yet. dpkg: error processing package gdm3 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of mate-polkit:amd64: mate-polkit:amd64 depends on policykit-1; however: Package policykit-1 is not configured yet. dpkg: error processing package mate-polkit:amd64 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of synaptic: synaptic depends on policykit-1; however: Package policykit-1 is not configured yet. dpkg: error processing package synaptic (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of policykit-1-gnome: policykit-1-gnome depends on policykit-1; however: Package policykit-1 is not configured yet. dpkg: error processing package policykit-1-gnome (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gnome-color-manager: gnome-color-manager depends on policykit-1; however: Package policykit-1 is not configured yet. dpkg: error processing package gnome-color-manager (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of rtkit: rtkit depends on policykit-1; however: Package policykit-1 is not configured yet. dpkg: error processing package rtkit (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of mate-desktop-environment-core: mate-desktop-environment-core depends on mate-polkit (>= 1.20); however: Package mate-polkit:amd64 is not configured yet. dpkg: error processing package mate-desktop-environment-core (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of mate-power-manager: mate-power-manager depends on policykit-1; however: Package policykit-1 is not configured yet. dpkg: error processing package mate-power-manager (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of mate-desktop-environment: mate-desktop-environment depends on mate-desktop-environment-core (= 1.20.0+4); however: Package mate-desktop-environment-core is not configured yet. dpkg: error processing package mate-desktop-environment (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of mate-settings-daemon: mate-settings-daemon depends on mate-polkit; however: Package mate-polkit:amd64 is not configured yet. dpkg: error processing package mate-settings-daemon (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of mate-control-center: mate-control-center depends on mate-settings-daemon (>= 1.18); however: Package mate-settings-daemon is not configured yet. dpkg: error processing package mate-control-center (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: policykit-1 gdm3 mate-polkit:amd64 synaptic policykit-1-gnome gnome-color-manager rtkit mate-desktop-environment-core mate-power-manager mate-desktop-environment mate-settings-daemon mate-control-center
I just had the same return when installing deluged on arch, I typed:
systemctl start deluged
I tried with sudo and it worked fine. Seems to be a group permissions issue.
All I did was enable permissions for my user account and then typed:
sudo systemctl start deluged
worked like a charm.
To clarify and summarize SNP22's post: You probably just forgot sudo.:
sudo systemctl [...]
Absolutely misleading warning ...