HP printer cannot access gnome-keyring
I installed Squeeze on a new computer then up-graded to Wheezy. I now have a problem getting the printer to work. The print queue says jobs are being processed and completed, but the printer does nothing.
When running hp-setup -i, two error messages were given: Code:
error: PolicyKit support requires DBUS or PolicyKit support files missing. Apt tells me that the latest version (for Wheezy) of HPLIP is installed. And it is worth mentioning that the printer worked perfectly with Squeeze. .xsession-errors Code:
WARNING: gnome-keyring:: couldn't connect to: /home/randicus/.cache/keyring-eDZbJE/pkcs11: No such file or directory Code:
[ 9212.586128] usb 1-1.2: Product: HP LaserJet P1007 I have tried creating a .cache/keyring file and installing eDZbJE/pkcs11. Both return an error about not being able to connect to a non-existent file or directory. Now that I have displayed my newbness, does anyone have any ideas? If I can solve this, my Wheezy installation will be working perfectly. |
Hi, I have you tried re-installing the hplip driver? I am aware your using the latest one but it might be having a tantrum since the upgrade.
Can you unplug the printer remove all hplip software then re-install it then plug the printer in and try again. I am not sure if you have tried this as it's not listed in your steps. |
I had thought about re-installing HPLIP but did not, because I had assumed the problem was with gnome-keyring and have focused my attention in that direction. I shall try it later today when I have time. Thanks for the suggestion.
|
I re-installed HPLIP and ran hp-setup -i with the same result, except now there is also a connection error - Plug-in download failed: no host given?
Code:
-------------------------- |
|
hp-check -t showed I still had missing plug-ins.
Code:
Status Types: Code:
error: Failed to install 'cups-ddk' package, please install manually. Whatever the exact cause is, I am getting really annoyed. |
No idea really, but does the slew of "Missing Required Dependencies" have anything to do with it? It looks like cups isn't even installed.
What did you do to get the printer working in squeeze? What did you install and which of those were from outside the Debian repos? Have you fully upgraded to wheezy? What is the output of Code:
# apt-get dist-upgrade Code:
$ cat /etc/apt/sources.list |
Quote:
Quote:
Quote:
Code:
# apt-get dist-upgrade Code:
# cat /etc/apt/sources.list |
Have you gone to printing under Applications>>Printing & selected your printer as the default printer? It maybe just printing to a file.
|
My menu is a little different, being Openbox, but yes, its status is default printer. However, I did discover something that may be relevant. Under Printing - localhost/ Printer, Enabled must be chosen every time the dialogue box is opened. Shared retains its check mark, but Enabled does not. That situation is definitely wrong. Both entries should only need to be set once.
I checked /usr/share/hplip/printsettings.pye and found a couple entries referring to Qt4 and one asking if Qt4 is installed. The only thing KDE I have is Kmahjongg, so I am forced to wonder if the reason HPLIP is looking for Qt4 is because I accidentally installed Krusader (which I removed yesterday). Could it be a Gnome-KDE conflict? Even though only a few Qt libs are in place? It is a long shot, but at this point I am grasping at straws. |
I may be giving a stab in the dark, but is policykit-1-gnome installed? From your first error it seems you're missing some policykit related package, and according to the description of policykit-1-gnome:
Code:
GNOME authentication agent for PolicyKit-1 |
Code:
policykit-1 is already the newest version. |
It's not policikit-1, but policykit-1-gnome. Do you have this one installed?
|
Is this the exact error?
Quote:
http://packages.debian.org/wheezy/cups-ppdc |
Quote:
Code:
error: PolicyKit support requires DBUS or PolicyKit support files missing Code:
# hp-setup -i error: Plug-in file not found (server returned 404 or similar error). Error code: no host given Code:
cups-ppdc is already the newest version. Code:
$ apt-cache policy policykit-1-gnome 1) Everything is installed, except at least plug-in that I cannot down-load. 2) Same situation as before. Jobs are processed and completed, but nothing happens. 3) I know the printer is supported, because it worked perfectly with Squeeze. 4) I am ready to release my frustration by killing someone. |
Ok this is what jumps out at me from your post no. 6:
Code:
warning: debian-7.0 version is not supported. Using debian-6.0.5 versions dependencies to verify and install... Code:
warning: HPLIP-Installation: Auto installation is not supported for debian distro 7.0 version Code:
error: dbus DBus REQUIRED - 1.6.8 MISSING 'DBUS may not be installed or not running' Code:
error: cups CUPS REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running' Code:
------------------------- Code:
------------------------------ Code:
WARNING: gnome-keyring:: couldn't connect to: /home/randicus/.cache/keyring-qxb4OC/pkcs11: No such file or directory Code:
WARNING Code:
warning: Qt/PyQt 4 initialization failed. Code:
----------- Have you installed all of the missing packages above? Instead of downloading hplip from HP did you consider installing the one from the official debian repos? This should also pull in all of the required dependencies. http://packages.debian.org/wheezy/hplip |
Quote:
Quote:
Quote:
Code:
# apt-cache policy hplip |
You should remove the hplip you downloaded from HP and reinstall the one from the repos. The two are conflicting and the one from HP will break the previously installed version.
If it's already included in the default install, why did you download and attempt to install the one from HP? |
With this installation, I did not down-load from HP, but relied on what came with the system.
|
Getting closer, but ...
I used apt-get to install most of the missing or incompatible dependencies, except: libcups2 libc6 cups-client libcupsimage2 which were already installed, and therefore (I assume), incompatible. Also; Code:
Missing Optional Dependencies Code:
E: Unable to locate package cups-ddk I now only have two errors. Code:
error: PolicyKit NOT installed when configured for use Code:
error: The printer you are trying to setup requires a binary driver plug-in and it failed to install. Please check your internet connection and try again. Visit http://hplipopensource.com for more infomation. Code:
Missing Required Dependencies The missing dependency cannot be downloaded from hplipopensource, because Code:
error: The printer you are trying to setup requires a binary driver plug-in and it failed to install. Please check your internet connection and try again. Visit http://hplipopensource.com for more infomation. Quote:
Code:
warning: debian-7.0 version is not supported. Using debian-6.0.5 versions dependencies to verify and install... Code:
Printer status: WARNING: gnome-keyring:: couldn't connect to: /home/randicus/.cacheprinter HP-LaserJet-P1007 is idle. enabled since Fri 10 May 2013 13:08:30 HKT |
HP printers in general work fine Linux, but there are some issues sometimes.
P1007 is fully supported: http://hplipopensource.com/hplip-web...jet_p1007.html It requires hp-plugin. From my experience, printers which do not require it, work perfectly and their installation is the simplest. New HP printers areWindows-oriented, that's why they behave like a flash drive by default, to help Win-users install software from themselves. In this case, in Linux you should disable this feature first. One way is to install Win in VirtualBox, download original HP driver (for Win) , install it and in its software - disable this feature. Some time ago, as I heard, HP fixed this problem, not to offend Linux users. But I don't remember how to disable this feature. Search the net please. |
However, the driver for this printer was available, and installing it was quick and easy last year with Squeeze. In fact, I checked to make sure the printer had Linux support, especially Debian, before buying it. (And this expensive, professional quality printer worked perfectly, until the upgrade to Wheezy.) Maybe I'll get lucky and the first batch of updates will solve my woes. I shan't hold my breath though.
|
I have a few hp printers & they just work on my wheezy machines, if I plug up to a hp printer & the driver isn't installed it prompts & lets me know the driver thats needed.
|
My previous experiences with both HP and Brother were quick and painless. This surprising and bewildering situation seems to be mine alone. If this was not a fresh installation, I would assume I did something wrong to mess up my system. At the moment, I am considering adding the non-free repo. and trying to install that cups-ddk package. Who knows? Perhaps adding a repo. would be an easy fix. I have been avoiding it, because I want to attempt a completely FOSS system.
|
Why not try using synaptic & choosing to remove all config files & reinstall from it??
|
Quote:
|
Quote:
Quote:
Or this could be either the cause or a contributing factor. When running hp-setup Code:
Bus::open: Can not get ibus-daemon's address. |
I contacted people in the know on HP's support forum.
Quote:
|
All times are GMT -5. The time now is 10:43 AM. |