E: Directory '/var/log/apt/' missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Debian) |
Fix Released
|
Unknown
|
|||
apt (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: apt
The error message that popups up after doing anything with aptitude/apt-get (download, install, remove, etc, etc)
Creating the folder gets rid of this error message. And a lovely, tiny log file is stored in the folder. With all of my days history inside.
But everything in the /var folder gets removed before Linux powers off.
So the nature of this bug is the fact that it isn't being created when I boot the PC. (Or the way that the program stores the log file, it depends on the fact that the folders exist beforehand. An analogy would be the difference between "mkdir" and "mkdir -p")
Details of my system:
lsb release:
Description: Ubuntu 8.04
Release: 8.04
apt:
Installed: 0.7.9ubuntu16
Candidate: 0.7.9ubuntu16
Version table:
*** 0.7.9ubuntu16 0
500 http://
100 /var/lib/
And I ran it in gdb (Program exited with code 0144):
{
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
E: Directory '/var/log/apt/' missing
Program exited with code 0144.
}
Anything else that I can help with explaining this. Just ask.
Regards
Iain
Changed in apt: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in apt (Debian): | |
status: | Unknown → Fix Released |
Putting this in "/etc/gdm/ Init/Default" seems to have the right effect for me:
CODE:
### Fix that bloody apt error! ###
mkdir -p /var/log/apt/
exit 0
Does anyone know what's wrong?
Regards
Iain