[pacman-dev] Changing how repo dbs are updated
jeremiah.dodds at gmail.com
Wed Dec 1 15:40:20 CET 2010
On Wed, Dec 1, 2010 at 12:12 AM, Allan McRae <allan at archlinux.org> wrote:
> 3) pacman -Syy behavior. Instead of adding a "force" flag to overwrite the
> old database, would it be better to just delete the old database first?
> Currently, if you use pacman -Syy and a database download fails, you are
> left with the old sync database you told pacman to get rid of. Is leaving
> pacman with no database for that repo a better solution?
I'm not currently very familiar with pacmans codebase or operations on the
dev side, but would it be better to backup the existing db, overwrite the
existing db, and then delete the old db? That way if a database download
fails, it can be rolled back.
More information about the pacman-dev