The following commit has been merged in the master branch: commit e644728382ccff680bea248167529f5c4f899480 Author: Guillem Jover <guil...@debian.org> Date: Mon Feb 20 02:59:41 2012 +0100
dpkg: Store Multi-Arch field in update log for newly installed packages This is needed to be able to find the correct slot where the package entry instance from the update log should be inserted to, specially when dealing with architecture cross-gradings. diff --git a/src/processarc.c b/src/processarc.c index 48fd631..5eac8f1 100644 --- a/src/processarc.c +++ b/src/processarc.c @@ -748,8 +748,10 @@ void process_archive(const char *filename) { } pkg_set_eflags(pkg, eflag_reinstreq); - if (pkg->status == stat_notinstalled) + if (pkg->status == stat_notinstalled) { pkg->installed.version= pkg->available.version; + pkg->installed.multiarch = pkg->available.multiarch; + } pkg_set_status(pkg, stat_halfinstalled); modstatdb_note(pkg); if (oldversionstatus == stat_notinstalled) { -- dpkg's main repository -- To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org