Monday, February 26, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 17222  / 2 Years ago, sat, november 27, 2021, 11:11:52

I have tried Ubuntu Tweak, Synaptic and some command line stuff I found online, but nothing seems to work.



This is the output of dpkg -l linux-image-* | grep ^ii



ii  linux-image-3.13.0-24-generic                               3.13.0-24.47                                        amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-24-generic 3.13.0-24.47 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-generic 3.13.0.24.29 amd64 Generic Linux kernel image


What are my options? I only need to free 3 MB for a the kernel update.



Thanks in advance!



When I run this, I get that output:



$ sudo update-grub
Generando archivo de configuración grub...
Se encontró una imagen linux: /boot/vmlinuz-3.13.0-24-generic
Se encontró una imagen initrd: /boot/initrd.img-3.13.0-24-generic
Se encontró una imagen linux: /boot/vmlinuz-3.0.0-19-generic
Se encontró una imagen initrd: /boot/initrd.img-3.0.0-19-generic
Se encontró una imagen linux: /boot/vmlinuz-3.0.0-17-generic
Se encontró una imagen initrd: /boot/initrd.img-3.0.0-17-generic
Se encontró una imagen linux: /boot/vmlinuz-3.0.0-16-generic
Se encontró una imagen initrd: /boot/initrd.img-3.0.0-16-generic
Se encontró una imagen linux: /boot/vmlinuz-3.0.0-12-generic
Se encontró una imagen initrd: /boot/initrd.img-3.0.0-12-generic
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
Encontrado en Windows 7 (loader) en /dev/sda1
Encontrado en Windows 7 (loader) en /dev/sda8
hecho


But when I try to delete one of those entries, I get this:



$ sudo apt-get purge linux-image-3.0.0-12-generic
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
E: No se ha podido localizar el paquete linux-image-3.0.0-12-generic
E: No se pudo encontrar ningún paquete con la expresión regular «linux-image-3.0.0-12-generic»


Basically, it says it doesn't find the package or image I'm trying to delete.



$ dpkg -l linux-image* 
Deseado=Desconocido/Instalar/Eliminar/Purgar/Retener
| Estado=No/Instalado/Config-files/Desempaquetado/Medio-conf/Medio-inst/espera-disparo/pendiente-disparo
|/ Err?=(ninguno)/Requiere-reinst (Estado,Err: mayúsc.=malo)
||/ Nombre Versión Arquitectura Descripción
+++-==================================================-==============================-==============================-==========================================================================================================
un linux-image <ninguna> <ninguna> (no hay ninguna descripción disponible)
un linux-image-3.0 <ninguna> <ninguna> (no hay ninguna descripción disponible)
ii linux-image-3.13.0-24-generic 3.13.0-24.47 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-24-generic 3.13.0-24.47 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-generic


PS: is it possible to delete the current kernel or the extras (linux-image-extra-3.13.0-24-generic) and, at the same time, install the newest kernel, all of this using Synaptic?


More From » kernel

 Answers
5

Looks like you have a bunch of files that don't belong to any package. Assuming you are currently running 3.13.0, you can just do rm /boot/*-3.0.0-12-generic


[#24953] Monday, November 29, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
etzelmortg

Total Points: 430
Total Questions: 105
Total Answers: 106

Location: Suriname
Member since Sun, Jun 13, 2021
3 Years ago
;