1 Dec
2010
1 Dec
'10
2:40 p.m.
On Wed, Dec 1, 2010 at 12:12 AM, Allan McRae <allan@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?
Allan
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.