web-dev-qa-db-ja.com

依存関係の問題linux-image-3.13.0-43-generic

Postfixを設定していましたが、Ubuntuが依存関係エラーを返したため、遠くに行けませんでした。
これを修正しようとしましたが、問題の原因を見つけることができません。

dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-43-generic: 
linux-image-extra-3.13.0-43-generic depends on
linux-image-3.13.0-43-generic; however:   Package
linux-image-3.13.0-43-generic is not installed.

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

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

dpkg: error processing package linux-image-extra-3.13.0-41-generic
(--configure):  dependency problems - leaving unconfigured Errors were
encountered while processing:  linux-image-3.13.0-40-generic 
linux-image-3.13.0-41-generic  linux-image-extra-3.13.0-43-generic 
linux-image-extra-3.13.0-40-generic 
linux-image-extra-3.13.0-41-generic root@ubuntu:~# Sudo apt-get
install -f Reading package lists... Done Building dependency tree
Reading state information... Done Correcting dependencies... Done The
following packages were automatically installed and are no longer
required:   linux-headers-3.13.0-32 linux-headers-3.13.0-32-generic  
linux-headers-3.13.0-33 linux-headers-3.13.0-33-generic  
linux-headers-3.13.0-34 linux-headers-3.13.0-34-generic  
linux-headers-3.13.0-35 linux-headers-3.13.0-35-generic  
linux-headers-3.13.0-36 linux-headers-3.13.0-36-generic  
linux-headers-3.13.0-37 linux-headers-3.13.0-37-generic  
linux-headers-3.13.0-40 linux-headers-3.13.0-40-generic  
linux-image-3.13.0-32-generic linux-image-3.13.0-33-generic  
linux-image-3.13.0-34-generic linux-image-3.13.0-35-generic  
linux-image-3.13.0-36-generic linux-image-3.13.0-37-generic  
linux-image-3.13.0-40-generic linux-image-3.13.0-43-generic  
linux-image-extra-3.13.0-32-generic
linux-image-extra-3.13.0-33-generic  
linux-image-extra-3.13.0-34-generic
linux-image-extra-3.13.0-35-generic  
linux-image-extra-3.13.0-36-generic
linux-image-extra-3.13.0-37-generic  
linux-image-extra-3.13.0-40-generic
linux-image-extra-3.13.0-43-generic Use 'apt-get autoremove' to remove
them. The following extra packages will be installed:  
linux-image-3.13.0-43-generic Suggested packages:   fdutils
linux-doc-3.13.0 linux-source-3.13.0 linux-tools The following NEW
packages will be installed   linux-image-3.13.0-43-generic 0 to
upgrade, 1 to newly install, 0 to remove and 82 not to upgrade. 5 not
fully installed or removed. Need to get 0 B/15.1 MB of archives. After
this operation, 42.1 MB of additional disk space will be used. Do you
want to continue? [Y/n] y (Reading database ... 358605 files and
directories currently installed.) Preparing to unpack
.../linux-image-3.13.0-43-generic_3.13.0-43.72_AMD64.deb ... Done.
Unpacking linux-image-3.13.0-43-generic (3.13.0-43.72) ... dpkg: error
processing archive
/var/cache/apt/archives/linux-image-3.13.0-43-generic_3.13.0-43.72_AMD64.deb
(--unpa                         ck):  cannot copy extracted data for
'./boot/vmlinuz-3.13.0-43-generic' to
'/boot/vmlinuz-3.13.0-43-generic.dpkg-new': f                        
ailed to write (No space left on device) No apport report written
because the error message indicates a disk full error
                                                                              dpkg-deb: error: subprocess paste was                          killed
by signal (Broken pipe) Examining /etc/kernel/postrm.d . run-parts:
executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-43-generic
/boot/vmlinuz-3.13.0-43-generic run-parts: executing
/etc/kernel/postrm.d/zz-update-grub 3.13.0-43-generic
/boot/vmlinuz-3.13.0-43-generic The link /initrd.img is a damaged link
Removing symbolic link initrd.img  you may need to re-run your boot
loader[grub] The link /initrd.img.old is a damaged link Removing
symbolic link initrd.img.old  you may need to re-run your boot
loader[grub] Errors were encountered while processing: 
/var/cache/apt/archives/linux-image-3.13.0-43-generic_3.13.0-43.72_AMD64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1) root@ubuntu:~#
Sudo apt-get autoremove Reading package lists... Done Building
dependency tree Reading state information... Done You might want to
run ‘apt-get -f install’ to correct these. The following packages have
unmet dependencies.  linux-image-extra-3.13.0-43-generic : Depends:
linux-image-3.13.0-43-generic but it is not installed E: Unmet
dependencies. Try using -f. root@ubuntu:~# Sudo apt-get install
postfix Reading package lists... Done Building dependency tree Reading
state information... Done You might want to run 'apt-get -f install'
to correct these: The following packages have unmet dependencies. 
linux-image-extra-3.13.0-43-generic : Depends:
linux-image-3.13.0-43-generic but it is not going to be installed E:
Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution). root@ubuntu:~# clear root@ubuntu:~# Sudo apt-get
install postfix Reading package lists... Done Building dependency tree
Reading state information... Done You might want to run 'apt-get -f
install' to correct these: The following packages have unmet
dependencies.  linux-image-extra-3.13.0-43-generic : Depends:
linux-image-3.13.0-43-generic but it is not going to be installed E:
Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution). root@ubuntu:~# Sudo apt-get -f install Reading
package lists... Done Building dependency tree Reading state
information... Done Correcting dependencies... Done The following
packages were automatically installed and are no longer required:  
linux-headers-3.13.0-32 linux-headers-3.13.0-32-generic  
linux-headers-3.13.0-33 linux-headers-3.13.0-33-generic  
linux-headers-3.13.0-34 linux-headers-3.13.0-34-generic  
linux-headers-3.13.0-35 linux-headers-3.13.0-35-generic  
linux-headers-3.13.0-36 linux-headers-3.13.0-36-generic  
linux-headers-3.13.0-37 linux-headers-3.13.0-37-generic  
linux-headers-3.13.0-40 linux-headers-3.13.0-40-generic  
linux-image-3.13.0-32-generic linux-image-3.13.0-33-generic  
linux-image-3.13.0-34-generic linux-image-3.13.0-35-generic  
linux-image-3.13.0-36-generic linux-image-3.13.0-37-generic  
linux-image-3.13.0-40-generic linux-image-3.13.0-43-generic  
linux-image-extra-3.13.0-32-generic
linux-image-extra-3.13.0-33-generic  
linux-image-extra-3.13.0-34-generic
linux-image-extra-3.13.0-35-generic  
linux-image-extra-3.13.0-36-generic
linux-image-extra-3.13.0-37-generic  
linux-image-extra-3.13.0-40-generic
linux-image-extra-3.13.0-43-generic Use 'apt-get autoremove' to remove
them. The following extra packages will be installed:  
linux-image-3.13.0-43-generic Suggested packages:   fdutils
linux-doc-3.13.0 linux-source-3.13.0 linux-tools The following NEW
packages will be installed   linux-image-3.13.0-43-generic 0 to
upgrade, 1 to newly install, 0 to remove and 82 not to upgrade. 5 not
fully installed or removed. Need to get 0 B/15.1 MB of archives. After
this operation, 42.1 MB of additional disk space will be used. Do you
want to continue? [Y/n] y (Reading database ... 358605 files and
directories currently installed.) Preparing to unpack
.../linux-image-3.13.0-43-generic_3.13.0-43.72_AMD64.deb ... Done.
Unpacking linux-image-3.13.0-43-generic (3.13.0-43.72) ... dpkg: error
processing archive
/var/cache/apt/archives/linux-image-3.13.0-43-generic_3.13.0-43.72_AMD64.deb
(--unpack):  cannot copy extracted data for
'./boot/vmlinuz-3.13.0-43-generic' to
'/boot/vmlinuz-3.13.0-43-generic.dpkg-new': failed to write (No space
left on device) No apport report written because the error message
indicates a disk full error
                                                                              dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d . run-parts: executing
/etc/kernel/postrm.d/initramfs-tools 3.13.0-43-generic
/boot/vmlinuz-3.13.0-43-generic run-parts: executing
/etc/kernel/postrm.d/zz-update-grub 3.13.0-43-generic
/boot/vmlinuz-3.13.0-43-generic Errors were encountered while
processing: 
/var/cache/apt/archives/linux-image-3.13.0-43-generic_3.13.0-43.72_AMD64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1) root@ubuntu:~#

この問題を解決する方法はありますか?

5
tzk_nor

ディスクがいっぱいです。 failed to write (No space left on device) No apport report written because the error message indicates a disk full error

gparted live CD をダウンロードし、最初にシステムパーティションを拡張してください! (別のパーティションのサイズを変更して、そのスペースを確保します。)

その後、Sudo apt-get autoremoveを実行してから、以前と同様に続行します。

Sudo parted --listの出力を質問に追加する場合より詳細な回答を提供できます。)

1
Fabby