lpadmin / cups-driverd : wrong ppd path , Unable to copy PPD file!
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cups
Hi,
after upgrading to karmic, my scripts to add printers through lpadmin do not work anymore. When trying to add a printer e.g. like
lpadmin -p HP-LaserJet-1300 -m hp-laserjet_
I get error messages of the kind
lpadmin: Unable to copy PPD file!
Neither relative nor absolute paths to the ppd file work. strace reveals that lpadmin calls
/usr/
with the given ppd file (-m option)
cups-driverd does not accept absolute paths.
when a relative path is given, cups-driverd looks under /usr/share/
regards
ProblemType: Bug
Architecture: i386
Date: Sat Nov 14 10:34:31 2009
DistroRelease: Ubuntu 9.10
MachineType: Gigabyte Technology Co., Ltd. GA-MA78G-DS3H
NonfreeKernelMo
Package: cups 1.4.1-5ubuntu2.1
Papersize: a4
ProcCmdLine: root=/dev/
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_US.UTF-8
LC_MESSAGES=
SHELL=/bin/tcsh
ProcVersionSign
SourcePackage: cups
Uname: Linux 2.6.31-14-generic i686
XsessionErrors:
(gnome-
(gnome-
(polkit-
(nautilus:6758): Eel-CRITICAL **: eel_preferences
dmi.bios.date: 04/03/2008
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F2
dmi.board.name: GA-MA78G-DS3H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSof
dmi.product.name: GA-MA78G-DS3H
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
Changed in cups (Ubuntu): | |
status: | New → Confirmed |
Setting a symlink from /usr/share/ cups/model to /usr/share/ppd fixes the problem (dirty workaround), so it is definitely a wrong path in the binary.