The following commit has been merged in the master branch:
commit 13637ddfaf473fa5fd67264da9f38841eeed7401
Author: Raphaël Hertzog <[email protected]>
Date: Mon Jan 31 15:06:14 2011 +0100
Fix installation of packages without architecture field
Refactoring done in commit 58e7276b69be105735eccb3c18c2b28d3a2ec2e5
introduced a regression: a package without an architecture field
can no longer be installed without --force-architecture.
diff --git a/src/processarc.c b/src/processarc.c
index f7675e6..f566961 100644
--- a/src/processarc.c
+++ b/src/processarc.c
@@ -282,7 +282,8 @@ void process_archive(const char *filename) {
return;
}
- if (strcmp(pkg->available.arch, "all") &&
+ if (strcmp(pkg->available.arch, "") &&
+ strcmp(pkg->available.arch, "all") &&
strcmp(pkg->available.arch, native_arch))
forcibleerr(fc_architecture,
_("package architecture (%s) does not match system (%s)"),
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]