업그레이드 문제/쿠분투

업그레이드 문제/쿠분투

터미널(기본 설정)을 통해 업그레이드하려고 하는데 아직 본 적이 없는 이 오류가 계속 발생합니다. 저는 Ubuntu KDE(Kubuntu 16.04 xenial)를 사용하고 있습니다.

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libgeoclue0 libxapian-1.3-5 python3-xapian1.3 vlc-plugin-notify vlc-plugin-samba
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-4.4.0-38-generic (4.4.0-38.57) ...
Running depmod.
sh: 1: /usr/sbin/update-initramfs: not found
Failed to create initrd image.
dpkg: error processing package linux-image-4.4.0-38-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-extra-4.4.0-38-generic:
 linux-image-extra-4.4.0-38-generic depends on linux-image-4.4.0-38-generic; however:
  Package linux-image-4.4.0-38-generic is not configured yet.

dpkg: error processing package linux-image-extra-4.4.0-38-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-4.4.0-38-generic; however:
  Package linux-image-4.4.0-38-generic is not configured yet.
 linux-image-generic depends on linux-image-extra-4.4.0-38-generic; however:
  Package linux-image-extra-4.4.0-38-generic is not configured yet.

dpkg: error processing package linux-image-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 4.4.0.38.40); however:
  Package linux-image-generic is not configured No apport report written because the error message indicates its a followup error from a previous failure.  
                                                No apport report written because the error message indicates its a followup error from a previous failure.
                                                No apport report written because MaxReports is reached already  
 yet.

dpkg: error processing package linux-generic (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-4.4.0-38-generic
 linux-image-extra-4.4.0-38-generic
 linux-image-generic
 linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

답변1

/usr/sbin/update-initramfs 파일을 찾을 수 없으며 initramfs-tools가 올바르게 설치되지 않은 것 같습니다.

다음 명령을 시도하여 설치되었는지 확인할 수 있습니다.

sudo dpkg -l |grep initramfs-tools

아직 설치되지 않은 경우 다음 명령을 시도해 볼 수 있습니다.

sudo apt-get install initramfs-tools

이미 설치되어 있다고 표시되면 다음을 시도해 볼 수 있습니다.

sudo apt-get install --reinstall initramfs-tools

관련 정보