Well... I decided to have a look at the source, I won't pretend that I'm
a C++ guru, but I know what I'm looking at when I see it.

I have supplied a cheap patch, I tested it in a debootstrap and the
results of it don't seem to have any side effects (not that it would
anyway)...

What it does instead of the original apt-get, is print a "warning"
message instead of an error, re-creates the log directory and carries on
with the rest of the application.

This is what you'll see:

W: Directory '/var/log/apt' missing (re-creating)

To install, just cp the bin/lib* files that were made in the compile to 
/usr/lib/ directory (no need to patch the actual apt-get binary, it's the 
libraries that seem to contain this information).
But I doubt it'll get submitted, as I don't feel that my coding style matches 
the rest of the source XD

Regards
Iain

** Attachment added: "patch"
   http://launchpadlibrarian.net/20477969/patch

-- 
E: Directory '/var/log/apt/' missing
https://bugs.launchpad.net/bugs/220239
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to