커널을 5.0.0-36-generic으로 업데이트한 후 커널 업데이트 이후 업데이트 설치 중에 오류가 발생했습니다. 특히 패키지 업데이트 중에 나타난 것으로 보입니다 linux-firmware
.
Software Updater를 실행하거나 sudo apt update
터미널에서 모든 패키지가 최신 상태라고 표시됩니다.
그러나 Synaptic Package Manager는 linux-firmware
설치가 완료되지 않았다고 말합니다. 다시 설치하려고 하면 아래 표시된 것과 유사한 오류가 발생합니다.
나는 시도 sudo apt clean
했고 sudo apt autoremove
. Synaptic을 사용하여 패키지를 설치할 때 설치 시 오류가 보고되지만 패키지는 설치됩니다.
컴퓨터 부팅 OK.
18.04 설치는 세 개의 기본 파티션 중 두 번째 파티션에 있으며 /dev/sda2
Ubuntu 16.04는 켜져 있고 /dev/sda1
비어 /dev/sda3
있습니다.
오류는 다음과 같습니다.
martin@computer:~$ sudo apt autoremove
[sudo] password for martin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-firmware (1.173.12) ...
update-initramfs: Generating /boot/initrd.img-uname
WARNING: missing /lib/modules/uname
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: Bad version passed uname
dpkg: warning: version 'uname' has bad syntax: version number does not start with a digit
dpkg: warning: version 'uname' has bad syntax: version number does not start with a digit
dpkg: warning: version 'uname' has bad syntax: version number does not start with a digit
dpkg: warning: version 'uname' has bad syntax: version number does not start with a digit
depmod: ERROR: Bad version passed uname
update-initramfs: Generating /boot/initrd.img-uname-r
WARNING: missing /lib/modules/uname-r
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: Bad version passed uname-r
dpkg: warning: version 'uname-r' has bad syntax: version number does not start with a digit
dpkg: warning: version 'uname-r' has bad syntax: version number does not start with a digit
dpkg: warning: version 'uname-r' has bad syntax: version number does not start with a digit
dpkg: warning: version 'uname-r' has bad syntax: version number does not start with a digit
depmod: ERROR: Bad version passed uname-r
update-initramfs: Generating /boot/initrd.img-uname
WARNING: missing /lib/modules/uname
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: Bad version passed uname
dpkg: warning: version 'uname' has bad syntax: version number does not start with a digit
dpkg: warning: version 'uname' has bad syntax: version number does not start with a digit
dpkg: warning: version 'uname' has bad syntax: version number does not start with a digit
dpkg: warning: version 'uname' has bad syntax: version number does not start with a digit
depmod: ERROR: Bad version passed uname
update-initramfs: Generating /boot/initrd.img--r
/usr/sbin/mkinitramfs: option requires an argument -- 'r'
W: non-GNU getopt
update-initramfs: failed for /boot/initrd.img--r with 1.
dpkg: error processing package linux-firmware (--configure):
installed linux-firmware package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-firmware
E: Sub-process /usr/bin/dpkg returned an error code (1)
martin@computer:~$
현재 18.04 설치에는 세 가지 커널이 있습니다.
martin@computer:~$ ls -al /boot/
total 179196
drwxr-xr-x 3 root root 4096 Nov 15 22:48 .
drwxr-xr-x 24 root root 4096 Nov 14 20:48 ..
-rw-r--r-- 1 root root 217480 Nov 12 09:54 config-4.15.0-70-generic
-rw-r--r-- 1 root root 224516 Nov 11 08:44 config-5.0.0-35-generic
-rw-r--r-- 1 root root 224516 Nov 12 10:46 config-5.0.0-36-generic
drwxr-xr-x 6 root root 4096 Nov 13 20:50 grub
-rw-r--r-- 1 root root 39680508 Nov 13 19:29 initrd.img-4.15.0-70-generic
-rw-r--r-- 1 root root 41118914 Nov 13 17:33 initrd.img-5.0.0-35-generic
-rw-r--r-- 1 root root 41116325 Nov 15 16:23 initrd.img-5.0.0-36-generic
-rw-r--r-- 1 root root 10854263 Nov 15 22:48 initrd.img-uname
-rw-r--r-- 1 root root 10854268 Nov 15 22:48 initrd.img-uname-r
-rw-r--r-- 1 root root 182704 Jan 28 2016 memtest86+.bin
-rw-r--r-- 1 root root 184380 Jan 28 2016 memtest86+.elf
-rw-r--r-- 1 root root 184840 Jan 28 2016 memtest86+_multiboot.bin
-rw------- 1 root root 4066166 Nov 12 09:54 System.map-4.15.0-70-generic
-rw------- 1 root root 4301791 Nov 11 08:44 System.map-5.0.0-35-generic
-rw------- 1 root root 4301791 Nov 12 10:46 System.map-5.0.0-36-generic
-rw------- 1 root root 8363672 Nov 12 09:58 vmlinuz-4.15.0-70-generic
-rw------- 1 root root 8785656 Nov 11 08:48 vmlinuz-5.0.0-35-generic
-rw------- 1 root root 8785656 Nov 12 10:47 vmlinuz-5.0.0-36-generic
martin@computer:~$