Thanks a lot for the quick (and exhaustive!) fix.
On Fri, May 20, 2016 at 08:01:58AM +0000, David Kalnischkies wrote: > Control: tag 824503 pending > > Hello, > > Bug #824503 in apt reported by you has been fixed in the Git repository. You > can > see the commit message below, and you can check the diff of the fix at: > > https://anonscm.debian.org/cgit/apt/apt.git/diff/?id=fdf9eef > > (this message was generated automatically based on the git commit message) > --- > commit fdf9eef4d96a18d0167708499c993e1174251e88 > Author: David Kalnischkies <da...@kalnischkies.de> > Date: Fri May 20 09:37:24 2016 +0200 > > fail instead of segfault on unreadable config files > > The report mentions "apt list --upgradable", but there are others which > have inconsistent behavior ranging from segfaulting to doing something > with the partial (and hence incomplete) data. We had a recent report > about sources.list (#818628), this one mentions prefences, the obvious > next step is conf files… so the testcase is adapted to check for all > three in file and directory versions and run a bunch of commands each > time which should all have more or less the same behavior in such a case > (aka error out). > > Closes: 824503 >