Your message dated Wed, 15 Apr 2020 15:00:19 +0200 with message-id <[email protected]> and subject line Re: Bug#799042: cups-client: lpoptions no longer outputs anything has caused the Debian Bug report #799042, regarding cups-client: lpoptions no longer outputs anything to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 799042: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799042 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: cups-client Version: 1.7.5-11+deb8u1 Severity: normal At my lab, a machine has been reinstalled with Debian 8, and as I was getting the following error: cassis:~> lpq lpq: Error - no default destination available. zsh: exit 1 lpq I wanted to know what was going on with lpoptions, but it returns nothing: cassis:~> lpoptions cassis:~> In strace output, I can see: [...] 41018 open("/home/vlefevre/.cups/lpoptions", O_RDONLY) = 5 41018 fcntl(5, F_GETFD) = 0 41018 fcntl(5, F_SETFD, FD_CLOEXEC) = 0 41018 read(5, "Default lip-multi-1 ColorModel=G"..., 4096) = 107 41018 read(5, "", 4096) = 0 41018 close(5) = 0 41018 exit_group(0) = ? 41018 +++ exited with 0 +++ so that the right file is read, but nothing happens. My .cups/lpoptions file is: Default lip-multi-1 ColorModel=Gray Resolution=1200dpi Dest lip-multi-3 ColorModel=Gray Resolution=1200dpi Note: concerning the lpq error, the reason seems to be that the printer is no longer available in the queue given by "lpstat -a". -- System Information: Debian Release: 8.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/64 CPU cores) Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages cups-client depends on: ii adduser 3.113+nmu3 ii cups-common 1.7.5-11+deb8u1 ii libavahi-client3 0.6.31-5 ii libavahi-common3 0.6.31-5 ii libc6 2.19-18+deb8u1 ii libcups2 1.7.5-11+deb8u1 ii libcupsimage2 1.7.5-11+deb8u1 cups-client recommends no packages. Versions of packages cups-client suggests: ii cups 1.7.5-11+deb8u1 ii cups-bsd 1.7.5-11+deb8u1 ii smbclient 2:4.1.17+dfsg-2 ii xpp 1.5-cvs20081009-1+b1 -- debconf-show failed
--- End Message ---
--- Begin Message ---Version: 2.3.1-11 On 2019-11-09 12:52:40 +0000, Brian Potkin wrote: > On Sat 09 Nov 2019 at 01:49:11 +0100, Vincent Lefevre wrote: > > I can still see this issue with Debian unstable: > > > > cventin:~> cat .cups/lpoptions > > Default lip-multi-1 ColorModel=Gray Resolution=1200dpi > > Dest lip-multi-3 ColorModel=Gray Resolution=1200dpi > > cventin:~> lpq > > lip-multi-1 is ready > > no entries > > cventin:~> lpoptions > > cventin:~> lpoptions -plip-multi-1 > > ColorModel=Gray copies=1 > > device-uri=lpd://liqqqs.lip.ens-lyon.fr/lip-multi-1-physical finishings=3 > > job-hold-until=no-hold job-priority=50 job-sheets=none,none > > marker-change-time=0 number-up=1 > > printer-commands=AutoConfigure,Clean,PrintSelfTestPage > > printer-info='Copieur multifonction Ricoh MP C3003, monochrome/couleur, > > A3/A4, recto-verso.' printer-is-accepting-jobs=true printer-is-shared=true > > printer-location='M1 3e étage - Bocal du LIP.' > > printer-make-and-model='Ricoh MP C3003 PS' printer-state=3 > > printer-state-change-time=1573222260 printer-state-reasons=none > > printer-type=12628220 > > printer-uri-supported=ipp://liqqs.lip.ens-lyon.fr:443/printers/lip-multi-1 > > Resolution=1200dpi > > cventin:~> > > > > Since lip-multi-1 is the default printer (note: none of the LPDEST and > > PRINTER environment variables are set, so that the default destination > > is obtained from ~/.cups/lpoptions), "lpoptions" should be equivalent > > to "lpoptions -plip-multi-1", as documented. > > Looks like my past and recent testing lacked lustre. I can check that this has now been fixed in Debian: cventin:~> cat .cups/lpoptions Default lip-multi-1 ColorModel=Gray Resolution=1200dpi Dest lip-multi-3 ColorModel=Gray Resolution=1200dpi cventin:~> lpq lip-multi-1 is ready no entries cventin:~> lpoptions ColorModel=Gray copies=1 device-uri=lpd://liqqqs.lip.ens-lyon.fr/lip-multi-1-physical finishings=3 job-cancel-after=10800 job-hold-until=no-hold job-priority=50 job-sheets=none,none marker-change-time=0 number-up=1 printer-commands=AutoConfigure,Clean,PrintSelfTestPage printer-info='Copieur multifonction Ricoh MP C3003, monochrome/couleur, A3/A4, recto-verso.' printer-is-accepting-jobs=true printer-is-shared=true printer-is-temporary=false printer-location='M1 3e étage - Bocal du LIP.' printer-make-and-model='Ricoh MP C3003 PS' printer-state=3 printer-state-change-time=1584429249 printer-state-reasons=none printer-type=8434172 printer-uri-supported=ipp://liqqs.lip.ens-lyon.fr:443/printers/lip-multi-1 Resolution=1200dpi -- Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
--- End Message ---
