[Pkg-cups-devel] Bug#356911: cupsys: duplicate invocation of update-rc.d in postrm

Stefan Huehner stefan at huehner.org
Tue Mar 14 18:00:23 UTC 2006


Package: cupsys
Version: 1.1.23-15
Severity: minor
Tags: patch


Hi,
your 'debian/cupsys.postrm' fragment calls explicitely 'update-rc.d
remove'. This invocation is added implicitely by dh_installinit. So the
call ends up twice in the resulting postrm. The attached patch removes
the manual call to update-rc.d.

Please consider applying.

Regards,
Stefan


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages cupsys depends on:
ii  adduser                  3.85            Add and remove users and groups
ii  debconf [debconf-2.0]    1.4.71          Debian configuration management sy
ii  gs-esp                   8.15.1.dfsg.1-1 The Ghostscript PostScript interpr
ii  libc6                    2.3.6-3         GNU C Library: Shared libraries an
ii  libcupsimage2            1.1.23-15       Common UNIX Printing System(tm) - 
ii  libcupsys2               1.1.23-15       Common UNIX Printing System(tm) - 
ii  libgnutls12              1.2.9-2         the GNU TLS library - runtime libr
ii  libpam0g                 0.79-3.1        Pluggable Authentication Modules l
ii  libpaper1                1.1.14-5        Library for handling paper charact
ii  libslp1                  1.2.1-5         OpenSLP libraries
ii  patch                    2.5.9-4         Apply a diff file to an original
ii  perl-modules             5.8.8-3         Core Perl modules
ii  procps                   1:3.2.6-2.1     /proc file system utilities
ii  xpdf-utils               3.01-7          Portable Document Format (PDF) sui
ii  zlib1g                   1:1.2.3-11      compression library - runtime

Versions of packages cupsys recommends:
ii  cupsys-client                 1.1.23-15  Common UNIX Printing System(tm) - 
pn  foomatic-filters              <none>     (no description available)
ii  smbclient                     3.0.21c-1  a LanManager-like simple client fo

-- debconf information excluded
-------------- next part --------------
diff -ur cupsys-1.1.23/debian/cupsys.postrm cupsys-1.1.23.mod/debian/cupsys.postrm
--- cupsys-1.1.23/debian/cupsys.postrm	2006-03-14 18:57:18.000000000 +0100
+++ cupsys-1.1.23.mod/debian/cupsys.postrm	2006-03-14 18:56:47.000000000 +0100
@@ -32,7 +32,6 @@
 	rm -f /etc/cups/printers.conf* /etc/cups/classes.conf.* \
 		/var/lib/cups/ppds.dat /etc/cups/raw.convs /etc/cups/raw.types
 	rmdir /etc/cups 2>/dev/null || true
-	update-rc.d cupsys remove > /dev/null 2>&1
 	;;
     remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
         ;;


More information about the Pkg-cups-devel mailing list