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

Bug#785049: marked as done (printer-driver-cups-pdf: Syntax error in printer-driver-cups-pdf.postint)



Your message dated Wed, 13 May 2015 15:50:01 +0000
with message-id <E1YsYv3-00014q-FL@franck.debian.org>
and subject line Bug#785049: fixed in cups-pdf 2.6.1-20
has caused the Debian Bug report #785049,
regarding printer-driver-cups-pdf: Syntax error in printer-driver-cups-pdf.postint
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 owner@bugs.debian.org
immediately.)


-- 
785049: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785049
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: printer-driver-cups-pdf
Version: 2.6.1-19
Severity: normal

Dear Maintainer,

When upgrading printer-driver-cups-pdf I noticed this error during
installation:

Setting up printer-driver-cups-pdf (2.6.1-19) ...
/var/lib/dpkg/info/printer-driver-cups-pdf.postinst: 50: [: missing ]
Skipped automated creation of the PDF queue.

The referenced line contains:

                if [ -z "$(LC_ALL=C lpstat -h localhost -v 2>/dev/null | grep 'cups-pdf:/')" && -d /run/cups/certs ]

and the '&&' inside '[ ... ]' is what is throwing the error.  I suspect
(but did not test) that the conditional check on /run/cups/certs isn't
actually running.

Some possible fixes:

                if [ -z "$(LC_ALL=C lpstat -h localhost -v 2>/dev/null | grep 'cups-pdf:/')" -a -d /run/cups/certs ]

                if [ -z "$(LC_ALL=C lpstat -h localhost -v 2>/dev/null | grep 'cups-pdf:/')" ] && [ -d /run/cups/certs ]

                if LC_ALL=C lpstat -h localhost -v 2>/dev/null | grep -Lq 'cups-pdf:/' && [ -d /run/cups/certs ]


*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages printer-driver-cups-pdf depends on:
ii  cups            1.7.5-11
ii  cups-client     1.7.5-11
ii  ghostscript     9.06~dfsg-2
ii  libc6           2.19-18
ii  libpaper-utils  1.1.24+nmu4

printer-driver-cups-pdf recommends no packages.

Versions of packages printer-driver-cups-pdf suggests:
ii  system-config-printer  1.4.6-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: cups-pdf
Source-Version: 2.6.1-20

We believe that the bug you reported is fixed in the latest version of
cups-pdf, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 785049@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Martin-Éric Racine <martin-eric.racine@iki.fi> (supplier of updated cups-pdf package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 12 May 2015 18:00:38 +0300
Source: cups-pdf
Binary: printer-driver-cups-pdf cups-pdf
Architecture: source amd64
Version: 2.6.1-20
Distribution: unstable
Urgency: medium
Maintainer: Debian CUPS Maintainers <debian-printing@lists.debian.org>
Changed-By: Martin-Éric Racine <martin-eric.racine@iki.fi>
Description:
 cups-pdf   - PDF writer backend for CUPS (dummy transitional package)
 printer-driver-cups-pdf - printer driver for PDF writing via CUPS
Closes: 785049
Changes:
 cups-pdf (2.6.1-20) unstable; urgency=medium
 .
   * Fixed "Syntax error in printer-driver-cups-pdf.postint" (Closes: #785049).
     Thanks to Jason Rhinelander for the bug report and the solution.
Checksums-Sha1:
 2ccf17d978ceb93f6b3d8ec854889afb0013df23 1852 cups-pdf_2.6.1-20.dsc
 2f07a1deeea8005c63f67c7ff2e08fd728cfbfb5 13976 cups-pdf_2.6.1-20.debian.tar.xz
 20251e42eb9ce43431defee2b86356a4bd5a2fe4 44244 printer-driver-cups-pdf_2.6.1-20_amd64.deb
 28d1283729d154f68aa975c954a4ed4da7ab9565 1134 cups-pdf_2.6.1-20_amd64.deb
Checksums-Sha256:
 9825630c8ece529081416b71c21752264ceba89538acfb51701604bc444ab9d5 1852 cups-pdf_2.6.1-20.dsc
 f7cc65bd64723cb214185b3fd5c2347a418355dce735f7de3f435e98d4489f04 13976 cups-pdf_2.6.1-20.debian.tar.xz
 8b3f0d3020be6e830b2ed593a243aa28f997f583b29ddc8faf58394a58ffb3ac 44244 printer-driver-cups-pdf_2.6.1-20_amd64.deb
 139761ffda5108f42140e81e4fc4f53f06fc9184ee88a8d3da83cd32efc6090e 1134 cups-pdf_2.6.1-20_amd64.deb
Files:
 adbb1af1670e96ab6d8a1e314a5cf192 1852 graphics optional cups-pdf_2.6.1-20.dsc
 48c852e9d1a4d5dd6e8aa00a18986f4e 13976 graphics optional cups-pdf_2.6.1-20.debian.tar.xz
 fdabed901520c81e1a5405bd4dde29e6 44244 graphics optional printer-driver-cups-pdf_2.6.1-20_amd64.deb
 e2b239f4701a818719dbb3967b1cfbd9 1134 oldlibs extra cups-pdf_2.6.1-20_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVU1tsAAoJENFO8V2v4RNH/H0QALvg9q3IFXNwoTxIc10jr7yK
ox+sUVJ9zVkpIG9uwZ94CHH6eYaoOSdV+vmIOr0pA+DOqarLMI44gA/BhnbEoYSV
SKDVEwCqFhho4d+i8rHFty0bvpA6B/KyRMhaOh9lE8gO3sz3CWh8K6HJDqWbqMOS
LlCT24AO7LJ6Qy61UWQ7MJtFQCBFulwbv93w8LniEIWbuLYwPww+iegbUwI4GoCw
odZwL4r+PtVjuj0fsqmSea9opbn55INT025ESEURj9Dg3v6CW1TNueJB2T/xcRH1
kxCj9b+GvJhauuPv4tmDpjzsU1oWX/fKDkMPAuykAOSnXxugTx+nV4guhnNrAN6V
qMmKakBnkxoCXUgJsn1wWD0SOiOCaCqKmpLo+9OL2zlaiuBAlFxJDn9dKRfX1ltU
r2L0vBXbVTUuuuPnazSbusjy3sHU3m9XZSItQdKsEhaiqKkvmOTkeR2Km0r7dg71
QB0iqUHULTt+psNoAnkEu/7XFsaAD41Oba21aeQ0iu47O5VGSuXuvi302VXutSmh
5G7q3v8TGBgFBbT1BlXASEPSjLMGI3nNn+qBURMKSsR1Fi5G1VsJAOcClCKg8S28
WfbR/2DeN42A9a/vFcsJCMjKC8yonN32HgWz+Cr76Rk7u24hcqmoZvP+VuO+D2Bs
JYND2xUPO8utkrjWWDHL
=ONgC
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: