Сбой установки из-за неудовлетворенных зависимостей

Я просто попытался установить XRDP на свой собственный Ubuntu Server и получил следующее. Не видел этого раньше и не уверен, что делать.

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).

Я и sudo apt-get -f install и получил следующее:

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)
0
задан 11 July 2019 в 13:17

2 ответа

Первая вещь, которую Вы хотите попробовать, похожа на сообщение об ошибке, говорит

apt-get -f install

Если это не работает, то у нас есть большая проблема.

См. это превосходное сообщение для получения дополнительной информации.

0
ответ дан 24 October 2019 в 00:18

Так да оказался, что начальная загрузка была полна. Много пространства оставлено на сервере (2 ТБ). Таким образом, я искал следующее, которое выручило меня с моей настольной установкой некоторое время назад. https://gist.github.com/ipbastola/2760cfc28be62a5ee10036851c654600

Спасибо все для всей Вашей справки.

0
ответ дан 24 October 2019 в 00:18

Другие вопросы по тегам:

Похожие вопросы: