Need help identifying obsolete files
Hi,
My hard disk (18 GB) is almost full. I am using 14.04 and would like to know if there is anything I can do to free hard disk space without loosing important functions or files.
Thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
what is the output of:
dpkg -l | grep linux-image; uname -a; sudo apt-get clean
Thanks
Revision history for this message
|
#2 |
zohar@zohar-
rc linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
rc linux-image-
ii linux-image-
rc linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-
ii linux-image-generic 3.13.0.85.91 i386 Generic Linux kernel image
ii linux-image-
Revision history for this message
|
#3 |
zohar@zohar-
Linux zohar-M61PME-S2 3.13.0-85-generic #129-Ubuntu SMP Thu Mar 17 20:50:41 UTC 2016 i686 athlon i686 GNU/Linux
Revision history for this message
|
#4 |
zohar@zohar-
[sudo] password for zohar:
zohar@zohar-
Revision history for this message
|
#5 |
Can you paste the output as an update on:
https:/
Thanks
Revision history for this message
|
#7 |
Please provide the output of the commands
apt-get --simulate autoremove
apt-mark showmanual | egrep linux-[hi]
and report the results
Revision history for this message
|
#8 |
zohar@zohar-
NOTA: ¡Esto es sólo una simulación
apt-get necesita privilegios de administrador para la ejecución real.
Tenga también en cuenta que se han desactivado los bloqueos,
¡no dependa de la relevancia a la situación real actual!
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Los siguientes paquetes se ELIMINARÁN:
libcontent-hub0 qtdeclarative5-
0 actualizados, 0 se instalarán, 2 para eliminar y 0 no actualizados.
Remv qtdeclarative5-
Remv libcontent-hub0 [0.0+14.
zohar@zohar-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
Revision history for this message
|
#9 |
Ok, this is caused by a known error (probably bug #1175637 or bug #1492709 ), leading to the fact that obsolete kernel packages are not automatically removed.
issue the commands
apt-mark showmanual | grep linux-image-e | xargs sudo apt-mark auto
apt-mark showmanual | grep linux-image-3 | xargs sudo apt-mark auto
apt-mark showmanual | grep linux-headers-3 | xargs sudo apt-mark auto
apt-get --simulate autoremove
and copy/paste the output that we can verify.
Revision history for this message
|
#10 |
Thanks,
Here is the output, I am not sure whether this is the end of the process, so I will say I still need an answer.
zohar@zohar-
[sudo] password for zohar:
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
zohar@zohar-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
fijado linux-image-
zohar@zohar-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
fijado linux-headers-
zohar@zohar-
NOTA: ¡Esto es sólo una simulación
apt-get necesita privilegios de administrador para la ejecución real.
Tenga también en cuenta que se han desactivado los bloqueos,
¡no dependa de la relevancia a la situación real actual!
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Los siguientes paquetes se ELIMINARÁN:
libcontent-hub0 linux-headers-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
linux-
0 actualizados, 0 se instalarán, 95 para eliminar y 3 no actualizados.
Remv qtdeclarative5-
Remv libcontent-hub0 [0.0+14.
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-headers-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
Remv linux-image-
zohar@zohar-
Revision history for this message
|
#11 |
Yes, this was just a simulation, but the results look promising.
To really do the clan-up action, issue the commands
df -h
sudo apt-get --purge autoremove
df -h
and compare the free space values before and after.
Revision history for this message
|
#12 |
Thanks Manfred Hampl, that solved my question.