hplip has dependency on libcups2-dev (for cups-config cmd)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hplip (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: hplip
Th hp-check command, in the hplip package, calls the cups-config command.
This does not work in a default install because cups-config is part of the libcups2-dev package, which is normally omitted.
SUGGESTED SOLUTIONS:
1. Make package hplip list libcups2-dev as a dependency so the latter will be installed automatically.
2. Move the cups-config command from libcups2-dev pkg to hplip or some other more-global package.
However, hp-check firmly believes that libcups2-dev is a run-time dependency, which should be
investigated before trying to extract cups-config.
As best I can tell the dependency is coded in some Python module installed as part of hplip.
I don't know Python well enough to understand what "core = CoreInstall()" does at hp-check line 205, but it seems to
install a module containing a 'dependencies' hash.
Symptom: hp-check -rt reports this:
hp-
hp-
error: Version: (Not available. CUPS may not be installed or not running.)
(see code in /usr/bin/hp-check around line 413)
ProblemType: Bug
Architecture: amd64
Date: Mon Mar 1 13:10:08 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100224.1)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added.
Lsusb:
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: innotek GmbH VirtualBox
Package: hplip 3.10.2-0ubuntu1
Papersize: letter
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: hplip
Uname: Linux 2.6.32-14-generic x86_64
dmi.bios.date: 12/01/2006
dmi.bios.vendor: innotek GmbH
dmi.bios.version: VirtualBox
dmi.modalias: dmi:bvninnotekG
dmi.product.name: VirtualBox
dmi.product.
dmi.sys.vendor: innotek GmbH
Changed in hplip (Ubuntu): | |
milestone: | none → ubuntu-10.04 |
importance: | Undecided → High |
This bug was fixed in the package hplip - 3.10.2-2ubuntu2
---------------
hplip (3.10.2-2ubuntu2) lucid; urgency=low
* debian/ hplip-dbg. install, debian/ hplip.install, debian/control: Moved hplip-cups. postinst, debian/ hpijs.postinst, hpijs-ppds. postinst: Updated also PPDs with version numbers like
hp-check into hplip-dbg, as it is a debugging tool. Added dependency
on libcups2-dev to hplip-dbg, as hp-check needs cups-config
(LP: #530327).
* debian/
debian/
3.10.2rc1.9.
-- Till Kamppeter <email address hidden> Mon, 12 Apr 2010 10:55:18 +0200