[Pkg-cups-devel] Bug#577526: cups-bsd: lprm doesn't take effect without restarting cups

Sanjoy Mahajan sanjoy at MIT.EDU
Mon Apr 12 13:12:50 UTC 2010


Package: cups-bsd
Version: 1.4.3-1
Severity: normal
File: /usr/bin/lprm

When I cancel a job with lprm, it doesn't go away until I restart
cups.  Here's a transcript:

# lpq
psc is ready and printing
Rank    Owner   Job     File(s)                         Total Size
active  sanjoy  1238    r01-divide-and-conquer-intro-cd 413696 bytes
# lprm
# lpq
psc is ready and printing
Rank    Owner   Job     File(s)                         Total Size
1st     sanjoy  1238    r01-divide-and-conquer-intro-cd 413696 bytes
# lprm 1238
lprm: Job #1238 is already canceled - can't cancel.
# lpq
psc is ready and printing
Rank    Owner   Job     File(s)                         Total Size
1st     sanjoy  1238    r01-divide-and-conquer-intro-cd 413696 bytes
# /etc/init.d/cups restart
Restarting Common Unix Printing System: cupsd.
# lpq   /* now it's gone! */
psc is ready
no entries

The printer is a HP PSC 2710.  I'm not totally sure the job has gone
away even after restarting cups, because the printer itself shows a
"printing" icon on the small LCD display, and I often also must cancel
the job with the physical "cancel" button on the printer control
panel.

-Sanjoy

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.33 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cups-bsd depends on:
ii  cups-client                   1.4.3-1    Common UNIX Printing System(tm) - 
ii  cups-common                   1.4.3-1    Common UNIX Printing System(tm) - 
ii  debconf [debconf-2.0]         1.5.30     Debian configuration management sy
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  libcups2                      1.4.3-1    Common UNIX Printing System(tm) - 
ii  update-inetd                  4.36       inetd configuration file updater

cups-bsd recommends no packages.

Versions of packages cups-bsd suggests:
ii  cups                          1.4.3-1    Common UNIX Printing System(tm) - 

-- debconf information:
  cups-bsd/setuplpd: false





More information about the Pkg-cups-devel mailing list