I just tried to install XRDP on my in house Ubuntu Server and got the following. Not seen it before and not sure what to do.
knoppysdev@knoppysdigitalserver:~$ sudo apt install xrdp
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-154-generic but it is not going to be installed or
linux-image-unsigned-4.4.0-154-generic but it is not going to be installed
Recommends: thermald but it is not going to be installed
linux-modules-extra-4.4.0-151-generic : Depends: linux-image-4.4.0-151-generic but it is not going to be installed or
linux-image-unsigned-4.4.0-151-generic but it is not going to be installed
linux-modules-extra-4.4.0-154-generic : Depends: linux-image-4.4.0-154-generic but it is not going to be installed or
linux-image-unsigned-4.4.0-154-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I an sudo apt-get -f install
and got the following:
sudo apt-get -f install
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-154-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-154-generic
0 to upgrade, 1 to newly install, 0 to remove and 173 not to upgrade.
16 not fully installed or removed.
Need to get 0 B/6,928 kB of archives.
After this operation, 7,227 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 611731 files and directories currently installed.)
Preparing to unpack .../linux-image-4.4.0-154-generic_4.4.0-154.181_amd64.deb ...
Unpacking linux-image-4.4.0-154-generic (4.4.0-154.181) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-154-generic_4.4.0-154.181_amd64.deb (--unpack):
cannot copy extracted data for './boot/vmlinuz-4.4.0-154-generic' to '/boot/vmlinuz-4.4.0-154-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-154-generic_4.4.0-154.181_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo apt install -f
as suggested in output? – Kulfy Jul 10 '19 at 12:16