LinuxForum.Fans
Тема

Ошибка после обновления VPS

Автор: N___F_n 6 сообщений 1782 просмотров
09.08.2020 00:09 #435182

Debian 9. После обновления вылезла ошибка, как ее исправить. Спасибо.

[console] apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
linux-image-amd64 : Depends: linux-image-4.9.0-13-amd64 but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@gosha:~#
[/console]

09.08.2020 08:59 #435183

Можно поставить недостающий пакет, подробное описание данного пакета и способ его установки:
https://debian.pkgs.org/9/debian-main-amd64/linux-image-4.9.0-13-amd64_4.9.228-1_amd64.deb.html

[console]sudo apt-get update
sudo apt-get install linux-image-4.9.0-13-amd64
[/console]
Если успешно установится, то попробуйте ещё раз
[console]sudo apt-get upgrade[/console]
Добавлено: 09.08.2020 08:59:44

Если не поможет попробовать так:
[console]sudo apt clean
sudo apt autoclean
sudo apt autoremove[/console]
Если это не поможет, то продолжаем:
[console]sudo apt check
sudo dpkg --configure -a
sudo apt update
sudo apt install -f[/console]
Если и это не помогло попробовать безопасное обновление:
[console]sudo aptitude safe-upgrade[/console]
И после него попробовать поставить нужный пакет и выполнить апгрейд.

09.08.2020 14:29 · отредактировано #435184

не помогает, та же ошибка.

После команды, что он хочит.

[console] apt --fix-broken 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.9.0-13-amd64
Suggested packages:
linux-doc-4.9 debian-kernel-handbook
The following NEW packages will be installed:
linux-image-4.9.0-13-amd64
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
3 not fully installed or removed.
Need to get 39.3 MB of archives.
After this operation, 193 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian stretch/main amd64 linux-image-4.9.0-13-amd64 amd64 4.9.228-1 [39.3 MB]
Fetched 39.3 MB in 6s (6,399 kB/s)
(Reading database ... 53985 files and directories currently installed.)
Preparing to unpack .../linux-image-4.9.0-13-amd64_4.9.228-1_amd64.deb ...
Unpacking linux-image-4.9.0-13-amd64 (4.9.228-1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.9.0-13-amd64_4.9.228-1_amd64.deb (--unpack):
cannot copy extracted data for './boot/vmlinuz-4.9.0-13-amd64' to '/boot/vmlinuz-4.9.0-13-amd64.dpkg-new': failed to write (No space left on device)
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-4.9.0-13-amd64_4.9.228-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
[/console]

09.08.2020 16:26 · отредактировано #435185

[console]cannot copy extracted data for './boot/vmlinuz-4.9.0-13-amd64' to '/boot/vmlinuz-4.9.0-13-amd64.dpkg-new': failed to write (No space left on device)[/console]

Пишет, что у тебя в разделе /boot закончилось свободное место. Не может скопировать файл (ядра).

09.08.2020 18:02 #435186

А как его увеличить на VPS ?
Добавлено: 09.08.2020 18:02:09

решил не мучатся, просто переустановлю. В следующий раз boot увеличу.

09.08.2020 21:49 #435192
"NуроFеn" написал:
В следующий раз boot увеличу.

Советую не делать отдельный раздел boot, а располагать каталог /boot на корневом разделе. Так больше вероятность, что он не переполнится.

Войдите или зарегистрируйтесь, чтобы ответить.