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

Bug#704849: marked as done (t-p-u: tucnak2/2.47-2+deb7u1)



Your message dated Mon, 15 Apr 2013 08:39:43 +0100
with message-id <20130415073943.GC32740@lupin.home.powdarrmonkey.net>
and subject line Re: Bug#704849: t-p-u: tucnak2/2.47-2+deb7u1
has caused the Debian Bug report #704849,
regarding t-p-u: tucnak2/2.47-2+deb7u1
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.)


-- 
704849: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704849
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please approve a t-p-u upload of package tucnak2

Removing tucnak2 does not properly unregister the alternative it had
registered during postinst configure.
(prerm tries to unregister the generic name instead of the alternative
path providing it.)

sid has a new upstream version that FTBFS due to insufficient B-D,
so this has to go via t-p-u.

(This is the last package in wheezy not properly cleaning up
alternatives that are created during install in wheezy.)


Andreas

unblock tucnak2/2.47-2+deb7u1
diff -u tucnak2-2.47/debian/prerm tucnak2-2.47/debian/prerm
--- tucnak2-2.47/debian/prerm
+++ tucnak2-2.47/debian/prerm
@@ -1,12 +1,8 @@
 #!/bin/sh
-
 set -e
 
-case "$1" in
-    remove|deconfigure)
-        update-alternatives --quiet --remove tucnak /usr/bin/tucnak2
-        ;;
-    *)
-esac
+if [ "$1" = "remove" ] ; then
+	update-alternatives --remove tucnak /usr/bin/tucnak
+fi
 
 #DEBHELPER#
diff -u tucnak2-2.47/debian/changelog tucnak2-2.47/debian/changelog
--- tucnak2-2.47/debian/changelog
+++ tucnak2-2.47/debian/changelog
@@ -1,3 +1,10 @@
+tucnak2 (2.47-2+deb7u1) testing; urgency=low
+
+  * Non-maintainer upload.
+  * Remove the correct alternative upon package removal.  (Closes: #668442)
+
+ -- Andreas Beckmann <anbe@debian.org>  Sat, 06 Apr 2013 18:39:42 +0200
+
 tucnak2 (2.47-2) unstable; urgency=low
 
   * Fixed the update-alternatives.

--- End Message ---
--- Begin Message ---
On Wed, Apr 10, 2013 at 01:37:03AM +0200, Andreas Beckmann wrote:
> Control: tag -1 pending
> 
> On 2013-04-09 23:09, Jonathan Wiltshire wrote:
> > Control: tag -1 confirmed
> > 
> > On Sat, Apr 06, 2013 at 09:53:33PM +0200, Andreas Beckmann wrote:
> >> Hi Jonathan,
> >>
> >> On 2013-04-06 21:04, Jonathan Wiltshire wrote:
> >>> Why the change from a case to an if test?
> >>
> >> alternatives should be left untouched in prerm deconfigure (see #71621)
> >> (that also matches the incomplete fix applied by the maintainer in 2.48-1)
> >>
> >> With only one case left, an if is easier and I don't have to check
> >> whether 'case ... *)\nesac' is actually valid syntax ... (without
> >> another ;; before the esac)
> > 
> > Ok. The maintainers haven't reacted to your debdiff, so please go ahead
> > when convenient.
> 
> Uploaded to DELAYED/5.

Approved, thanks.

-- 
Jonathan Wiltshire                                      jmw@debian.org
Debian Developer                         http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51

<directhex> i have six years of solaris sysadmin experience, from
            8->10. i am well qualified to say it is made from bonghits
			layered on top of bonghits

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: