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

Bug#743249: marked as done (cups-daemon fails to install - missing dir in preinst)



Your message dated Tue, 01 Apr 2014 06:49:12 +0000
with message-id <E1WUsVU-0000Si-Fs@franck.debian.org>
and subject line Bug#743249: fixed in cups 1.7.1-12
has caused the Debian Bug report #743249,
regarding cups-daemon fails to install - missing dir in preinst
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.)


-- 
743249: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743249
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cups
Version: 1.7.1-11
Severity: grave
Tags: patch
Justification: renders package unusable

Dear Maintainer,

cups-daemon fails to install on fresh systems because of missed /etc/cups. Message

Selecting previously unselected package cups-daemon.
Preparing to unpack .../cups-daemon_1.7.1-11.1_amd64.deb ...
/var/lib/dpkg/tmp.ci/preinst: 14: /var/lib/dpkg/tmp.ci/preinst: cannot create /etc/cups/cupsd-systemd-listen.conf: Directory nonexistent
dpkg: error processing archive /var/cache/apt/archives/cups-daemon_1.7.1-11.1_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 2

Creating the directory before writing a file in it solve the problem.
Patch attached.

Greetz Alf

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

Kernel: Linux 3.14-0.towo.2-siduction-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cups depends on:
ii  cups-client            1.7.1-11
ii  cups-common            1.7.1-11
ii  cups-core-drivers      1.7.1-11
ii  cups-daemon            1.7.1-11
ii  cups-filters           1.0.50-1
ii  cups-ppdc              1.7.1-11
ii  cups-server-common     1.7.1-11
ii  debconf [debconf-2.0]  1.5.52
ii  ghostscript            9.05~dfsg-8+b1
ii  libavahi-client3       0.6.31-4
ii  libavahi-common3       0.6.31-4
ii  libc-bin               2.18-4
ii  libc6                  2.18-4
ii  libcups2               1.7.1-11
ii  libcupscgi1            1.7.1-11
ii  libcupsimage2          1.7.1-11
ii  libcupsmime1           1.7.1-11
ii  libcupsppdc1           1.7.1-11
ii  libgcc1                1:4.8.2-18
ii  libstdc++6             4.8.2-18
ii  libusb-1.0-0           2:1.0.17-1+b1
ii  lsb-base               4.1+Debian12
ii  poppler-utils          0.24.3-0r1
ii  procps                 1:3.3.9-4

Versions of packages cups recommends:
ii  avahi-daemon                     0.6.31-4
ii  colord                           1.0.6-1
ii  cups-filters [ghostscript-cups]  1.0.50-1
pn  printer-driver-gutenprint        <none>

Versions of packages cups suggests:
ii  cups-bsd               1.7.1-11
ii  cups-pdf               2.6.1-9
ii  foomatic-db            20140325-1
pn  hplip                  <none>
pn  printer-driver-hpcups  <none>
pn  smbclient              <none>
ii  udev                   204-8

-- debconf information:
* cupsys/raw-print: true
* cupsys/backend: lpd, socket, usb, snmp, dnssd
diff --git a/debian/cups-daemon.preinst b/debian/cups-daemon.preinst
index 3dfb9f0..7fc3f07 100644
--- a/debian/cups-daemon.preinst
+++ b/debian/cups-daemon.preinst
@@ -11,6 +11,7 @@ install|upgrade)
     fi
 
     if [ ! -f /etc/cups/cupsd-systemd-listen.conf ]; then
+        mkdir -p /etc/cups
 	cat >/etc/cups/cupsd-systemd-listen.conf <<EOF
 [Socket]
 # This file was generated by CUPS and _WILL_ be deleted or overwritten by it!

--- End Message ---
--- Begin Message ---
Source: cups
Source-Version: 1.7.1-12

We believe that the bug you reported is fixed in the latest version of
cups, 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 743249@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated cups 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, 01 Apr 2014 08:00:00 +0200
Source: cups
Binary: libcups2 libcupsimage2 libcupscgi1 libcupsmime1 libcupsppdc1 cups cups-core-drivers cups-daemon cups-client libcups2-dev libcupsimage2-dev libcupscgi1-dev libcupsmime1-dev libcupsppdc1-dev cups-bsd cups-common cups-server-common cups-ppdc cups-dbg
Architecture: source amd64 all
Version: 1.7.1-12
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Description: 
 cups       - Common UNIX Printing System(tm) - PPD/driver support, web interfa
 cups-bsd   - Common UNIX Printing System(tm) - BSD commands
 cups-client - Common UNIX Printing System(tm) - client programs (SysV)
 cups-common - Common UNIX Printing System(tm) - common files
 cups-core-drivers - Common UNIX Printing System(tm) - PPD-less printing
 cups-daemon - Common UNIX Printing System(tm) - daemon
 cups-dbg   - Common UNIX Printing System(tm) - debugging symbols
 cups-ppdc  - Common UNIX Printing System(tm) - PPD manipulation utilities
 cups-server-common - Common UNIX Printing System(tm) - server common files
 libcups2   - Common UNIX Printing System(tm) - Core library
 libcups2-dev - Common UNIX Printing System(tm) - Development files CUPS library
 libcupscgi1 - Common UNIX Printing System(tm) - CGI library
 libcupscgi1-dev - Common UNIX Printing System(tm) - Development files for CGI libra
 libcupsimage2 - Common UNIX Printing System(tm) - Raster image library
 libcupsimage2-dev - Common UNIX Printing System(tm) - Development files CUPS image li
 libcupsmime1 - Common UNIX Printing System(tm) - MIME library
 libcupsmime1-dev - Common UNIX Printing System(tm) - Development files MIME library
 libcupsppdc1 - Common UNIX Printing System(tm) - PPD manipulation library
 libcupsppdc1-dev - Common UNIX Printing System(tm) - Development files PPD library
Closes: 743249
Changes: 
 cups (1.7.1-12) unstable; urgency=medium
 .
   [ Didier Raboud ]
   * Fix the implicit-declaration problem in the D-BUS threading patch
     by backporting an upstream update
 .
   [ Alf Gaida ]
   * Create /etc/cups directory before attempting to create files in it
     (Closes: #743249)
Checksums-Sha1: 
 4097d6ac0fc2018dca2ec151b2e82875039e7827 3321 cups_1.7.1-12.dsc
 b8dcfe5a76dee1a6d39b0500396c37f434c2fa9f 298252 cups_1.7.1-12.debian.tar.xz
 c6374309121e58ef957df50491d58596689db780 274668 libcups2_1.7.1-12_amd64.deb
 53d355aa96cba73c02f354c2f31924d682b1d3f7 111024 libcupsimage2_1.7.1-12_amd64.deb
 5d65aca5238848da8c59c553d27521f4c9f6effa 122270 libcupscgi1_1.7.1-12_amd64.deb
 2d2a14b503d7db486427d23c9f6d8e283c03cde1 107952 libcupsmime1_1.7.1-12_amd64.deb
 9285494c02a42dae09ae8056e5bf58874bbc6a62 140256 libcupsppdc1_1.7.1-12_amd64.deb
 a76178054f53d1e434cb7a9a27ddfcb7e7ce1320 282806 cups_1.7.1-12_amd64.deb
 a0be0e8bb1e2f7659ff9b9102909c888fe323c9b 121042 cups-core-drivers_1.7.1-12_amd64.deb
 e1ae60ffd0e8d7639d65444a1f18863c8eb7f5f0 362514 cups-daemon_1.7.1-12_amd64.deb
 648ea053b7e6a0079fcc8b4d85d7d85f9c54efbf 290676 cups-client_1.7.1-12_amd64.deb
 44e118de216c9b824ef4e718ee4df725d5dca2b1 312136 libcups2-dev_1.7.1-12_amd64.deb
 42231934d6484042df950775d2e4ba6aa6bc9c2a 18044 libcupsimage2-dev_1.7.1-12_amd64.deb
 8a43b0d038dd4188b0a35f81baa6241dcd48a875 124592 libcupscgi1-dev_1.7.1-12_amd64.deb
 81ad48736a82af9adc06cc516ebba59fb43536f8 108564 libcupsmime1-dev_1.7.1-12_amd64.deb
 de77b42fa1e8996b7a4dd66638a10e86edb7fb14 145002 libcupsppdc1-dev_1.7.1-12_amd64.deb
 2f0926ec8ac3f5e628e6bba55b9ff83c22d625d7 35006 cups-bsd_1.7.1-12_amd64.deb
 099ff873a04cbaf809a9e91439868add895358f2 239710 cups-common_1.7.1-12_all.deb
 7841a33b726420d34b3666731df2be1eb58e9c6a 595990 cups-server-common_1.7.1-12_all.deb
 f257ab0e8853ffacc9d7a2924ce6e7ad7e3c42bb 121154 cups-ppdc_1.7.1-12_amd64.deb
 06f522e19f5744876b211977f4db84f45cad6371 2121940 cups-dbg_1.7.1-12_amd64.deb
Checksums-Sha256: 
 f11bf2e6447fb801cc3c927ad55e7f48f5ec55e69991af135d6addef193d08af 3321 cups_1.7.1-12.dsc
 9766eb9cdfd9bbe5324b1cb018aef8196a16c9a60cdf4078a7fb7771a6ebd394 298252 cups_1.7.1-12.debian.tar.xz
 ef18cfe3f0b305c318d15e2b04e884e4a99a6f45764a56f969f99e138104b4a3 274668 libcups2_1.7.1-12_amd64.deb
 24b8b82ba38c05fcd335d596eb79ed79f8d3a2895b6487368c9e04656e17f856 111024 libcupsimage2_1.7.1-12_amd64.deb
 17aeee0af98e8eec39b19a8fc96d03e786aef22d02b06d7f57c1753e30d1e20a 122270 libcupscgi1_1.7.1-12_amd64.deb
 277a70eae45ad4729a9712ec5ad460b694aece79765e1cf3af0a065b0f4e26ea 107952 libcupsmime1_1.7.1-12_amd64.deb
 0690e1b9f837e0ca096ba7b8547930e64f3dc266bb772f7f9adae01747cf9dd4 140256 libcupsppdc1_1.7.1-12_amd64.deb
 4fc555b78d9681e90d249d3a6f9c74d24a0cd00fdc58803669dbc433b9a155c3 282806 cups_1.7.1-12_amd64.deb
 65705fb3653e962e14b5a283c4106f699de43f62296876e6cecd36398bc2fd5c 121042 cups-core-drivers_1.7.1-12_amd64.deb
 61aa306529c6bce2c81b770bbb975f0454b09fae9e49b877a7d16631a0f3ffdb 362514 cups-daemon_1.7.1-12_amd64.deb
 d9bf8308121ea3c3eae3a9d24e3183b9056df87660f880720cc374aa39d6c76a 290676 cups-client_1.7.1-12_amd64.deb
 dd6b620f5a97f8823c913f3de9a09e2f19662b802cb5efe5687c2166da325407 312136 libcups2-dev_1.7.1-12_amd64.deb
 7bc81d835459c607abd8581e65bbe564703cfa14ebd7bb443eb2660766aeaed9 18044 libcupsimage2-dev_1.7.1-12_amd64.deb
 32cd819b9e1d86da1798278c75f723e798f8f74d380124519472716a39599194 124592 libcupscgi1-dev_1.7.1-12_amd64.deb
 6fd392e93a7dc4ed8b448660d60459a9407051ebfe3e209d6b6a91a64b709f58 108564 libcupsmime1-dev_1.7.1-12_amd64.deb
 f3ccb5eeff199695c7bd768df61da656bf5eeab57eda1b911a0e2d0561515c8d 145002 libcupsppdc1-dev_1.7.1-12_amd64.deb
 135c583d5197ef082ef29670984acc14d5c9d0c9f68c0170399fc38612f3ab41 35006 cups-bsd_1.7.1-12_amd64.deb
 2ed856e3aa1321b65aad8df39647664d59b975a81cca0025e827c28c307c6378 239710 cups-common_1.7.1-12_all.deb
 df6d005a2cb0ed61619373c545fbb283ab1c35072681441bf77a34f57e20b76f 595990 cups-server-common_1.7.1-12_all.deb
 8d84973f49e09dec31942debede0c575a4cc0130f540d3acac904f5dc32c2a20 121154 cups-ppdc_1.7.1-12_amd64.deb
 7584c29f41b57939aa7433342719aca8685c62afe849396a11f42ec3ce0bede0 2121940 cups-dbg_1.7.1-12_amd64.deb
Files: 
 a37c3633661c9ec50c9fc326cdbd9f7c 3321 net optional cups_1.7.1-12.dsc
 3c46a83c4e2a00a4d81053da1f6c334e 298252 net optional cups_1.7.1-12.debian.tar.xz
 55793f6823181ecdf02ccc55092c658e 274668 libs optional libcups2_1.7.1-12_amd64.deb
 4e9449cef6a11e50c1f7ba96360f490a 111024 libs optional libcupsimage2_1.7.1-12_amd64.deb
 afb2d4a7d3381dca69629a0579cd1aa4 122270 libs optional libcupscgi1_1.7.1-12_amd64.deb
 8450252d1ebe114affdbe3b120f73f15 107952 libs optional libcupsmime1_1.7.1-12_amd64.deb
 b81d9a897c2bf0c5fb0982176575eeca 140256 libs optional libcupsppdc1_1.7.1-12_amd64.deb
 890a9abeb9e9f5afaddbeb1ebc737005 282806 net optional cups_1.7.1-12_amd64.deb
 b6497d89b4213a4e1bcc2c8b9407e1a3 121042 net optional cups-core-drivers_1.7.1-12_amd64.deb
 3d57abc104cd409c33a22c06e07e784c 362514 net optional cups-daemon_1.7.1-12_amd64.deb
 622d99daa0620ff0ab579185ffd06294 290676 net optional cups-client_1.7.1-12_amd64.deb
 abbc9ad49e1704f81c61c6db6da0899c 312136 libdevel optional libcups2-dev_1.7.1-12_amd64.deb
 537ffe27f7bb85bc2af0a9c678c5c75e 18044 libdevel optional libcupsimage2-dev_1.7.1-12_amd64.deb
 80c7ceffbd28d245b7f7a434514a96d8 124592 libdevel optional libcupscgi1-dev_1.7.1-12_amd64.deb
 a088be4d02a6ac15ab19ea4cb03bc523 108564 libdevel optional libcupsmime1-dev_1.7.1-12_amd64.deb
 5e1bece8b0c647a1a30b2eb3db91a0c3 145002 libdevel optional libcupsppdc1-dev_1.7.1-12_amd64.deb
 6aeca713c87fa96d55d0ccd951d8ca8a 35006 net extra cups-bsd_1.7.1-12_amd64.deb
 c11f85e9b8bd5897678007ae9836e37e 239710 net optional cups-common_1.7.1-12_all.deb
 7449c38308a32e55afa650e6ea38110e 595990 net optional cups-server-common_1.7.1-12_all.deb
 185fe7ac8d462fd511a199a6dc23afff 121154 utils optional cups-ppdc_1.7.1-12_amd64.deb
 cce6b3643fa87c63d0c3bda04debbad7 2121940 debug extra cups-dbg_1.7.1-12_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQGcBAEBCAAGBQJTOl/PAAoJEIvPpx7KFjRVbyYL/1lxb4DbEsGkS+9v7+J4u8ur
IeUxYuYgJiK7/8cgOPK39ndjBUQpcGIWOCd7DCDHRkOwzFzEqZ6RfG7Z0FQOiiLd
g2mFBV+XEM5lStR56qQ68DQ2WOQtlJPrZsO6Mu9LErChFk6Usd4TI6GTOhhafEMS
Vfns2wlF+P3iyVfGbE00nAY+MoKFzNbMuc2lymeTWrt6jV6aQ6Ccr/JlhNtPfcUM
RSkUeUaqxe0hycpgFTuCZbwxfoZMCrIHr8F+ZAH4R3C67o7OT+kJtOFnAT39xdXx
tj0aVA8Yp13JuBJH+rUqJnAdQzX8t1kINRbssSOurFywCAE040rZLnI15wPeVm3s
VtIMjsHbI+QKv6aCpncadrtygpbE3Sr+TUP96KLVa98XR86CYMWOAKU0+y3rleTU
AIySUi8v+1CVDaveuQ9iCrhu3Hmp5v0ttRAFfW1tR7N8698/sFLaqBJvsKW7JPgR
F+QTNXKWqyCMeNglL1tPk5jKoc941Ref5+fGdWrGPQ==
=vxpu
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: