Cannot add printer (or delete) unless run as root

If none of the more specific forums is the right place to ask
Post Reply
Message
Author
User avatar
phenest
Posts: 1704
Joined: 2010-03-09 09:38
Location: The Matrix

Cannot add printer (or delete) unless run as root

#1 Post by phenest »

Setting up bluetooth printer will not apply unless I run system-config-printer as root. That is, after detecting the printer, I click Forward. It then gives a summary and I click Apply, enter the root password at prompt, and then it hangs.
The only error I get when adding a printer is:

Code: Select all

Error loading /etc/cupshelpers/preferreddrivers.xml: [Errno 2] No such file or directory: '/etc/cupshelpers/preferreddrivers.xml'
I do have cups-pk-helper installed.

This problem only exists for me in 32 bit.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
slowcoach
Posts: 149
Joined: 2007-05-02 17:34
Location: UK

Re: Cannot add printer (or delete) unless run as root

#2 Post by slowcoach »

Exactly same problem on wheezy and sid 64bit trying to add a USB printer with recent releases so should be fixed very soon. :|
Currently, British inventors are responsible for over half of all the new inventions in the World.

User avatar
phenest
Posts: 1704
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Cannot add printer (or delete) unless run as root

#3 Post by phenest »

slowcoach wrote:Exactly same problem on wheezy and sid 64bit trying to add a USB printer with recent releases so should be fixed very soon. :|
That's strange, because I did not have any problems with Wheezy 64bit. I could add both USB and bluetooth printers without a problem. I only have the problem with Wheezy 32bit.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
slowcoach
Posts: 149
Joined: 2007-05-02 17:34
Location: UK

Re: Cannot add printer (or delete) unless run as root

#4 Post by slowcoach »

Probably because I was using latest weekly build. :?
Currently, British inventors are responsible for over half of all the new inventions in the World.

jmspaggi
Posts: 17
Joined: 2012-11-25 16:07

Re: Cannot add printer (or delete) unless run as root

#5 Post by jmspaggi »

Same issue here.

wheezy on i686.

Error loading /etc/cupshelpers/preferreddrivers.xml: [Errno 2] Aucun fichier ou dossier de ce type: '/etc/cupshelpers/preferreddrivers.xml'

(No such file or directory)

Did any one got a chance to get ride of this issue?

User avatar
slowcoach
Posts: 149
Joined: 2007-05-02 17:34
Location: UK

Re: Cannot add printer (or delete) unless run as root

#6 Post by slowcoach »

jmspaggi wrote:Same issue here.

wheezy on i686.

Error loading /etc/cupshelpers/preferreddrivers.xml: [Errno 2] Aucun fichier ou dossier de ce type: '/etc/cupshelpers/preferreddrivers.xml'

(No such file or directory)

Did any one got a chance to get ride of this issue?
As phenest said, run system-config-printer as root and you should find it's all systems go.
Currently, British inventors are responsible for over half of all the new inventions in the World.

jmspaggi
Posts: 17
Joined: 2012-11-25 16:07

Re: Cannot add printer (or delete) unless run as root

#7 Post by jmspaggi »

Yep, I tried as root, but even then is was not working :(

User avatar
slowcoach
Posts: 149
Joined: 2007-05-02 17:34
Location: UK

Re: Cannot add printer (or delete) unless run as root

#8 Post by slowcoach »

jmspaggi wrote:Yep, I tried as root, but even then is was not working :(
If you cannot get it working with the Debian Weekly release then I would suggest the new Linux Mint 14 Nadia with Cinnamon, for the time being. I tried it and found it very good, an improvement on Mint 13.
Take care.
Currently, British inventors are responsible for over half of all the new inventions in the World.

User avatar
craigevil
Posts: 5357
Joined: 2006-09-17 03:17
Location: Oz
Has thanked: 14 times
Been thanked: 21 times

Re: Cannot add printer (or delete) unless run as root

#9 Post by craigevil »

Use cups and not any of the config apps/scripts

Make sure your user is in the lp, lpadmin, scanner groups.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.6-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

Post Reply