Bug#188364: apt should handle nonexistent cache directory gracefully
On Tue, Aug 17, 2004 at 03:41:35PM -0400, Dan Christensen wrote:
> I think it's fair to expect that if the contents of
>
> /var/cache/apt/archives/
>
> are excluded from backups, then after restoring, apt should do what it
> needs to do in order to work correctly. I've been bit by this several
> times, and it's just one extra thing to worry about when restoring
> after a disk failure.
>
> Could you consider adding code to make the directories if they aren't
> present?
I've already given my opinion earlier in the bug.
I don't think that apt should be expected to create directories which are
already explicitly created and owned by the packaging system. If you choose
to delete them, it is your responsibility to restore the system to a
consistent state.
--
- mdz
Reply to: