![]() |
Phantom space usage in apt cache
I'm experiencing some strange behavior running du -h in /var/cache/apt.
It states that the there is 18MB used, but I can not find any files(or directories) that take up that much space. Here is what I mean: Code:
Nokia-N810-43-7:/var/cache/apt# ls -lah |
Re: Phantom space usage in apt cache
There was a bug prior to PR1.1 (I thought it had been fixed though), where deleted package files weren't properly cleared up until after a reboot. This could be related to that - the file has been deleted, so doesn't show up in ls, but is being held open, so continues to occupy space in the directory as reported by du.
|
Re: Phantom space usage in apt cache
"ls -lah" doesn't recurse.
The directory "archives", in itself doesn't take up any space. Its 13Mb of contents will be picked up by "du" but not by "ls". |
Re: Phantom space usage in apt cache
@Rob1n
Ah, yes, you were right. Rebooted the device and there really are only 5MB of data occupied. Thank you very much! |
Re: Phantom space usage in apt cache
Quote:
|
Re: Phantom space usage in apt cache
Quote:
What Rob1n said, helped. It seems that the bug is still present. |
Re: Phantom space usage in apt cache
Quote:
|
Re: Phantom space usage in apt cache
Quote:
|
All times are GMT. The time now is 17:58. |
vBulletin® Version 3.8.8