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

Bug#686488: unblock: daptup/0.12.5.1



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Hello,

Please unblock the package daptup which fixes a serious issue (details
in debian/changelog).

Full debdiff attached.

unblock daptup/0.12.5.1

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru daptup-0.12.5/daptup daptup-0.12.5.1/daptup
--- daptup-0.12.5/daptup	2011-12-02 18:50:08.000000000 +0200
+++ daptup-0.12.5.1/daptup	2012-08-25 13:20:53.000000000 +0300
@@ -65,7 +65,7 @@
 	my ($self, $output_file) = @_;
 
 	my $binary_name = $self->get_cache_binary_name();
-	my $get_installed_package_names_command = q/dpkg -l | grep "^ii" | awk '{ print $2 }'/;
+	my $get_installed_package_names_command = q/dpkg -l | grep "^ii" | awk '{ gsub(":.*", "", $2); print $2 }'/;
 	# shell may reject too long lists of arguments, xargs automatically handles that
 	my $policy_output = `$get_installed_package_names_command | LC_MESSAGES=C xargs $binary_name policy 2>/dev/null`;
 
diff -Nru daptup-0.12.5/debian/changelog daptup-0.12.5.1/debian/changelog
--- daptup-0.12.5/debian/changelog	2011-12-02 18:50:08.000000000 +0200
+++ daptup-0.12.5.1/debian/changelog	2012-08-25 13:20:53.000000000 +0300
@@ -1,3 +1,11 @@
+daptup (0.12.5.1) unstable; urgency=medium
+
+  * Strip colons and everything after it in the output of 'dpkg -l'. Newer
+    versions of dpkg started outputting architecture suffixes even on
+    non-multiarch-enabled systems which led to incomplete 'updates' lists.
+
+ -- Eugene V. Lyubimkin <jackyf@debian.org>  Sat, 25 Aug 2012 13:20:14 +0300
+
 daptup (0.12.5) unstable; urgency=low
 
   * Apt and Cupt back-end: don't pass long strings to 'echo' commands as well.

Reply to: