Comment 6 for bug 220239

Revision history for this message
Iain Buclaw (iainb) wrote :

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