#259665 apt-get [auto]clean should always work

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Wouter Van Hemel
Date:
2019-11-07 10:03:04 UTC
Severity:
wishlist
#259665#5
Date:
2004-07-16 00:27:13 UTC
From:
To:
autoclean and clean should always work, even when dpkg failed or was interrupted. When the user runs out of diskspace, apt would require manual intervention (for instance, by manually deleting some cached packages).


[senta:~] apt-get autoclean
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
[senta:~] dpkg --configure -a
dpkg: failed to write status record about `mosix-dev' to `/var/lib/dpkg/status': No space left on device
[senta:~] apt-get autoclean
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
[senta:~] rm /var/cache/apt/archives/openoffice.org*
[senta:~] dpkg --configure -a
Setting up libdvdread3 (0.9.4-5) ...

Setting up libgpg-error0 (0.7-2) ...

Setting up texinfo (4.7-2) ...

[...]

#259665#12
Date:
2019-11-07 10:00:08 UTC
From:
To:
Date: null
interrupted. When the user runs out of diskspace, apt would require manual
intervention (for instance, by manually deleting some cached packages).
correct the problem.
`/var/lib/dpkg/status': No space left on device
correct the problem.