]> git.saurik.com Git - apt.git/commitdiff
update: Check if the cache could be opened, don't just assume it
authorJulian Andres Klode <jak@debian.org>
Sat, 15 Aug 2015 08:44:57 +0000 (10:44 +0200)
committerJulian Andres Klode <jak@debian.org>
Sat, 15 Aug 2015 08:46:34 +0000 (10:46 +0200)
This seems to cause Bug#756162, as in that case the depcache
was NULL.

I'm not entirely sure how that happens, but it's better to
be check here rather then crash later on.

Closes: #756162

No differences found