Your message dated Fri, 11 Aug 2017 18:38:25 +0000
with message-id <[email protected]>
and subject line Bug#871627: Removed package(s) from unstable
has caused the Debian Bug report #820345,
regarding printing fails by default with "cannot open printer description file"
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.)


-- 
820345: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820345
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: emacs24
Version: 24.4+1-5
Severity: normal

I am not sure this is a bug in emacs as much as in lpr(1), but since
Emacs is the *only* program showing this behavior, I figured I would
try my luck here first.

By default, in Emacs 24 on Jessie, printing fails. If I do "M-x
print-buffer", I get this in *Messages*:

Send current buffer to default printer? y
Spooling...
user-error: Spooling...done: lpr: cannot open printer description file

And indeed, lpr(1) on the commandline fails similarly:

$ echo test | lpr
lpr: cannot open printer description file

lp(1) works fine, however:

$ echo test | lp
request id is HP_LaserJet_1012-59 (0 file(s))

So a workaround for me is to customize the lpr-command variable *and*
switches, otherwise you get:

user-error: Spooling...done: /usr/bin/lp: Error - unknown option "J".

The customize code is this:

(custom-set-variables
 '(lpr-add-switches nil)
 '(lpr-command "lp"))

I am not sure why emacs tries to use lpr, or why it is even
installed. Aptitude tells me it is a hard dependency of a2ps and a
Suggests of imagemagick. I am not sure why a2ps is installed, but I
seem to have installed it manually for some reason... but even if i
uninstall it, Emacs then fails even more badly because lpr is not
installed!

Can't we have more appropriate, configuration-less defaults here?

I am assuming here that everyone is now using CUPS to configure their
printers. I have been using Debian for about a decade and would have
absolutely zero idea on how to configure my HP printer with LPR. In
fact, I am pretty sure no one would actually want to bother with that.

Maybe I'm missing something obvious here.

-- System Information:
Debian Release: 8.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable'), (1, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-0.bpo.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages emacs24 depends on:
ii  emacs24-bin-common     24.4+1-5
ii  gconf-service          3.2.6-3
ii  libacl1                2.2.52-2
ii  libasound2             1.0.28-1
ii  libatk1.0-0            2.14.0-1
ii  libc6                  2.19-18+deb8u4
ii  libcairo-gobject2      1.14.0-2.1+deb8u1
ii  libcairo2              1.14.0-2.1+deb8u1
ii  libdbus-1-3            1.8.20-0+deb8u1
ii  libfontconfig1         2.11.0-6.3
ii  libfreetype6           2.5.2-3+deb8u1
ii  libgconf-2-4           3.2.6-3
ii  libgdk-pixbuf2.0-0     2.31.1-2+deb8u4
ii  libgif4                4.1.6-11+deb8u1
ii  libglib2.0-0           2.42.1-1+b1
ii  libgnutls-deb0-28      3.3.8-6+deb8u3
ii  libgomp1               4.9.2-10
ii  libgpm2                1.20.4-6.1+b2
ii  libgtk-3-0             3.14.5-1+deb8u1
ii  libice6                2:1.0.9-1+b1
ii  libjpeg62-turbo        1:1.3.1-12
ii  libm17n-0              1.6.4-3
ii  libmagickcore-6.q16-2  8:6.8.9.9-5+deb8u1
ii  libmagickwand-6.q16-2  8:6.8.9.9-5+deb8u1
ii  libotf0                0.9.13-2
ii  libpango-1.0-0         1.36.8-3
ii  libpangocairo-1.0-0    1.36.8-3
ii  libpng12-0             1.2.50-2+deb8u2
ii  librsvg2-2             2.40.5-1+deb8u1
ii  libselinux1            2.3-2
ii  libsm6                 2:1.2.2-1+b1
ii  libtiff5               4.0.3-12.3+deb8u1
ii  libtinfo5              5.9+20140913-1+b1
ii  libx11-6               2:1.6.2-3
ii  libxft2                2.3.2-1
ii  libxinerama1           2:1.1.3-1+b1
ii  libxml2                2.9.1+dfsg1-5+deb8u1
ii  libxpm4                1:3.5.11-1+b1
ii  libxrandr2             2:1.4.2-1+b1
ii  libxrender1            1:0.9.8-1+b1
ii  zlib1g                 1:1.2.8.dfsg-2+b1

emacs24 recommends no packages.

Versions of packages emacs24 suggests:
ii  emacs24-common-non-dfsg  24.4+1-2

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 24.5+1-11+rm

Dear submitter,

as the package emacs24 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/871627

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to