tags 503712 + patch pending thanks Hi everyone,
so here is the NMU diff for ghostscript 8.62.dfsg.1-3.2 that I'm uploading. It is functionally identical to the proposed dependency change, I just fixed the versioning and added a closes to the changelog. Thanks to all bug commenters and Adeodato and Cyril comments on IRC. Note that this is still not ideal (i.e. a user manually causing gs-common to be uninstalled), but it seems that the dependency change is strictly better than the .config hack and that it covers automatic updates (as long as packages conflicting with gs-common are added), but seems to be about as far as we get. When testing with Niko's instructions for reproducing the problem ghostscript pulls in the newer gs-common as expected and the upgrade seems to work. Kind regards T. diff -u ghostscript-8.62.dfsg.1/debian/control ghostscript-8.62.dfsg.1/debian/control --- ghostscript-8.62.dfsg.1/debian/control +++ ghostscript-8.62.dfsg.1/debian/control @@ -10,10 +10,10 @@ Architecture: any Conflicts: gs (<< 8.62), gs-esp (<< 8.62), gs-gpl (<< 8.62), gs-afpl (<< 8.62), gs-aladdin (<< 8.62), gs-cjk-resource (<< 1.20010910-1), gs-pdfencrypt (<< 7.00), gs-common (<< 8.62) Replaces: gs (<< 8.62), gs-esp (<< 8.62), gs-gpl (<< 8.62), gs-afpl (<< 8.62), gs-aladdin (<< 8.62), gs-pdfencrypt (<< 7.00), gs-common (<< 8.62) -Provides: gs-pdfencrypt, postscript-viewer, gs-common +Provides: gs-pdfencrypt, postscript-viewer Recommends: psfontmgr Suggests: ghostscript-x, hpijs -Depends: ${shlibs:Depends}, gsfonts (>= 6.0-1), defoma, debconf | debconf-2.0, debianutils (>= 1.6), libgs8 (= ${binary:Version}) +Depends: ${shlibs:Depends}, gs-common (>= 8.62.dfsg.1-3.2), gsfonts (>= 6.0-1), defoma, debconf | debconf-2.0, debianutils (>= 1.6), libgs8 (= ${binary:Version}) Description: The GPL Ghostscript PostScript/PDF interpreter Ghostscript is used for PostScript/PDF preview and printing. Usually as a back-end to a program such as ghostview, it can display PostScript and PDF @@ -65,12 +65,11 @@ Package: gs-common Architecture: all -Priority: extra -Depends: ghostscript, ghostscript-x -Description: Transitional package +Priority: optional +Depends: ghostscript +Description: Dummy package depending on ghostscript This dummy package is provided for a smooth transition from the previous gs-.../gs-common combo (the packages are replaced by ghostscript). - It may safely be removed after installation. Package: ghostscript-x Architecture: any diff -u ghostscript-8.62.dfsg.1/debian/changelog ghostscript-8.62.dfsg.1/debian/changelog --- ghostscript-8.62.dfsg.1/debian/changelog +++ ghostscript-8.62.dfsg.1/debian/changelog @@ -1,3 +1,12 @@ +ghostscript (8.62.dfsg.1-3.2) unstable; urgency=low + + * Non-maintainer upload. + * Make ghostscript depend on gs-common to prevent removal. + Drop gs-common -> ghostscript-x dependency to not force the + X version on all users. Hopefully Closes: #503712. + + -- Thomas Viehmann <t...@beamnet.de> Sun, 28 Dec 2008 11:18:18 +0100 + ghostscript (8.62.dfsg.1-3.1) unstable; urgency=medium * Non-maintainer upload. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org