代码: 全选
apt-get install -f -y
代码: 全选
root@Linux-01:/var/lib/dpkg# apt-get install -f -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
linux-image-4.4.0-89-generic
Suggested packages:
fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-tools
The following NEW packages will be installed:
linux-image-4.4.0-89-generic
0 upgraded, 1 newly installed, 0 to remove and 80 not upgraded.
36 not fully installed or removed.
Need to get 0 B/21.9 MB of archives.
After this operation, 67.0 MB of additional disk space will be used.
(Reading database ... 440279 files and directories currently installed.)
Preparing to unpack .../linux-image-4.4.0-89-generic_4.4.0-89.112_amd64.deb ...
Done.
Unpacking linux-image-4.4.0-89-generic (4.4.0-89.112) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-89-generic_4.4.0-89.112_amd64.deb (--unpack):
cannot copy extracted data for './boot/System.map-4.4.0-89-generic' to '/boot/System.map-4.4.0-89-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 4.4.0-89-generic /boot/vmlinuz-4.4.0-89-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-89-generic /boot/vmlinuz-4.4.0-89-generic
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-4.4.0-89-generic_4.4.0-89.112_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Linux-01:/var/lib/dpkg#
代码: 全选
root@Linux-01:/var/lib/dpkg# uname -a
Linux Linux-01 4.4.0-79-generic #100-Ubuntu SMP Wed May 17 19:58:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux