Here is a patch to fix the problem. I've tested it with latest apt bzr branch. After changes, apt-get logs the following lines instead of giving a segmentation fault.
E: Directory '/var/log/apt/' missing E: Directory '/var/log/apt/' missing
Here is a patch to fix the problem. I've tested it with latest apt bzr branch.
After changes, apt-get logs the following lines instead of giving a segmentation fault.
E: Directory '/var/log/apt/' missing
E: Directory '/var/log/apt/' missing