From 6289376d25637a55e468d154c8c4e78aa26f1f30 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sun, 17 May 2015 19:41:00 +0200 Subject: dpkg: When upgrading, copy over the cached arch-qualified package name We need to make sure that the cached arch-qualified package name is updated too, or we might end up with the wrong arch-qualified package name on cross-upgrades. --- src/unpack.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/unpack.c') diff --git a/src/unpack.c b/src/unpack.c index 23bdd20df..236d7ffb3 100644 --- a/src/unpack.c +++ b/src/unpack.c @@ -1239,6 +1239,7 @@ void process_archive(const char *filename) { pkg->installed.maintainer= pkg->available.maintainer; pkg->installed.source= pkg->available.source; pkg->installed.arch = pkg->available.arch; + pkg->installed.pkgname_archqual = pkg->available.pkgname_archqual; pkg->installed.installedsize= pkg->available.installedsize; pkg->installed.version= pkg->available.version; pkg->installed.origin = pkg->available.origin; -- cgit v1.2.3