installer cannot install python-qt4-dbus

Asked by Rob Quin

Hi,
I'm trying to install HPLIP 3.9.4b in order to get my Deskjet F2280 working.
My distro is 64studio. This is a customised version of Debian Etch.

First the install stopped because it couldn't install libcupsys-dev as this package has been replaced by libcupsys2-dev. I followed Rod's instructions in question#69604. This got me a bit further but now the installer can't find the python-qt4-dbus package. A quick search of the Debian repositories shows that this package is not available for Etch and is only available for Lenny. Does anyone know how to work around this?

Of the 9 missing dependencies that the installer warns about, in the log file, python-dbus & dbus are already installed and python-ctypes is available.

Thanks, Rob

Here's the log file:

rob@64studio:~/Sys_Admin/Download/HP_Driver/hplip-3.9.4b$ ./hplip-install

HP Linux Imaging and Printing System (ver. 3.9.4b)
HPLIP Installer ver. 5.0

Copyright (c) 2001-9 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.

Installer log saved in: hplip-install_Wed-20-May-2009_22:37:05.log

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

INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) :

Initializing. Please wait...

INTRODUCTION
------------
This installer will install HPLIP version 3.9.4b on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).

DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Debian 4.0.

Is "Debian 4.0" your correct distro/OS and version (y=yes*, n=no, q=quit) ?

SELECT HPLIP OPTIONS
--------------------
Would you like to enable support for parallel (LPT:) connected printers? (y=yes, n=no*, q=quit) ?

ENTER ROOT/SUPERUSER PASSWORD
-----------------------------
Please enter the root/superuser password:
Password accepted

INSTALLATION NOTES
------------------
Be sure to disable the CD-ROM repositories and also ensure that the main/security repositories are enabled.

Please read the installation notes. Press <enter> to continue or 'q' to quit:

RUNNING PRE-INSTALL COMMANDS
----------------------------

INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
warning: There are 1 missing REQUIRED dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: cups-image (CUPS image - CUPS image development files)

INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
warning: There are 9 missing OPTIONAL dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency for option 'gui_qt4': pyqt4-dbus (PyQt 4 DBus - DBus Support for PyQt4)
warning: Missing REQUIRED dependency for option 'fax': python-ctypes (Python ctypes - A foreign function library for Python)
warning: This installer cannot install 'python-ctypes' for your distro/OS and/or version.
warning: Option 'fax' has been turned off.
warning: Missing REQUIRED dependency for option 'fax': python-dbus (Python DBus - Python bindings for DBus)
warning: This installer cannot install 'python-dbus' for your distro/OS and/or version.
warning: Option 'fax' has been turned off.
warning: Missing OPTIONAL dependency for option 'fax': reportlab (Reportlab - PDF library for Python)
warning: Missing REQUIRED dependency for option 'fax': dbus (DBus - Message bus system)
warning: This installer cannot install 'dbus' for your distro/OS and/or version.
warning: Option 'fax' has been turned off.
warning: Missing REQUIRED dependency for option 'scan': sane-devel (SANE - Scanning library development files)
warning: Missing OPTIONAL dependency for option 'scan': scanimage (scanimage - Shell scanning program)
warning: Missing OPTIONAL dependency for option 'base': cups-ddk (CUPS DDK - CUPS driver development kit)
warning: This installer cannot install 'cups-ddk' for your distro/OS and/or version.
warning: Missing OPTIONAL dependency for option 'base': policykit (PolicyKit - Administrative policy framework)
warning: This installer cannot install 'policykit' for your distro/OS and/or version.

CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.

RUNNING PRE-PACKAGE COMMANDS
----------------------------
su -c "dpkg --configure -a" (Pre-depend step 1)
su -c "apt-get install -f" (Pre-depend step 2)
su -c "apt-get update" (Pre-depend step 3)
gnome-terminal -x su -c "apt-get install --yes cupsys-bsd" (Pre-depend step 4)

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'su -c "apt-get install --force-yes -y libcupsys2-dev"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y cupsys-bsd"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y python-qt4-dbus"'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'su -c "apt-get install --force-yes -y python-qt4-dbus"'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'su -c "apt-get install --force-yes -y python-qt4-dbus"'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'su -c "apt-get install --force-yes -y python-qt4-dbus"'
Please wait, this may take several minutes...
error: Package install command failed with error code 100
Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ? q

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Rob Quin
Solved:
Last query:
Last reply:
Revision history for this message
Andrew Malcolmson (andmalc) said :
#1

python-qt4-dbus is only required by versions of hplip since 3.9.2-1 in March as you can see from the Debian Changelog:

http://packages.debian.org/changelogs/pool/main/h/hplip/hplip_3.9.2-3/changelog

Your printer was released in the Spring of last year so you could certainly try an earlier version of hplip. Unfortunately the changelog doesn't say in which version support for your printer was added, and I didn't see that in the hplip tarball either. Maybe Aaron here knows.

Anyway, you can view the dependencies and download various versions of hplip at

http://www.debian.org/distrib/packages#search_packages

Revision history for this message
Rob Quin (robquin-uklinux) said :
#2

Thanks for the suggestion Andrew. I searched around a bit and this is what I came up with.

Installed, I have hplip version 2.7.10-5~etch1
Deskjet F2280 was added to version 2.8.6
            http://hplipopensource.com/hplip-web/release_notes.html
Version available in Lenny is 2.8.6b-4

So I added "deb http://ftp.uk.debian.org/debian/ lenny main contrib non-free" to /etc/apt/sources.list
and put "APT::Default-Release "etch";" in /etc/apt/apt.conf
but apt-get update choked on this so I reverted back to just Etch.

I considered downloading hplip_2.8.6.b-4_i386.deb and doing #dpkg -i
but quite a number of dependencies would need sorting manually as well so I didn't go there.

When the 64Studio people upgrade their distro to Lenny then the problem will be solved.
In the meantime I've bought a longer usb lead and hooked the printer up to another computer that is running Lenny.
The problem isn't solved but as I've side stepped it I will mark it up as solved.

Thankyou again for your ideas and time.

Revision history for this message
dwelch91 (dwelch91) said :
#3

On Wed, May 20, 2009 at 7:28 PM, Andrew Malcolmson <
<email address hidden>> wrote:

> Question #71831 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/71831
>
> Status: Open => Answered
>
> Andrew Malcolmson proposed the following answer:
> python-qt4-dbus is only required by versions of hplip since 3.9.2-1 in
> March as you can see from the Debian Changelog:
>
>
> http://packages.debian.org/changelogs/pool/main/h/hplip/hplip_3.9.2-3/changelog
>
> Your printer was released in the Spring of last year so you could
> certainly try an earlier version of hplip. Unfortunately the changelog
> doesn't say in which version support for your printer was added, and I
> didn't see that in the hplip tarball either. Maybe Aaron here knows.

Look up your printer here:

http://hplipopensource.com/hplip-web/supported_devices/index.html

Each one is marked with the minimum HPLIP version that is required.

>
>
> Anyway, you can view the dependencies and download various versions of
> hplip at
>
> http://www.debian.org/distrib/packages#search_packages
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>