[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: md5sums files

On Sat, 06 Mar 2010, Andreas Metzler wrote:
> Russ Allbery <rra@debian.org> wrote:
> > Figuring out a better solution for why the files in
> > /var/lib/ispell and /var/lib/aspell are excluded from the md5sums
> > generation because they change after installation is probably
> > needed
> I think these hash files are not arch independent. Which is why the
> packages only ship empty files in the deb and generate the correct
> binary data in postinst. This way the hash files are listed in dpkg
> -L, and dpkg takes care of removal instead of relying on
> maintainerscripts.

So there's a period on upgrade where the file has been overwritten
with an file before the new file has been generated?

That's just wrong.

This is why you don't ship files in the package that you're going to
regenerate later. It's not like they can't be removed upon purge or
removal fairly trivially.

Don Armstrong

I shall require that [a scientific system's] logical form shall be
such that it can be singled out, by means of emperical tests, in a
negative sense: it must be possible for an emperical scientific system
to be refuted by experience.
 -- Sir Karl Popper _Logic of Scientific Discovery_ §6

http://www.donarmstrong.com              http://rzlab.ucr.edu

Reply to: