Installer cannot find /etc/PolicyKit, but it is now /etc/polkit-1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned |
Bug Description
I am running Arch Linux.
When trying to install hplip as described here: https:/
#######
$ sh /home/maddin/
Creating directory hplip-3.18.9
Verifying archive integrity... All good.
Uncompressing HPLIP 3.18.9 Self Extracting Archive.. [more ...]
HP Linux Imaging and Printing System (ver. 3.18.9)
HPLIP Installer ver. 5.1
Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Installer log saved in: hplip-install_
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default. -Traceback (most recent call last):
File "/home/
names = os.listdir(root)
FileNotFoundError: [Errno 2] No such file or directory: '/etc/PolicyKit'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/
raise StopIteration
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "./install.py", line 241, in <module>
text_
File "/home/
core.init()
File "/home/
self.
File "/home/
self.
File "/home/
if check_file(
File "/home/
for w in utils.walkFiles
RuntimeError: generator raised StopIteration
#######
So the installer cannot find '/etc/PolicyKit'. This is no wonder, since the name PolicyKit is outdated, as described here: https:/
Note: How I got there:
Before trying this way, I tried to install via 'pacman -S hplip'. This does work, however, hp-check will print: 'warning: CUPSEXT could not be loaded. Please check HPLIP installation.'
So I looked at this page: https:/
When I try to run something like hp-systray after installing via pacman, I do get the error "ModuleNotFound
When I run hp-doctor, it fails due to not finding '/etc/PolicyKit' again:
#######
$ hp-doctor
HP Linux Imaging and Printing System (ver. 3.18.6)
Self Diagnse Utility and Healing Utility ver. 1.0
Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
HP Linux Imaging and Printing System (ver. 3.18.6)
Self Diagnse Utility and Healing Utility ver. 1.0
Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
File "/usr/share/
names = os.listdir(root)
FileNotFoundError: [Errno 2] No such file or directory: '/etc/PolicyKit'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/
raise StopIteration
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/bin/
dep.core.init()
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
if check_file(
File "/usr/share/
for w in utils.walkFiles
RuntimeError: generator raised StopIteration
#######
So whether I use pacman or the .run - file, the problem seems to be the same in the end.
Could you please fix this or at least tell me a good workaround?
tags: | added: install |
What is your printer?
--
Brian.