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

Bug#614729: libgs9-common doesn't break/replace ghostscript as claimed in changelog



Package: libgs9-common
Version: 9.01~dfsg-1
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch natty

ghostscript (9.00~dfsg-3) experimental; urgency=low
[...]
    + Have libgs9-common break and replace older ghostscript.
    Closes: bug#485621, thanks to Tom Parker and others.

But libgs9-common doesn't actually break and replace older ghostscript,
and according to git it never did.  This would have broken Ubuntu natty
upgrades except that I noticed it when reviewing the package in binary
NEW and fixed it.

Could you apply this patch?  I know the version is a bit newer than
strictly accurate in Debian, but we had a version 9.01~dfsg-0ubuntu1 in
Ubuntu which was based off older Debian packaging.  The version I
selected should be safe for both distributions.

  * Really break and replace older ghostscript in libgs9-common.

diff -Nru ghostscript-9.01~dfsg/debian/control ghostscript-9.01~dfsg/debian/control
--- ghostscript-9.01~dfsg/debian/control	2011-02-12 16:25:49.000000000 +0000
+++ ghostscript-9.01~dfsg/debian/control	2011-02-23 02:43:14.000000000 +0000
@@ -145,6 +145,8 @@
 Section: libs
 Architecture: all
 Depends: ${misc:Depends}
+Breaks: ghostscript (<< 9.01~dfsg-1)
+Replaces: ghostscript (<< 9.01~dfsg-1)
 Description: interpreter for the PostScript language and for PDF - common files
  GPL Ghostscript is used for PostScript/PDF preview and printing.
  Usually as a back-end to a program such as ghostview, it can display
diff -Nru ghostscript-9.01~dfsg/debian/control.in ghostscript-9.01~dfsg/debian/control.in
--- ghostscript-9.01~dfsg/debian/control.in	2011-02-22 22:14:19.000000000 +0000
+++ ghostscript-9.01~dfsg/debian/control.in	2011-02-23 02:43:20.000000000 +0000
@@ -119,6 +119,8 @@
 Section: libs
 Architecture: all
 Depends: ${misc:Depends}
+Breaks: ghostscript (<< 9.01~dfsg-1)
+Replaces: ghostscript (<< 9.01~dfsg-1)
 Description: interpreter for the PostScript language and for PDF - common files
  GPL Ghostscript is used for PostScript/PDF preview and printing.
  Usually as a back-end to a program such as ghostview, it can display
diff -Nru ghostscript-9.01~dfsg/debian/control.in.in ghostscript-9.01~dfsg/debian/control.in.in
--- ghostscript-9.01~dfsg/debian/control.in.in	2011-01-28 18:26:13.000000000 +0000
+++ ghostscript-9.01~dfsg/debian/control.in.in	2011-02-23 02:37:48.000000000 +0000
@@ -119,6 +119,8 @@
 Section: libs
 Architecture: all
 Depends: ${misc:Depends}
+Breaks: ghostscript (<< 9.01~dfsg-1)
+Replaces: ghostscript (<< 9.01~dfsg-1)
 Description: interpreter for the PostScript language and for PDF - common files
  GPL Ghostscript is used for PostScript/PDF preview and printing.
  Usually as a back-end to a program such as ghostview, it can display

Thanks,

-- 
Colin Watson                                       [cjwatson@ubuntu.com]



Reply to: