Итак или сяк все равно косяк какой то идет
sudo apt 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-generic : Depends: linux-image-4.4.0-185-generic but it is not installed or
linux-image-unsigned-4.4.0-185-generic but it is not installed
Recommends: thermald but it is not installed
linux-modules-extra-4.4.0-174-generic : Depends: linux-image-4.4.0-174-generic but it is not installed or
linux-image-unsigned-4.4.0-174-generic but it is not installed
linux-modules-extra-4.4.0-185-generic : Depends: linux-image-4.4.0-185-generic but it is not installed or
linux-image-unsigned-4.4.0-185-generic but it is not installed
E: Unmet dependencies. Try using -f.
root@a:~# sudo apt autoremove -f
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-185-generic linux-modules-4.4.0-185-generic
Suggested packages:
fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-tools
The following packages will be REMOVED:
linux-headers-4.4.0-169 linux-headers-4.4.0-169-generic linux-headers-4.4.0-170 linux-headers-4.4.0-170-generic linux-headers-4.4.0-174
linux-headers-4.4.0-174-generic linux-headers-4.4.0-22 linux-headers-4.4.0-22-generic linux-image-4.4.0-169-generic linux-image-4.4.0-170-generic
linux-image-4.4.0-22-generic linux-image-extra-4.4.0-22-generic linux-modules-4.4.0-169-generic linux-modules-4.4.0-170-generic
linux-modules-extra-4.4.0-169-generic linux-modules-extra-4.4.0-170-generic linux-modules-extra-4.4.0-174-generic
The following NEW packages will be installed:
linux-image-4.4.0-185-generic linux-modules-4.4.0-185-generic
0 upgraded, 2 newly installed, 17 to remove and 241 not upgraded.
14 not fully installed or removed.
Need to get 0 B/18.9 MB of archives.
After this operation, 1,066 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 314654 files and directories currently installed.)
Removing linux-headers-4.4.0-174-generic (4.4.0-174.204) ...
Removing linux-headers-4.4.0-174 (4.4.0-174.204) ...
Removing linux-modules-extra-4.4.0-170-generic (4.4.0-170.199) ...
Removing linux-image-4.4.0-170-generic (4.4.0-170.199) ...
/var/lib/dpkg/info/linux-image-4.4.0-170-generic.postrm ... removing pending trigger
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.4.0-170-generic
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-173-generic
Found linux image: /boot/vmlinuz-4.4.0-171-generic
Found linux image: /boot/vmlinuz-4.4.0-169-generic
Found initrd image: /boot/initrd.img-4.4.0-169-generic
Found linux image: /boot/vmlinuz-4.4.0-47-generic
Found initrd image: /boot/initrd.img-4.4.0-47-generic
Found linux image: /boot/vmlinuz-4.4.0-22-generic
Found initrd image: /boot/initrd.img-4.4.0-22-generic
done
Removing linux-modules-extra-4.4.0-174-generic (4.4.0-174.204) ...
(Reading database ... 278733 files and directories currently installed.)
Preparing to unpack .../linux-modules-4.4.0-185-generic_4.4.0-185.215_amd64.deb ...
Unpacking linux-modules-4.4.0-185-generic (4.4.0-185.215) ...
Preparing to unpack .../linux-image-4.4.0-185-generic_4.4.0-185.215_amd64.deb ...
Unpacking linux-image-4.4.0-185-generic (4.4.0-185.215) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-185-generic_4.4.0-185.215_amd64.deb (--unpack):
cannot copy extracted data for './boot/vmlinuz-4.4.0-185-generic' to '/boot/vmlinuz-4.4.0-185-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)
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-4.4.0-185-generic_4.4.0-185.215_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)