[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#799042: cups-client: lpoptions no longer outputs anything



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


Reply to: