[pacman-dev] Warning to pacman-git users - database format change

Xavier Chantry chantry.xavier at gmail.com
Mon Dec 13 15:16:12 EST 2010

On Mon, Dec 13, 2010 at 5:19 AM, Allan McRae <allan at archlinux.org> wrote:
> Pacman's local database format changes with this commit being pushed to
> master:
> commit 21833d90e26635fdd2c6af247790a9bf374b4d80
> Author: Allan McRae <allan at archlinux.org>
> Date:   Sat Oct 30 15:35:43 2010 +1000
>    Merge desc and depends files in local db
> If you want to run pacman-git you will need to upgrade your pacman database
> format using the conviently named "pacman-db-upgrade" script in the scripts/
> directory.   This is not a particularly reversible operation, so if you run
> this you are stuck with pacman-git until the 3.5 release.

It probably should backup the old database if it doesn't already :)
cd /var/lib/pacman/ ;  tar cvzf pacman-localdb.tar.gz local/
or whatever.
Maybe not in /var/lib/pacman if this is cleaned up by pacman -Sc , after all.

More information about the pacman-dev mailing list