부팅 메뉴에서 추가 항목을 제거하려고 합니다.

부팅 메뉴에서 추가 항목을 제거하려고 합니다.

아래 항목을 제거하려고 시도했지만 응답을 찾을 수 없습니다. 그런 다음 grub update를 수행하면 항목이 표시됩니다. 돕다

luisc@luisc-OptiPlex-GX280:~$ sudo apt-get purge linux-image-2.6.38-13
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package linux-image-2.6.38-13
E: Couldn't find any package by regex 'linux-image-2.6.38-13'
luisc@luisc-OptiPlex-GX280:~$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.0.0-16-generic
Found initrd image: /boot/initrd.img-3.0.0-16-generic
Found linux image: /boot/vmlinuz-2.6.38-13-generic
Found initrd image: /boot/initrd.img-2.6.38-13-generic
Found linux image: /boot/vmlinuz-2.6.35-31-generic
Found initrd image: /boot/initrd.img-2.6.35-31-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows Vista (loader) on /dev/sda1
Found Ubuntu 10.10 (10.10) on /dev/sda11
Found Ubuntu 11.10 (11.10) on /dev/sda9
done

제안된 명령을 시도했는데 이것이 내가 얻은 것입니다.

luisc@luisc-OptiPlex-GX280:~$ sudo apt-get purge linux-image-2.6.38-13-generic
[sudo] password for luisc: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package linux-image-2.6.38-13-generic
E: Couldn't find any package by regex 'linux-image-2.6.38-13-generic'
luisc@luisc-OptiPlex-GX280:~$ 

답변1

명령줄 에서 전체 패키지 이름을 사용해야 합니다 purge. 접미사가 누락되었습니다 -generic.

이것은 작동합니다:

sudo apt-get purge linux-image-2.6.38-13-generic

관련 정보