[Bug 497606] Re: lpstat in CUPS 1.3 can't list jobs on CUPS 1.4 servers
Evan Broder
evan at ebroder.net
Thu Mar 4 01:49:36 GMT 2010
And Jaunty.
** Attachment added: "cups_1.3.9-17ubuntu3.7.debdiff"
http://launchpadlibrarian.net/40108644/cups_1.3.9-17ubuntu3.7.debdiff
** Description changed:
Binary package hint: cups
IMPACT: lpstat on CUPS <=1.3.9 is unable to list jobs on a CUPS 1.4
server
DEVELOPMENT: Karmic and Lucid side-stepped this bug by upgrading to CUPS
1.4 clients. CUPS upstream fixed this in 1.3.10, and the attached
patches backport that fix.
PATCHES:
- http://launchpadlibrarian.net/36889840/cupsys_1.3.7-1ubuntu3.7.debdiff
+ http://launchpadlibrarian.net/40108552/cupsys_1.3.7-1ubuntu3.9.debdiff
for Hardy,
- http://launchpadlibrarian.net/36889904/cups_1.3.9-2ubuntu9.4.debdiff for
+ http://launchpadlibrarian.net/40108617/cups_1.3.9-2ubuntu9.6.debdiff for
Intrepid, and
- http://launchpadlibrarian.net/36889914/cups_1.3.9-17ubuntu3.5.debdiff
+ http://launchpadlibrarian.net/40108644/cups_1.3.9-17ubuntu3.7.debdiff
for Jaunty
INSTRUCTIONS: Reproduce by running `lpstat -h <server> -o <queue>`
against a CUPS 1.4 queue.
REGRESSION: I think regression is unlikely. The patches only add another
option to lpstat requests - the patch is from upstream, no code is
removed, and empirically the patch works.
===
CUPS versions before 1.3.10 failed to include a printer-uri attribute in
IPP_GET_JOBS requests issued by lpstat.
Against servers running CUPS 1.4, this causes an error when you try to
use lpstat to retrieve jobs:
dr-wily:~ broder$ lpstat -h get-print.mit.edu -o ajax
lpstat: No printer-uri in request!
This can be fixed by backporting a patch from upstream (parts of r8146
in http://svn.easysw.com/public/cups/branches/branch-1.3) - apparently
the printer-uri value can be bogus, so long as it's there.
--
lpstat in CUPS 1.3 can't list jobs on CUPS 1.4 servers
https://bugs.launchpad.net/bugs/497606
You received this bug notification because you are a member of Ubuntu
Sponsors for main, which is a direct subscriber.
More information about the Ubuntu-main-sponsors
mailing list