LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 05-07-2013, 12:39 AM   #1
Randicus Draco Albus
Member
 
Registered: May 2011
Location: Sitting in front of my computer.
Distribution: Debian
Posts: 955
Blog Entries: 2

Rep: Reputation: 238Reputation: 238Reputation: 238
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.
The other concerned not being able to connect to gnome-keyring (a location I cannot remember): No such file or directory.

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
gtk printer
The last part of dmesg
Code:
[ 9212.586128] usb 1-1.2: Product: HP LaserJet P1007
[ 9212.586131] usb 1-1.2: Manufacturer: Hewlett-Packard
[ 9212.586134] usb 1-1.2: SerialNumber: NC1ATM3
[ 9215.851468] usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4817
[ 9215.851480] usbcore: registered new interface driver usblp
[ 9217.000172] usblp0: removed
[ 9217.011584] usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4817
[ 9219.246425] usblp0: removed
I believe this is the only relevant portion of the report, but if not I can run it again and post the result.

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.

Last edited by Randicus Draco Albus; 05-07-2013 at 12:40 AM.
 
Old 05-07-2013, 06:08 PM   #2
gdizzle
Member
 
Registered: Jul 2012
Posts: 202

Rep: Reputation: Disabled
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.
 
Old 05-07-2013, 06:13 PM   #3
Randicus Draco Albus
Member
 
Registered: May 2011
Location: Sitting in front of my computer.
Distribution: Debian
Posts: 955
Blog Entries: 2

Original Poster
Rep: Reputation: 238Reputation: 238Reputation: 238
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.
 
Old 05-07-2013, 09:54 PM   #4
Randicus Draco Albus
Member
 
Registered: May 2011
Location: Sitting in front of my computer.
Distribution: Debian
Posts: 955
Blog Entries: 2

Original Poster
Rep: Reputation: 238Reputation: 238Reputation: 238
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:
--------------------------
| DOWNLOAD CONFIGURATION |
--------------------------

Checking for network connection...
Downloading configuration file from: http://hplip.sf.net/plugin.conf
Downloading configuration: [\                             ] 0%    error: Plugin download failed with error code = 4


---------------
| COPY PLUGIN |
---------------

Downloading plug-in from: file://
Downloading plug-in: [\                                ] 0%    error: Plug-in download failed: no host given

error: Plug-in file not found (server returned 404 or similar error). Error code: no host given
WARNING: gnome-keyring:: couldn't connect to: /home/randicus/.cache/keyring-qxb4OC/pkcs11: No such file or directory
Since I have not seen anyone else complaining about printer problems after up-grading, I believe there must have been a small hitch during the up-grade. If I cannot resolve this in the next couple days, it will be time to experiment by re-installing with a new Wheezy disc.
 
Old 05-07-2013, 11:26 PM   #5
gdizzle
Member
 
Registered: Jul 2012
Posts: 202

Rep: Reputation: Disabled
http://hplipopensource.com/hplip-web/support.html

Anymore details if you try a : hp-check -t
 
Old 05-08-2013, 12:21 AM   #6
Randicus Draco Albus
Member
 
Registered: May 2011
Location: Sitting in front of my computer.
Distribution: Debian
Posts: 955
Blog Entries: 2

Original Poster
Rep: Reputation: 238Reputation: 238Reputation: 238
hp-check -t showed I still had missing plug-ins.
Code:
Status Types:
    OK
    MISSING       - Missing Dependency or Permission or Plug-in
    INCOMPAT      - Incompatible dependency-version or Plugin-version

Saving output in log file: /home/randicus/hp-check.log

Initializing. Please wait...
warning: debian-7.0 version is not supported. Using debian-6.0.5 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 GNU/Linux
 Host: debian
 Proc: 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 GNU/Linux
 Distribution: debian 7.0

-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.12.6
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian distro  7.0 version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.12.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.12.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 05/08/13 12:28:25
version = 3.12.6


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

--------------------------
|  External Dependencies |
--------------------------

 gs                   Ghostscript               REQUIRED        7.05            9.05            OK         -
 network              Network-wget              OPTIONAL        -               1.13.4          OK         -
 error: dbus          DBus                      REQUIRED        -               1.6.8           MISSING    'DBUS may not be installed or not running'
 scanimage            Shell-Scanning            OPTIONAL        1.0             1.0.22          OK         -
 policykit            Admin-Policy-framework    OPTIONAL        -               0.105           OK         -
 xsane                SANE-GUI                  OPTIONAL        0.9             0.998           OK         -
 error: cups          CUPS                      REQUIRED        1.1             -               INCOMPAT   'CUPS may not be installed or not running'

-------------------------
|  General Dependencies |
-------------------------

 reportlab            Python-PDF-Lib            OPTIONAL        2.0             2.5             OK         -
 error: libcrypto     OpenSSL-Crypto-Lib        REQUIRED        -               1.0.1           MISSING    'libcrypto needs to be installed'
 pil                  Python-Image-Lib          OPTIONAL        -               1.1.7           OK         -
 error: pyqt4-dbus    PyQt4-DBUS                REQUIRED        4.0             -               MISSING    'pyqt4-dbus needs to be installed'
 error: libjpeg       JPEG-Lib                  REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
 error: libpthread    POSIX-Threads-Lib         REQUIRED        -               2.13            MISSING    'libpthread needs to be installed'
 python-dbus          Python-DBUS               REQUIRED        0.80.0          1.1.1           OK         -
 error: cups-ddk      CUPS-DDK                  OPTIONAL        -               -               MISSING    'cups-ddk needs to be installed'
 error: python-devel  Python-SDK                REQUIRED        2.2             2.7.3           MISSING    'python-devel needs to be installed'
 error: pyqt4         Python-Qt4                REQUIRED        4.0             -               MISSING    -
 error: cups-devel    CUPS-SDK                  REQUIRED        -               -               MISSING    'cups-devel needs to be installed'
 error: sane-devel    SANE-SDK                  REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 error: libusb        USB-Lib                   REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 sane                 Scan-Lib                  REQUIRED        -               -               OK         -
 error: cups-image    CUPS-Image-Lib            REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 error: libnetsnmp-devel SNMP-Networking-SDK       REQUIRED        5.0.9           5.4.3           MISSING    'libnetsnmp-devel needs to be installed'
 python-xml           Python-XML-Lib            REQUIRED        -               2.1.0           OK         -
 python-notify        Desktop-notifications     OPTIONAL        -               -               OK         -

------------------------------
|  Compile Time Dependencies |
------------------------------

 error: gcc           gcc-Compiler              REQUIRED        -               -               MISSING    'gcc needs to be installed'
 error: libtool       Build-tools               REQUIRED        -               -               MISSING    'libtool needs to be installed'
 error: make          GNU-Build-tools           REQUIRED        3.0             -               MISSING    'make needs to be installed'

----------------------
|  Python Extentions |
----------------------

 cupsext              CUPS-Extension            REQUIRED        -               3.12.6          OK         -
 pcardext             PhotoCard-Extension       REQUIRED        -               3.12.6          OK         -
 hpmudext             IO-Extension              REQUIRED        -               3.12.6          OK         -

-----------------------
|  Scan Configuration |
-----------------------

 hpaio                HPLIP-SANE-Backend        REQUIRED        -               3.12.6          OK         'hpaio found in /etc/sane.d/dll.conf'
 scanext              Scan-SANE-Extension       REQUIRED        -               3.12.6          OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

WARNING: gnome-keyring:: couldn't connect to: /home/randicus/.cache/keyring-qxb4OC/pkcs11: No such file or directory
device `v4l:/dev/video0' is a Noname Integrated Camera virtual device


--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 
WARNING
-------
Type: Unknown
Device URI: gnome-keyring:: couldn't connect to: /home/randicus/.cache/keyring-qxb4OC/pkcs11: No such file or directory

HP-LaserJet-P1007
-----------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_P1007?serial=NC1ATM3
PPD: /etc/cups/ppd/HP-LaserJet-P1007.ppd
PPD Description: HP LaserJet P1007 Foomatic/foo2xqx (recommended)
Printer status: WARNING: gnome-keyring:: couldn't connect to: /home/randicus/.caprinter Unplugged or turned offled since Wed 08 May 2013 10:48:20 AM HKT -

HP Linux Imaging and Printing System (ver. 3.12.6)
System Tray Status Service ver. 2.0

Copyright (c) 2001-14 Hewlett-Packard 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.

warning: Qt/PyQt 4 initialization failed.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
warning: Unable to connect to dbus. Is hp-systray running?
WARNING: gnome-keyring:: couldn't connect to: /home/randicus/.cache/keyring-qxb4OC/pkcs11: No such file or directory
error: Required plug-in status: Not installed
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_P1007?serial=NC1ATM3
error: Device not found
error: Communication status: Failed


--------------
| PERMISSION |
--------------

groups          user-groups                    Required        -        -        OK       randicus lp cdrom floppy audio dip video plugdev netdev bluetooth lpadmin powerdev scanner

 
-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: 'libdbus-1-dev' package is missing/incompatible 
error: 'libcups2' package is missing/incompatible 
error: 'libssl-dev' package is missing/incompatible 
error: 'python-qt4-dbus' package is missing/incompatible 
error: 'libjpeg62-dev' package is missing/incompatible 
error: 'libc6' package is missing/incompatible 
error: 'python-dev' package is missing/incompatible 
error: 'python-qt4' package is missing/incompatible 
error: 'libcups2-dev' package is missing/incompatible 
error: 'cups-bsd' package is missing/incompatible 
error: 'cups-client' package is missing/incompatible 
error: 'libsane-dev' package is missing/incompatible 
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libcupsimage2' package is missing/incompatible 
error: 'libcupsimage2-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 
error: 'g++' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'make' package is missing/incompatible 

Missing Optional Dependencies
-----------------------------
error: 'cups-ddk' package is missing/incompatible 


Total Errors: 22
Total Warnings: 0

Re-run 'hp-check --fix' command to prompt and fix the issues. 

Done.
randicus@debian:~$ hp-check --fix

HP Linux Imaging and Printing System (ver. 3.12.6)
Dependency/Version Check Utility ver. 15

Copyright (c) 2001-14 Hewlett-Packard 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.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.                                    
2. Run-time check mode (-r or --run): Use this mode to determine if a distro    
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball   
has the proper dependencies installed to successfully run.                      
3. Both compile- and run-time check mode (-b or --both) (Default): This mode    
will check both of the above cases (both compile- and run-time dependencies).   

Check types:                                                                    
a. EXTERNALDEP - External Dependencies                                          
b. GENERALDEP - General Dependencies (required both at compile and run time)    
c. COMPILEDEP - Compile time Dependencies                                       
d. [All are run-time checks]                                                    
PYEXT SCANCONF QUEUES PERMISSION                                                

Status Types:
    OK
    MISSING       - Missing Dependency or Permission or Plug-in
    INCOMPAT      - Incompatible dependency-version or Plugin-version

Saving output in log file: /home/randicus/hp-check.log

Initializing. Please wait...
warning: debian-7.0 version is not supported. Using debian-6.0.5 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 GNU/Linux
 Host: debian
 Proc: 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 GNU/Linux
 Distribution: debian 7.0

-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.12.6
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian distro  7.0 version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.12.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.12.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 05/08/13 12:28:55
version = 3.12.6


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

--------------------------
|  External Dependencies |
--------------------------

 gs                   Ghostscript               REQUIRED        7.05            9.05            OK         -
 network              Network-wget              OPTIONAL        -               1.13.4          OK         -
 error: dbus          DBus                      REQUIRED        -               1.6.8           MISSING    'DBUS may not be installed or not running'
 scanimage            Shell-Scanning            OPTIONAL        1.0             1.0.22          OK         -
 policykit            Admin-Policy-framework    OPTIONAL        -               0.105           OK         -
 xsane                SANE-GUI                  OPTIONAL        0.9             0.998           OK         -
 error: cups          CUPS                      REQUIRED        1.1             -               INCOMPAT   'CUPS may not be installed or not running'

-------------------------
|  General Dependencies |
-------------------------

 reportlab            Python-PDF-Lib            OPTIONAL        2.0             2.5             OK         -
 error: libcrypto     OpenSSL-Crypto-Lib        REQUIRED        -               1.0.1           MISSING    'libcrypto needs to be installed'
 pil                  Python-Image-Lib          OPTIONAL        -               1.1.7           OK         -
 error: pyqt4-dbus    PyQt4-DBUS                REQUIRED        4.0             -               MISSING    'pyqt4-dbus needs to be installed'
 error: libjpeg       JPEG-Lib                  REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
 error: libpthread    POSIX-Threads-Lib         REQUIRED        -               2.13            MISSING    'libpthread needs to be installed'
 python-dbus          Python-DBUS               REQUIRED        0.80.0          1.1.1           OK         -
 error: cups-ddk      CUPS-DDK                  OPTIONAL        -               -               MISSING    'cups-ddk needs to be installed'
 error: python-devel  Python-SDK                REQUIRED        2.2             2.7.3           MISSING    'python-devel needs to be installed'
 error: pyqt4         Python-Qt4                REQUIRED        4.0             -               MISSING    -
 error: cups-devel    CUPS-SDK                  REQUIRED        -               -               MISSING    'cups-devel needs to be installed'
 error: sane-devel    SANE-SDK                  REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 error: libusb        USB-Lib                   REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 sane                 Scan-Lib                  REQUIRED        -               -               OK         -
 error: cups-image    CUPS-Image-Lib            REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 error: libnetsnmp-devel SNMP-Networking-SDK       REQUIRED        5.0.9           5.4.3           MISSING    'libnetsnmp-devel needs to be installed'
 python-xml           Python-XML-Lib            REQUIRED        -               2.1.0           OK         -
 python-notify        Desktop-notifications     OPTIONAL        -               -               OK         -

------------------------------
|  Compile Time Dependencies |
------------------------------

 error: gcc           gcc-Compiler              REQUIRED        -               -               MISSING    'gcc needs to be installed'
 error: libtool       Build-tools               REQUIRED        -               -               MISSING    'libtool needs to be installed'
 error: make          GNU-Build-tools           REQUIRED        3.0             -               MISSING    'make needs to be installed'

----------------------
|  Python Extentions |
----------------------

 cupsext              CUPS-Extension            REQUIRED        -               3.12.6          OK         -
 pcardext             PhotoCard-Extension       REQUIRED        -               3.12.6          OK         -
 hpmudext             IO-Extension              REQUIRED        -               3.12.6          OK         -

-----------------------
|  Scan Configuration |
-----------------------

 hpaio                HPLIP-SANE-Backend        REQUIRED        -               3.12.6          OK         'hpaio found in /etc/sane.d/dll.conf'
 scanext              Scan-SANE-Extension       REQUIRED        -               3.12.6          OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

WARNING: gnome-keyring:: couldn't connect to: /home/randicus/.cache/keyring-qxb4OC/pkcs11: No such file or directory
device `v4l:/dev/video0' is a Noname Integrated Camera virtual device


--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 
WARNING
-------
Type: Unknown
Device URI: gnome-keyring:: couldn't connect to: /home/randicus/.cache/keyring-qxb4OC/pkcs11: No such file or directory

HP-LaserJet-P1007
-----------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_P1007?serial=NC1ATM3
PPD: /etc/cups/ppd/HP-LaserJet-P1007.ppd
PPD Description: HP LaserJet P1007 Foomatic/foo2xqx (recommended)
Printer status: WARNING: gnome-keyring:: couldn't connect to: /home/randicus/.caprinter Unplugged or turned offled since Wed 08 May 2013 10:48:20 AM HKT -

HP Linux Imaging and Printing System (ver. 3.12.6)
System Tray Status Service ver. 2.0

Copyright (c) 2001-14 Hewlett-Packard 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.

warning: Qt/PyQt 4 initialization failed.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
warning: Unable to connect to dbus. Is hp-systray running?
WARNING: gnome-keyring:: couldn't connect to: /home/randicus/.cache/keyring-qxb4OC/pkcs11: No such file or directory
error: Required plug-in status: Not installed
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_P1007?serial=NC1ATM3
error: Device not found
error: Communication status: Failed


--------------
| PERMISSION |
--------------

groups          user-groups                    Required        -        -        OK       randicus lp cdrom floppy audio dip video plugdev netdev bluetooth lpadmin powerdev scanner

 
-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: 'libdbus-1-dev' package is missing/incompatible 
error: 'libcups2' package is missing/incompatible 
error: 'libssl-dev' package is missing/incompatible 
error: 'python-qt4-dbus' package is missing/incompatible 
error: 'libjpeg62-dev' package is missing/incompatible 
error: 'libc6' package is missing/incompatible 
error: 'python-dev' package is missing/incompatible 
error: 'python-qt4' package is missing/incompatible 
error: 'libcups2-dev' package is missing/incompatible 
error: 'cups-bsd' package is missing/incompatible 
error: 'cups-client' package is missing/incompatible 
error: 'libsane-dev' package is missing/incompatible 
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libcupsimage2' package is missing/incompatible 
error: 'libcupsimage2-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 
error: 'g++' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'make' package is missing/incompatible 

Missing Optional Dependencies
-----------------------------
error: 'cups-ddk' package is missing/incompatible 


Total Errors: 22
Total Warnings: 0


------------------------------------
| Installation of Missing Packages |
------------------------------------

Install missing/incompatible packages. (a=install all*, c=custom_install, s=skip, q=quit):a


ENTER ROOT/SUPERUSER PASSWORD
-----------------------------
Please enter the root/superuser password: 
Password accepted
Updating repository
-------------------
cmd =su -c "dpkg --configure -a"
cmd =su -c "apt-get install -f"
cmd =su -c "apt-get update"
cmd =su -c "apt-get install --yes cupsys-bsd"
warning: Failed to update Repository, check if any update/installation is running.
Installing Missing/Incompatible packages
----------------------------------------
cmd =su -c "apt-get install --force-yes -y libcups2-dev"
cmd =su -c "apt-get install --force-yes -y cups-bsd"
cmd =su -c "apt-get install --force-yes -y libsane-dev"
cmd =su -c "apt-get install --force-yes -y libsnmp-dev"
cmd =su -c "apt-get install --force-yes -y libssl-dev"
cmd =su -c "apt-get install --force-yes -y libcupsimage2-dev"
cmd =su -c "apt-get install --force-yes -y cups-ddk"
error: Failed to install 'cups-ddk' package, please install manually. 
cmd =su -c "apt-get install --force-yes -y libjpeg62-dev"
cmd =su -c "apt-get install --force-yes -y libdbus-1-dev"
cmd =su -c "apt-get install --force-yes -y g++"
cmd =su -c "apt-get install --force-yes -y python-qt4-dbus"
cmd =su -c "apt-get install --force-yes -y cups-client"
cmd =su -c "apt-get install --force-yes -y python-qt4"
cmd =su -c "apt-get install --force-yes -y libc6"
cmd =su -c "apt-get install --force-yes -y libcupsimage2"
cmd =su -c "apt-get install --force-yes -y libcups2"
cmd =su -c "apt-get install --force-yes -y libtool"
cmd =su -c "apt-get install --force-yes -y make"
cmd =su -c "apt-get install --force-yes -y python-dev"
cmd =su -c "apt-get install --force-yes -y libusb-1.0.0-dev"
cmd_status=su -c 'service cups status'
Do you want to install missing/incompatible Plug-in's?(y=yes*, n=no)y
cmd = su -c "hp-plugin"
 
Done.
I installed them, but still no change. One hiccup was
Code:
error: Failed to install 'cups-ddk' package, please install manually.
There may also be a Gnome-KDE conflict. When adding packages after installation, I accidentally installed Krusader when I wanted Midnight Commander. It pulled in sever dependencies, including qt-4, which generated a couple errors when installing the missing plug-ins.

Whatever the exact cause is, I am getting really annoyed.
 
Old 05-08-2013, 04:36 AM   #7
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD, Slackware
Posts: 1,216

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
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
# apt-get -f install
Code:
$ cat /etc/apt/sources.list

Last edited by cynwulf; 05-08-2013 at 04:39 AM.
 
Old 05-08-2013, 05:46 PM   #8
Randicus Draco Albus
Member
 
Registered: May 2011
Location: Sitting in front of my computer.
Distribution: Debian
Posts: 955
Blog Entries: 2

Original Poster
Rep: Reputation: 238Reputation: 238Reputation: 238
Quote:
Originally Posted by caravel View Post
What did you do to get the printer working in squeeze?
Down-loaded the driver from HP's web site and ran hp-setup -i. Nothing more.

Quote:
does the slew of "Missing Required Dependencies" have anything to do with it? It looks like cups isn't even installed.
The problem is that after upgrading, HPLIP was missing many dependencies. Why? My guess is the upgrade had a tiny glitch. I just visited http://localhost:631/ and CUPS lists my printer and says it is active. So CUPS does appear installed. When I try to print, the computer says the job is processed and completed, but the printer does nothing.

Quote:
What is the output of
Code:
# apt-get dist-upgrade
# apt-get -f install
Code:
$ cat /etc/apt/sources.list
Code:
# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Code:
# cat /etc/apt/sources.list

deb http://ftp.tw.debian.org/debian/ wheezy main
#deb-src http://ftp.tw.debian.org/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main
#deb-src http://security.debian.org/ wheezy/updates main
I have thought about adding the non-free repository, but I doubt that would solve it.

Last edited by Randicus Draco Albus; 05-08-2013 at 05:48 PM.
 
Old 05-08-2013, 09:55 PM   #9
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,013

Rep: Reputation: 433Reputation: 433Reputation: 433Reputation: 433Reputation: 433
Have you gone to printing under Applications>>Printing & selected your printer as the default printer? It maybe just printing to a file.
 
Old 05-08-2013, 10:41 PM   #10
Randicus Draco Albus
Member
 
Registered: May 2011
Location: Sitting in front of my computer.
Distribution: Debian
Posts: 955
Blog Entries: 2

Original Poster
Rep: Reputation: 238Reputation: 238Reputation: 238
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.
 
Old 05-08-2013, 11:05 PM   #11
odiseo77
Member
 
Registered: Dec 2004
Location: London, UK
Distribution: Debian Sid, OpenSUSE 13.1
Posts: 947

Rep: Reputation: 273Reputation: 273Reputation: 273
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
 PolicyKit-gnome provides a D-Bus session bus service that is used to bring up authentication dialogs used for obtaining privileges.
Página principal: http://hal.freedesktop.org/docs/PolicyKit-gnome/
Not sure if this will solve the printing issue, but might solve the problem when attempting to execute hp-setup.

Last edited by odiseo77; 05-08-2013 at 11:08 PM.
 
Old 05-08-2013, 11:14 PM   #12
Randicus Draco Albus
Member
 
Registered: May 2011
Location: Sitting in front of my computer.
Distribution: Debian
Posts: 955
Blog Entries: 2

Original Poster
Rep: Reputation: 238Reputation: 238Reputation: 238
Code:
policykit-1 is already the newest version.
policykit-1 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Nice try, but no.
 
Old 05-08-2013, 11:17 PM   #13
odiseo77
Member
 
Registered: Dec 2004
Location: London, UK
Distribution: Debian Sid, OpenSUSE 13.1
Posts: 947

Rep: Reputation: 273Reputation: 273Reputation: 273
It's not policikit-1, but policykit-1-gnome. Do you have this one installed?
 
Old 05-08-2013, 11:35 PM   #14
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,013

Rep: Reputation: 433Reputation: 433Reputation: 433Reputation: 433Reputation: 433
Is this the exact error?
Quote:
error: Failed to install 'cups-ddk' package, please install manually.
It's also installed thru this package
http://packages.debian.org/wheezy/cups-ppdc
 
Old 05-09-2013, 02:14 AM   #15
Randicus Draco Albus
Member
 
Registered: May 2011
Location: Sitting in front of my computer.
Distribution: Debian
Posts: 955
Blog Entries: 2

Original Poster
Rep: Reputation: 238Reputation: 238Reputation: 238
Quote:
Originally Posted by EDDY1 View Post
Is this the exact error?
Quote:
error: Failed to install 'cups-ddk' package, please install manually.
Yes. I missed the please before install. I had other messages referring to set to manually installed and missed that word. But that is old news now. I got impatient and frustrated to the point of doing something un-Linux-like. I experimented by re-installing with a Wheezy Stable disc. Same problem.

Code:
error: PolicyKit support requires DBUS or PolicyKit support files missing
Code:
# hp-setup -i

HP Linux Imaging and Printing System (ver. 3.12.6)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-14 Hewlett-Packard 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.

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------

  Num       Connection  Description                                               
            Type                                                                  
  --------  ----------  ----------------------------------------------------------
  0*        usb         Universal Serial Bus (USB)                                
  1         net         Network/Ethernet/Wireless (direct connection or JetDirect)
  2         par         Parallel Port (LPT:)                                      

Enter number 0...2 for connection type (q=quit, enter=usb*) ? 0

Using connection type: usb

Using device: hp:/usb/HP_LaserJet_P1007?serial=NC1ATM3


Setting up device: hp:/usb/HP_LaserJet_P1007?serial=NC1ATM3



------------------------
| PLUG-IN INSTALLATION |
------------------------


HP Linux Imaging and Printing System (ver. 3.12.6)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-14 Hewlett-Packard 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.

error: PolicyKit support requires DBUS or PolicyKit support files missing
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)

\
-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.12.6 |
-----------------------------------------

  Option      Description                                       
  ----------  --------------------------------------------------
  d           Download plug-in from HP (recomended)             
  p           Specify a path to the plug-in (advanced)          
  q           Quit hp-plugin (skip installation)                

Enter option (d=download*, p=specify path, q=quit) ? d

--------------------------
| DOWNLOAD CONFIGURATION |
--------------------------

Checking for network connection...
Downloading configuration file from: http://hplip.sf.net/plugin.conf
Downloading configuration: [\                             ] 0%    error: Plugin download failed with error code = 4


---------------
| COPY PLUGIN |
---------------

Downloading plug-in from: file://
Downloading plug-in: [\                          ] 0%    error: Plug-in download failed: no host given

error: Plug-in file not found (server returned 404 or similar error). Error code: no host given

---------------------
| PRINT QUEUE SETUP |
---------------------

warning: One or more print queues already exist for this device: HP-LaserJet-P1007.

Would you like to install another print queue for this device (y=yes, n=no*, q=quit) ? n

Done.
This piece at the end is interesting.
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.
cups-ppdc set to manually installed.
Code:
$ apt-cache policy policykit-1-gnome
policykit-1-gnome:
  Installed: 0.105-2
  Candidate: 0.105-2
  Version table:
 *** 0.105-2 0
        500 cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official amd64 xfce-CD Binary-1 20130504-14:44]/ wheezy/main amd64 Packages
        500 http://ftp.tw.debian.org/debian/ wheezy/main amd64 Packages
        100 /var/lib/dpkg/status
So, according to all this:
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Git and Gnome-keyring mlpa Slackware 1 03-07-2013 03:49 AM
How to disable gnome-keyring? fannymites Linux - Software 19 12-12-2012 08:40 AM
keyring access Gwexxy Linux - Newbie 2 10-25-2012 01:40 AM
Gnome keyring from nowhere fridgitator Linux - Newbie 2 02-19-2008 11:45 PM
How to get rid of the gnome keyring ? thejasondean Linux - Software 4 05-19-2006 02:08 AM


All times are GMT -5. The time now is 07:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration