index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Xavier Chantry <shiningxc@gmail.com> | 2009-08-19 17:58:03 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-09-06 15:51:25 -0500 |
commit | 5b27e78ba015a48baf2d3c8687fdf3084781f9c9 (patch) | |
tree | 8e9d5e4201dcebc700ccf914057d038e596ec057 /src/pacman/upgrade.c | |
parent | 594621cbeb2f27ce8d36e652c4fdd9a9d4385ec3 (diff) |
-rw-r--r-- | src/pacman/upgrade.c | 6 |
diff --git a/src/pacman/upgrade.c b/src/pacman/upgrade.c index 1570f95e..e7691185 100644 --- a/src/pacman/upgrade.c +++ b/src/pacman/upgrade.c @@ -87,6 +87,12 @@ int pacman_upgrade(alpm_list_t *targets) pm_fprintf(stderr, PM_LOG_ERROR, _("failed to prepare transaction (%s)\n"), alpm_strerrorlast()); switch(pm_errno) { + case PM_ERR_PKG_INVALID_ARCH: + for(i = data; i; i = alpm_list_next(i)) { + char *pkg = alpm_list_getdata(i); + printf(_(":: package %s does not have a valid architecture\n"), pkg); + } + break; case PM_ERR_UNSATISFIED_DEPS: for(i = data; i; i = alpm_list_next(i)) { pmdepmissing_t *miss = alpm_list_getdata(i); |