hplip has dependency on libcups2-dev (for cups-config cmd)

Bug #530327 reported by jimav on 2010-03-01
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hplip (Ubuntu)
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-check[21909]: info: :Checking for CUPS...
    hp-check[21909]: info: :Status: scheduler is running
    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=/boot/vmlinuz-2.6.32-14-generic root=UUID=8cc9f952-31b2-440f-b822-f21ca3f2e5a3 ro quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
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:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:
dmi.product.name: VirtualBox
dmi.product.version: 1.2
dmi.sys.vendor: innotek GmbH

jimav (james-avera) wrote :
Changed in hplip (Ubuntu):
milestone: none → ubuntu-10.04
importance: Undecided → High
Launchpad Janitor (janitor) wrote :

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
    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/hplip-cups.postinst, debian/hpijs.postinst,
    debian/hpijs-ppds.postinst: Updated also PPDs with version numbers like
    3.10.2rc1.9.
 -- Till Kamppeter <email address hidden> Mon, 12 Apr 2010 10:55:18 +0200

Changed in hplip (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers