[System Installation] 系统更新报错:
Tofloor
poster avatar
叶落无语
deepin
8 hours ago
Author

最近又有更新包了,通过【控制中心】更新,提示备份失败,重试备份也不行。怎么查看备份失败的原因?

命令行更新最后也是报错。

$ sudo apt update && sudo apt dist-upgrade
请输入密码:
验证成功
命中:1 https://proposed-packages.deepin.com/beige-testing unstable/crimson InRelease
命中:4 https://cdn-community-packages.deepin.com/driver-25 snipe InRelease
命中:2 https://community-packages.deepin.com/beige crimson InRelease
获取:3 https://app-store-files.uniontech.com/260703165332580/appstorev23 crimson InRelease [7,661 B]
已下载 7,661 B,耗时 1秒 (8,211 B/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
有 5 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
正在计算更新... 完成
下列软件包是自动安装的并且现在不需要了:
bamfdaemon clangd clangd-17 cmake cmake-data coinor-libcbc3 coinor-libcgl1 coinor-libclp1
coinor-libcoinmp1v5 coinor-libcoinutils3v5 coinor-libosi1v5 dde-api-dbus-proxy-v1 dde-api-proxy
deepin-dvsrv deepin-manual deepin-proxy deepin-pw-check deepin-screen-recorder-plugin
deepin-system-fixpkg deepin-system-update deepin-theme-macaron deepin-wine6-stable
deepin-wine8-stable dnsutils fonts-opensymbol gconf-service gconf2-common hello ipwatchd
*-common libabw-0.1-1 libargon2-1 libatomic1:i386 libavahi-ui-gtk3-0 libavif15
libayatana-appindicator3-1 libayatana-ido3-0.4-0 libayatana-indicator3-7 libbamf3-2
libboost-locale1.83.0 libbox2d2 libc-ares2 libcapstone4 libcapstone5 libcdr-0.1-1 libcgroup1
libclang-common-17-dev libclang-cpp17 libclang-rt-17-dev libclang1-17 libclucene-contribs1v5
libclucene-core1v5 libcmark0.30.2 libcmis-0.6-6 libcolamd3 libcudadebugger1 libdbus-glib-1-2
libdbusmenu-glib4 libdbusmenu-gtk3-4 libdframeworkdbus2 libdwarf++0 libe-book-0.1-1 libelf++0
libeot0 libepubgen-0.1-1 libetonyek-0.1-1 libexpat1-dev libexttextcat-2.0-0 libexttextcat-data
libfreehand-0.1-1 libgconf-2-4 libgrpc++1.51 libgrpc29 libgtop-2.0-11 libgtop2-common
libjs-jquery libjs-sphinxdoc libjs-underscore libjsoncpp25 libkf5syntaxhighlighting-data
libkf5syntaxhighlighting5 libkf6breezeicons6 libkf6completion-data libkf6completion6
libkf6configqml6 libkf6iconthemes-data libkf6iconthemes6 libkf6iconwidgets6 libkf6kcmutils-data
libkf6kcmutilscore6 libkf6kcmutilsquick6 libkf6kiowidgets6 libkf6screendpms8 libkf6xmlgui-data
libkf6xmlgui6 libkscreen-data libkscreenlocker6 liblangtag-common liblangtag1
liblayershellqtinterface6 libllvm19 libllvm19:i386 libmarisa0 libmbedcrypto3 libmhash2
libmspub-0.1-1 libmujs1 libmwaw-0.3-3 libmythes-1.2-0 libnet1 libnumbertext-1.0-0
libnumbertext-data libnvidia-api1 libnvidia-fbc1 libnvidia-ngx1 libnvidia-opticalflow1
libnvoptix1 libodfgen-0.1-1 libopencc-data libopencc1.1 liborcus-0.18-0 liborcus-parser-0.18-0
libpackagekitqt5-1 libpagemaker-0.0-0 libpkgconf3 libplasma6 libplasmaactivities6
libplasmaquick6 libprotoc32 libpython3-dev libpython3.12-dev libqt5script5 libqt5scripttools5
libqtermwidget6-2 libqxp-0.0-0 librasqal3 librdf0 librevenge-0.0-0 librhash0 libroc0.3
libssh-gcrypt-4 libstaroffice-0.0-0 libsuitesparseconfig7 libtag1v5 libtag1v5-vanilla
libu2f-udev libunistring2:i386 libuno-cppu3 libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3
libuno-sal3 libuno-salhelpergcc3-3 libutf8proc3 libvisio-0.1-1 libvkd3d-shader1 libvkd3d1
libvte-2.91-0 libvte-2.91-common libwlroots-0.18 libwnck-3-0 libwnck-3-common libwpd-0.10-10
libwpg-0.3-3 libwps-0.4-4 libxcb-dpms0 libxmlsec1-nss libxres1 libzmf-0.0-0 libzxcvbn0 lp-solve
mobile-broadband-provider-info nvidia-persistenced nvidia-powerd nvidia-settings python3-dev
python3-distutils python3-lib2to3 python3-packaging python3-pip python3-wheel python3.12-dev
qdbus-qt6 qml6-module-qt-labs-folderlistmodel qtermwidget-data remmina remmina-common
uno-libs-private ure vkd3d-compiler zlib1g-dev
使用'sudo apt autoremove'来卸载它(它们)。
下列【新】软件包将被安装:
linux-headers-6.18.36-amd64-desktop-rolling linux-image-6.18.36-amd64-desktop-rolling
下列软件包将被升级:
dde-printer dde-session-shell linux-headers-deepin-amd64 linux-image-deepin-amd64
linux-libc-dev
升级了 5 个软件包,新安装了 2 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
需要下载 209 MB 的归档。
解压缩后会消耗 264 MB 的额外空间。
您希望继续执行吗? [Y/n] y
获取:2 https://com-store-packages.uniontech.com/appstore-V25 crimson/appstore amd64 dde-printer amd64 1.0.61-1 [12.9 MB]
获取:1 https://cdn-community-packages.deepin.com/beige crimson/main amd64 dde-session-shell amd64 6.0.59.1 [1,362 kB]
获取:3 https://cdn-community-packages.deepin.com/beige crimson/main amd64 linux-headers-6.18.36-amd64-desktop-rolling amd64 25.01.01.27 [10.6 MB]
获取:4 https://cdn-community-packages.deepin.com/beige crimson/main amd64 linux-image-6.18.36-amd64-desktop-rolling amd64 25.01.01.27 [182 MB]
获取:5 https://cdn-community-packages.deepin.com/beige crimson/main amd64 linux-libc-dev amd64 25.01.01.27 [1,469 kB]
获取:6 https://cdn-community-packages.deepin.com/beige crimson/main amd64 linux-headers-deepin-amd64 amd64 23.01.01.46 [2,484 B]
获取:7 https://cdn-community-packages.deepin.com/beige crimson/main amd64 linux-image-deepin-amd64 amd64 23.01.01.46 [2,472 B]
已下载 209 MB,耗时 30秒 (6,859 kB/s)
(正在读取数据库 ... 系统当前共安装有 437207 个文件和目录。)
准备解压 .../0-dde-printer_1.0.61-1_amd64.deb ...
正在解压 dde-printer (1.0.61-1) 并覆盖 (1.0.57-1) ...
准备解压 .../1-dde-session-shell_6.0.59.1_amd64.deb ...
正在解压 dde-session-shell (6.0.59.1) 并覆盖 (6.0.59) ...
正在选中未选择的软件包 linux-headers-6.18.36-amd64-desktop-rolling。
准备解压 .../2-linux-headers-6.18.36-amd64-desktop-rolling_25.01.01.27_amd64.deb ...
正在解压 linux-headers-6.18.36-amd64-desktop-rolling (25.01.01.27) ...
正在选中未选择的软件包 linux-image-6.18.36-amd64-desktop-rolling。
准备解压 .../3-linux-image-6.18.36-amd64-desktop-rolling_25.01.01.27_amd64.deb ...
正在解压 linux-image-6.18.36-amd64-desktop-rolling (25.01.01.27) ...
准备解压 .../4-linux-libc-dev_25.01.01.27_amd64.deb ...
正在解压 linux-libc-dev:amd64 (25.01.01.27) 并覆盖 (25.01.01.26) ...
准备解压 .../5-linux-headers-deepin-amd64_23.01.01.46_amd64.deb ...
正在解压 linux-headers-deepin-amd64 (23.01.01.46) 并覆盖 (23.01.01.45) ...
准备解压 .../6-linux-image-deepin-amd64_23.01.01.46_amd64.deb ...
正在解压 linux-image-deepin-amd64 (23.01.01.46) 并覆盖 (23.01.01.45) ...
正在设置 linux-headers-6.18.36-amd64-desktop-rolling (25.01.01.27) ...
正在设置 initramfs-tools (0.142-0deepin11) ...
update-initramfs: deferring update (trigger activated)

正在设置 dde-session-shell (6.0.59.1) ...
正在设置 linux-libc-dev:amd64 (25.01.01.27) ...
正在设置 linux-image-6.18.36-amd64-desktop-rolling (25.01.01.27) ...

Sign command: /lib/modules/6.18.36-amd64-desktop-rolling/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Cleaning build area... done.
Building module(s)... done.
Signing module /var/lib/dkms/deepin-anything/0.0/build/vfs_monitor.ko
Cleaning build area... done.

Installing /lib/modules/6.18.36-amd64-desktop-rolling/updates//vfs_monitor.ko.zst
Running depmod... done.

Sign command: /lib/modules/6.18.36-amd64-desktop-rolling/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Cleaning build area... done.
Building module(s)............. done.
Signing module /var/lib/dkms/nvidia-current/580.119.02/build/nvidia.ko
Signing module /var/lib/dkms/nvidia-current/580.119.02/build/nvidia-modeset.ko
Signing module /var/lib/dkms/nvidia-current/580.119.02/build/nvidia-drm.ko
Signing module /var/lib/dkms/nvidia-current/580.119.02/build/nvidia-uvm.ko
Signing module /var/lib/dkms/nvidia-current/580.119.02/build/nvidia-peermem.ko
Cleaning build area... done.

Installing /lib/modules/6.18.36-amd64-desktop-rolling/updates/dkms/nvidia-current.ko.zst
Installing /lib/modules/6.18.36-amd64-desktop-rolling/updates/dkms/nvidia-current-modeset.ko.zst
Installing /lib/modules/6.18.36-amd64-desktop-rolling/updates/dkms/nvidia-current-drm.ko.zst
Installing /lib/modules/6.18.36-amd64-desktop-rolling/updates/dkms/nvidia-current-uvm.ko.zst
Installing /lib/modules/6.18.36-amd64-desktop-rolling/updates/dkms/nvidia-current-peermem.ko.zst
Running depmod... done.
Autoinstall on 6.18.36-amd64-desktop-rolling succeeded for module(s) deepin-anything nvidia-current.
update-initramfs: Generating /boot/initrd.img-6.18.36-amd64-desktop-rolling
I: The initramfs will attempt to resume from /dev/sda3
I: (UUID=8d7a37c5-0e90-485d-b23f-bf2fa98c8142)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dns.
cat: 写入错误: 设备上没有空间
update-initramfs: failed for /boot/initrd.img-6.18.36-amd64-desktop-rolling with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
fix systemd/logind config
VirtualBox Guest Additions: Building the modules for kernel
6.18.36-amd64-desktop-rolling.

VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what
went wrong
正在生成 grub 配置文件 ...
找到主题:/boot/grub/themes/deepin/theme.txt
Found background image: /boot/grub/themes/deepin/background.jpg
警告: os-prober 将运行以检测其它可引导分区。
将使用 os-prober 的输出,以检测分区中可引导的二进制文件,并为其创建新的启动项。
正在添加 UEFI 固件设置的引导菜单项……
完成
dpkg: 处理软件包 linux-image-6.18.36-amd64-desktop-rolling (--configure)时出错:
已安装 linux-image-6.18.36-amd64-desktop-rolling 软件包 post-installation 脚本 子进程返回错误状态 1
正在设置 linux-headers-deepin-amd64 (23.01.01.46) ...
dpkg: 依赖关系问题使得 linux-image-deepin-amd64 的配置工作不能继续:
linux-image-deepin-amd64 依赖于 linux-image-6.18.36-amd64-desktop-rolling;然而:
软件包 linux-image-6.18.36-amd64-desktop-rolling 尚未配置。

dpkg: 处理软件包 linux-image-deepin-amd64 (--configure)时出错:
依赖关系问题 - 仍未被配置
正在设置 dde-printer (1.0.61-1) ...
dde-printer: 未找到进程
dde-printer-helper: 未找到进程
dde-printer-monitor: 未找到进程
正在处理用于 desktop-file-utils (0.28-1) 的触发器 ...
正在处理用于 hicolor-icon-theme (0.17-2) 的触发器 ...
正在处理用于 dde-dconfig-daemon (1.0.44) 的触发器 ...
Configuration trigger detected, reload completed successfully
正在处理用于 deepin-debug-config (1.0.58-deepin1) 的触发器 ...
not exist resouce:[org.deepin.license.gui] for the appid:[org.deepin.license]
not exist resouce:[org.deepin.license.appgui] for the appid:[org.deepin.license]
not exist resouce:[org.deepin.license.cmd] for the appid:[org.deepin.license]
not exist resouce:[org.deepin.license.agent] for the appid:[org.deepin.license]
Set uos-activator debug level to warning: OK
Debug logs are set to 'warning' for wireplumber.
Set wireplumber debug level to warning: OK
Debug logs are disabled for wpa.
Set wpasupplicant debug level to warning: OK
Set org.kde.kwin debug level to warning: OK
Set deepin-log-viewer debug level to warning: OK
Set dde-printer debug level to warning: OK
Debug logs are set to 'warning' for resolved.
Set resolved debug level to warning: OK
Set dde-session-shell debug level to warning: OK
Set dde-file-manager debug level to warning: OK
Debug logs are set to 'warning' for systemd.
Set systemd debug level to warning: OK
Set org.deepin.service.manager debug level to warning: OK
Set dde-shell debug level to warning: OK
Debug logs are set to 'warning' for network-manager.
Set NetworkManager debug level to warning: OK
dde-cooperation log level is g_minLogLevel=2
Set dde-cooperation debug level to warning: OK
deepin-data-transfer log level is g_minLogLevel=2
Set deepin-data-transfer debug level to warning: OK
Set dde-launchpad debug level to warning: OK
Debug logs are set to 'warning' for pipewire.
Set pipewire debug level to warning: OK
Debug logs are set to 'warning' for qt.
Set qt_debug debug level to warning: OK
Set deepin-system-monitor debug level to warning: OK
Debug logs are set to 'info' for lastore-daemon.
Set lastore-daemon debug level to info: OK
Set dde-control-center debug level to warning: OK
not exist resouce:[org.deepin.uos-service-support.gui] for the appid:[org.deepin.uos-service-support]
not exist resouce:[org.deepin.uos-service-support.agent] for the appid:[org.deepin.uos-service-support]
Set uos-service-support debug level to warning: OK
Debug logs are set to 'warning' for udev.
Set udev debug level to warning: OK
Debug logs are set to 'warning' for logind.
Set logind debug level to warning: OK
Debug logs are set to 'warning' for dde.
Set deepin-system-upgrade-tool debug level to warning: OK
Debug logs are set to 'warning' for pulseaudio.
Set pulseaudio debug level to warning: OK
Set deepin-app-store debug level to warning: OK
Set uosid debug level to warning: OK
Set deepin-terminal debug level to warning: OK
Debug logs are disabled for bluetooth.
Set bluez debug level to warning: OK
Set dde-dconfig-daemon debug level to warning: OK
Done.
正在处理用于 libc-bin (2.38-6deepin24) 的触发器 ...
正在处理用于 man-db (2.12.0-1) 的触发器 ...
正在处理用于 dbus (1.14.10-3-1deepin3) 的触发器 ...
正在处理用于 deepin-home-appstore-daemon (9.0.6) 的触发器 ...
正在处理用于 deepin-desktop-theme (1.1.30) 的触发器 ...
正在处理用于 bamfdaemon (0.5.6+repack-1) 的触发器 ...
Rebuilding /usr/share/applications/bamf-2.index...
正在处理用于 initramfs-tools (0.142-0deepin11) 的触发器 ...
update-initramfs: Generating /boot/initrd.img-6.18.34-amd64-desktop-rolling
I: The initramfs will attempt to resume from /dev/sda3
I: (UUID=8d7a37c5-0e90-485d-b23f-bf2fa98c8142)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dns.
cat: 写入错误: 设备上没有空间
update-initramfs: failed for /boot/initrd.img-6.18.34-amd64-desktop-rolling with 1.
dpkg: 处理软件包 initramfs-tools (--configure)时出错:
已安装 initramfs-tools 软件包 post-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
linux-image-6.18.36-amd64-desktop-rolling
linux-image-deepin-amd64
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Reply Favorite View the author
All Replies
avatar
叶落无语
deepin
8 hours ago
#1

重启系统挂了。

image.png

Reply View the author
avatar
SoftCat
deepin
7 hours ago
#2

cat: 写入错误: 设备上没有空间

deepin应该加个重要分区剩余空间检测机制

Reply View the author
avatar
兆兆嘟嘟嘟
Moderator
6 hours ago
#3
叶落无语

重启系统挂了。

image.png

可以使用live系统进入系统盘boot目录看看那个文件还在不在,出现这种情况很可能那个内核文件已经不在了。

Reply View the author