
On Tuesday, 22 August 2017 4:06:37 AM AEST stripes theotoky via luv-main wrote:
I use aptitude as a package manager. I'm running out of disk space.
How much disk space is in use and how much do you have? Hard drives keep getting bigger, nowadays it's hard to give away disks smaller than 500G. A large Debian installation is around 6G.
apt-get -s auto-remove shows just about every package in this range and offers to remove them linux-image-4.4.0-10-generic to linux-image-4.4.0-89-generic linux-headers-4.4.0-10-generic to inux-headers-4.4.0-89-generic In total there is 146 files (about 2GB) that apt-get would delete.
An attempt to remove with aptitude shows nothing to remove sudo aptitude -s -oAptitude::Delete-Unused=1 install
Check with aptitude as to why they are installed and all of them gives the same answer.
aptitude why linux-image-4.4.0-15-generic i A linux-image-4.4.0-15-generic Provides zfs-dkms
So is it safe to get rid of these files with apt-get auto-remove or will it mess up aptitude?
Well if you remove all kernels you are probably going to have a problem. But if you remove all but the most recent then it will probably be ok. Which is it doing? I'm running Debian/Unstable on my laptop and due to some issues of dependencies etc "apt-get autoremove" wants to remove many KDE packages right now which isn't what I want. Also due to conflicts it wants to remove them if I run "apt-get dist-upgrade". This sort of thing sometimes happens in Unstable when libraries are being updated, so I just have to not upgrade my laptop until all the necessary packages are rebuilt to depend on new libraries. It's the sort of thing that happens when you run Unstable. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/