On Sun, Sep 04, 2011 at 03:48:40AM -0400, Anders Kaseorg wrote:
> On 09/04/2011 02:36 AM, Ryan Niebur wrote:
> >On Thu, Jun 30, 2011 at 12:17:25PM +0200, Raphael Hertzog wrote:
> >>And it's this part that I suggested to get rid of entirely, because
> >>you're not qualified to know whether it should be "$p.md5sums or
> >>"$p:$arch.md5sums". Ideally you should store those in a debsums specific
> >>directory and use "$p:$arch" unconditionnaly.
> >
> >This still needs to happen at some point.
> 
> The advantage of writing to the real dpkg path is that dpkg will
> automatically remove the debsums-generated md5sums file when the
> package is upgraded, so that debsums knows to regenerate it.  If
> debsums wrote its md5sums file anywhere else, it would be hard to
> prevent it from getting stale.
> 

True. Including the package version number in the filename could be a
solution to this, though that wouldn't work for every situation (if
people install a .deb with the same version but different files).

Attachment: signature.asc
Description: Digital signature

Reply via email to