diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-11-24 08:01:27 +0100 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-11-24 08:01:27 +0100 |
commit | 9918d43ab9595449d8364fc75a6368c8d8cd0034 (patch) | |
tree | 4efb147940d16a9b34adca14c9d5c420a8222ddd /lib/libalpm/sync.c | |
parent | 12fdce244c49133e9fce9e7356e78570dd1b4a1e (diff) | |
download | pacman-9918d43ab9595449d8364fc75a6368c8d8cd0034.tar.gz pacman-9918d43ab9595449d8364fc75a6368c8d8cd0034.tar.xz |
* Fixed some error output for "-Sd" and "-Rsc" dealing with missing/ignored
depends
* Added valgrind suppression file
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r-- | lib/libalpm/sync.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 7c251790..470216cb 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -215,8 +215,9 @@ int _alpm_sync_sysupgrade(pmtrans_t *trans, pmdb_t *db_local, pmlist_t *dbs_sync cmp = _alpm_versioncmp(local->version, spkg->version); if(cmp > 0 && !spkg->force) { /* local version is newer */ - _alpm_log(PM_LOG_WARNING, _("%s-%s: local version is newer"), - local->name, local->version); + pmdb_t *db = spkg->data; + _alpm_log(PM_LOG_WARNING, _("%s: local (%s) is newer than %s (%s)"), + local->name, local->version, db->treename, spkg->version); } else if(cmp == 0) { /* versions are identical */ } else if(_alpm_list_is_strin(i->data, handle->ignorepkg)) { |