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

Re: md5sums files



Don Armstrong <don@debian.org> writes:

> 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.

Why?  Considering the old hash file may be invalid anyway after you've
upgraded other related packages (the aspell dict ones are
format-dependent on the aspell version), why would it matter that the
hash file is temporarily empty?

-- 
Captain Logic is not steering this tugboat.


Reply to: