[pacman-dev] Changing how repo dbs are updated
yaro at marupa.net
Thu Dec 2 01:58:48 CET 2010
On Thu, 2010-12-02 at 08:54 +1000, Allan McRae wrote:
> On 02/12/10 00:40, Jeremiah Dodds wrote:
> > 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?
> >> 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.
> That is essentially what I proposed for #1 and #2 in my original email.
> The point with "-Syy" is that you have said you really do not what the
> old database, so is keeping it as a fallback the correct thing to do in
> this case?
I'm not a pacman developer, but wasn't there to be a method for updating
packages via binary patches?
More information about the pacman-dev