Check local DB version before continuing transaction
commitf45369800abdeb54847d9ea6a326eb613f30cd3b
authorDan McGee <dan@archlinux.org>
Mon, 28 Feb 2011 16:46:00 +0000 (28 10:46 -0600)
committerDan McGee <dan@archlinux.org>
Mon, 28 Feb 2011 16:46:00 +0000 (28 10:46 -0600)
tree41ed4f7ae8c9fa18ed60a5b5ca1ccf6d4540bc62
parent5ea4706f57e15de23a5fd36eff3bc4619aeac224
Check local DB version before continuing transaction

Ensure we have a local DB version that is up to par with what we expect
before we go down any road that might modify it. This should prevent
stupid mistakes with the 3.5.X upgrade and people not running
pacman-db-upgrade after the transaction as they will need to.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/alpm.c
lib/libalpm/alpm.h
lib/libalpm/be_local.c
lib/libalpm/be_sync.c
lib/libalpm/db.c
lib/libalpm/db.h
lib/libalpm/error.c
lib/libalpm/trans.c
src/pacman/util.c