tag 657831 patch
quit

Hello PackageKit maintainers,

Because transactions.db is intended to change, the packagekit package should
not include this file in the md5sums control file. This causes false positive
errors for debsums users. I have attatched a patch which fixes this issue.

Thanks,
Ryan

On Sun, Jan 29, 2012 at 02:02:19PM +0400, Alexander Kudrevatykh wrote:
> Package: packagekit
> Version: 0.7.2-3
> Severity: normal
> 
> --- Please enter the report below this line. ---
> During work of packagekit some information written to
> /var/lib/PackageKit/transactions.db.
> I think it's normal behavior of packagekit, so debsums shoud not report
> that this file was changed.
> Thanks.
> 
> --- System information. ---
> Architecture: amd64
> Kernel: Linux 3.2.0-1-amd64
> 
> Debian Release: wheezy/sid
> 500 unstable ftp.de.debian.org
> 500 testing-proposed-updates ftp.es.debian.org
> 500 testing security.debian.org
> 500 testing ftp.es.debian.org
> 500 stable deb.opera.com
> 1 experimental ftp.us.debian.org
> 
> --- Package information. ---
> Depends (Version) | Installed
> ========================================-+-============
> libglib2.0-bin | 2.30.2-6
> libpackagekit-glib2-14 (= 0.7.2-3) | 0.7.2-3
> packagekit-backend-aptcc (= 0.7.2-3) | 0.7.2-3
> libarchive1 (>= 2.0.25) | 2.8.5-5
> libc6 (>= 2.7) | 2.13-24
> libglib2.0-0 (>= 2.30.0) | 2.30.2-6
> libpolkit-backend-1-0 (>= 0.94) | 0.104-1
> libpolkit-gobject-1-0 (>= 0.99) | 0.104-1
> libsqlite3-0 (>= 3.5.9) | 3.7.9-3
> 
> 
> Package's Recommends field is empty.
> 
> Suggests (Version) | Installed
> =======================================-+-===========
> packagekit-backend-smart |
> 



-- 
diff --git a/debian/rules b/debian/rules
index e775636..b35444e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,6 +42,9 @@ extrainstallfiles-stamp:
 	cat debian/packagekit.install | grep -v '/pm-utils/' > debian/packagekit.install.hurd
 	touch $@
 
+override_dh_md5sums:
+	dh_md5sums -X var/lib/PackageKit/transactions.db
+
 override_dh_auto_configure:
 	cp -dpr $(CURDIR)/docs/api $(CURDIR)/docs/api.orig
 	dh_auto_configure -- $(PK_CONFIGURE_FLAGS)

Reply via email to