update problems again

Asked by keith Hirons

Hello there

once more I'm having problems with old Kernels, the" sudo apt-get clean" does not work, when booting up if i go into the settings
the clean/make disc space does not now delete the old kernels, if i go into root i cannot delete the kernels and I'm the admin, the files are locked, my root disk is full and cannot be cleaned, you need to put an algorithm in your updates to delete old kernels due to this problem. It's the main cause of failure.

Regards Keith.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You dont manually delete kernels. The package system is used for this..

sudo apt-get clean

only clears the old debs used for updates. It does nothing to any of the installed packages. Kernels or otherwise.

What is the output of:

uname -a; lsb_release -a; dpkg -l | grep linux-image

Thanks

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

The command to delete old versions of the kernel packages is

sudo apt-get --purge autoremove

What is the output of the commands

df -h
df -i

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.