[Control Center] 检查更新的时候总是出现网络断开 V23
Tofloor
poster avatar
oo
deepin
2023-09-02 03:34
Author

image.png

Reply Favorite View the author
All Replies
fax928
deepin
2023-09-02 03:38
#1

检查一下源。

还可以用下面两个命令升级

sudo apt update

sudo apt dist-upgrade

Reply View the author
阿尼樱奈奈
Moderator
2023-09-02 03:41
#2

首先检查一下网络。

如果网络正常,可以打开终端执行命令:sudo apt update && sudo apt upgrade

Reply View the author
oo
deepin
2023-09-02 03:42
#3

这个是源里的内容,这个有问题吗
image.png

使用apt update 这两个命令是可以更新的

Reply View the author
阿尼樱奈奈
Moderator
2023-09-02 03:44
#4
oo

这个是源里的内容,这个有问题吗
image.png

使用apt update 这两个命令是可以更新的

你的系统是20.9还是23?

这个是V23的默认源。

Reply View the author
oo
deepin
2023-09-02 03:45
#5
It has been deleted!
oo
deepin
2023-09-02 03:46
#6
阿尼樱奈奈

你的系统是20.9还是23?

这个是V23的默认源。

系统是v23的,加入了内测通道的

update之后出现这个

image.png

Reply View the author
fax928
deepin
2023-09-02 03:54
#7
oo

系统是v23的,加入了内测通道的

update之后出现这个

image.png

截图截全点看看。

Reply View the author
oo
deepin
2023-09-02 04:00
#8
fax928

截图截全点看看。

我刚重启了系统,现在再执行的sudo apt upgrade,下面的是执行开始到结束

正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
正在计算更新... 完成
下列软件包是自动安装的并且现在不需要了:
gvfs-bin libnvidia-egl-wayland1
使用'sudo apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 4 个软件包没有被完全安装或卸载。
解压缩后会消耗 0 B 的额外空间。
您希望继续执行吗? [Y/n] y
正在设置 initramfs-tools (0.140.3-deepin1) ...
update-initramfs: deferring update (trigger activated)
正在设置 linux-firmware (1.202.13) ...
update-initramfs: Generating /boot/initrd.img-6.1.32-amd64-desktop-hwe
setupcon is missing. Please install the 'console-setup' package.
I: The initramfs will attempt to resume from /dev/nvme0n1p3
I: (UUID=eae1a2cb-5acd-462c-a417-c20b2e845abb)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dnsE: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.1.32-amd64-desktop-hwe with 1.
dpkg: 处理软件包 linux-firmware (--configure)时出错:
已安装 linux-firmware 软件包 post-installation 脚本 子进程返回错误状态 1
dpkg: 依赖关系问题使得 deepin-desktop-environment-cli 的配置工作不能继续:
deepin-desktop-environment-cli 依赖于 linux-firmware;然而:
软件包 linux-firmware 尚未配置。

dpkg: 处理软件包 deepin-desktop-environment-cli (--configure)时出错:
依赖关系问题 - 仍未被配置
正在设置 linux-image-6.1.32-amd64-desktop-hwe (23.01.00.19) ...
dkms: running auto installation service for kernel 6.1.32-amd64-desktop-hwe:.
update-initramfs: Generating /boot/initrd.img-6.1.32-amd64-desktop-hwe
setupcon is missing. Please install the 'console-setup' package.
I: The initramfs will attempt to resume from /dev/nvme0n1p3
I: (UUID=eae1a2cb-5acd-462c-a417-c20b2e845abb)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dnsE: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.1.32-amd64-desktop-hwe with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
fix systemd/logind config
Generating grub configuration file ...
Found theme: /boot/grub/themes/deepin/theme.txt
Found background image: /boot/grub/themes/deepin/background.jpg
Found linux image: /boot/vmlinuz-6.1.32-amd64-desktop-hwe
Found initrd image: /boot/initrd.img-6.1.32-amd64-desktop-hwe
Found linux image: /boot/vmlinuz-6.1.11-amd64-desktop-hwe
Found initrd image: /boot/initrd.img-6.1.11-amd64-desktop-hwe
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
done
dpkg: 处理软件包 linux-image-6.1.32-amd64-desktop-hwe (--configure)时出错:
已安装 linux-image-6.1.32-amd64-desktop-hwe 软件包 post-installation 脚本 子进程返回错误状态 1
正在处理用于 initramfs-tools (0.140.3-deepin1) 的触发器 ...
update-initramfs: Generating /boot/initrd.img-6.1.32-amd64-desktop-hwe
setupcon is missing. Please install the 'console-setup' package.
I: The initramfs will attempt to resume from /dev/nvme0n1p3
I: (UUID=eae1a2cb-5acd-462c-a417-c20b2e845abb)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dnsE: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.1.32-amd64-desktop-hwe with 1.
dpkg: 处理软件包 initramfs-tools (--configure)时出错:
已安装 initramfs-tools 软件包 post-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
linux-firmware
deepin-desktop-environment-cli
linux-image-6.1.32-amd64-desktop-hwe
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reply View the author
oo
deepin
2023-09-02 04:03
#9

image.png

还是会出现这个,网络都是正常的,也没有使用网络代理

image.png

Reply View the author
fax928
deepin
2023-09-02 04:17
#10
oo

image.png

还是会出现这个,网络都是正常的,也没有使用网络代理

image.png

试试命令 sudo apt dist-upgrade (dist-upgrade那个解释不太对,apt upgrade是升级软件,但是当升级的软件所需的依赖关系发生改变时,apt upgrade会拒绝升级,而apt dist-upgrade则会尝试去处理依赖关系。
举个例子,软件原先依赖a、b,但升级后依赖b、c。这时候apt upgrade就不会升级软件了,但apt dist-upgrade,就会删除a,安装c,将软件升级。)

或者检查一下/etc/apt/sources.list.d/deepin-unstable-source.list这个文件内容,我这边是

image.png

Reply View the author
oo
deepin
2023-09-02 04:23
#11
fax928

试试命令 sudo apt dist-upgrade (dist-upgrade那个解释不太对,apt upgrade是升级软件,但是当升级的软件所需的依赖关系发生改变时,apt upgrade会拒绝升级,而apt dist-upgrade则会尝试去处理依赖关系。
举个例子,软件原先依赖a、b,但升级后依赖b、c。这时候apt upgrade就不会升级软件了,但apt dist-upgrade,就会删除a,安装c,将软件升级。)

或者检查一下/etc/apt/sources.list.d/deepin-unstable-source.list这个文件内容,我这边是

image.png

使用 apt dist-upgrade 还是不行

luolang@luolang-work-pc:~$ sudo apt dist-upgrade -y
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成             
正在计算更新... 完成
下列软件包是自动安装的并且现在不需要了:
  gvfs-bin libnvidia-egl-wayland1 libqt5webengine5
使用'sudo apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 4 个软件包没有被完全安装或卸载。
解压缩后会消耗 0 B 的额外空间。
正在设置 initramfs-tools (0.140.3-deepin1) ...
update-initramfs: deferring update (trigger activated)
正在设置 linux-firmware (1.202.13) ...
update-initramfs: Generating /boot/initrd.img-6.1.32-amd64-desktop-hwe
I: The initramfs will attempt to resume from /dev/nvme0n1p3
I: (UUID=eae1a2cb-5acd-462c-a417-c20b2e845abb)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dnsE: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.1.32-amd64-desktop-hwe with 1.
dpkg: 处理软件包 linux-firmware (--configure)时出错:
 已安装 linux-firmware 软件包 post-installation 脚本 子进程返回错误状态 1
dpkg: 依赖关系问题使得 deepin-desktop-environment-cli 的配置工作不能继续:
 deepin-desktop-environment-cli 依赖于 linux-firmware;然而:
  软件包 linux-firmware 尚未配置。

dpkg: 处理软件包 deepin-desktop-environment-cli (--configure)时出错:
 依赖关系问题 - 仍未被配置
正在设置 linux-image-6.1.32-amd64-desktop-hwe (23.01.00.19) ...
dkms: running auto installation service for kernel 6.1.32-amd64-desktop-hwe:.
update-initramfs: Generating /boot/initrd.img-6.1.32-amd64-desktop-hwe
I: The initramfs will attempt to resume from /dev/nvme0n1p3
I: (UUID=eae1a2cb-5acd-462c-a417-c20b2e845abb)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dnsE: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.1.32-amd64-desktop-hwe with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
fix systemd/logind config
Generating grub configuration file ...
Found theme: /boot/grub/themes/deepin/theme.txt
Found background image: /boot/grub/themes/deepin/background.jpg
Found linux image: /boot/vmlinuz-6.1.32-amd64-desktop-hwe
Found initrd image: /boot/initrd.img-6.1.32-amd64-desktop-hwe
Found linux image: /boot/vmlinuz-6.1.11-amd64-desktop-hwe
Found initrd image: /boot/initrd.img-6.1.11-amd64-desktop-hwe
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
done
dpkg: 处理软件包 linux-image-6.1.32-amd64-desktop-hwe (--configure)时出错:
 已安装 linux-image-6.1.32-amd64-desktop-hwe 软件包 post-installation 脚本 子进程返回错误状态 1
正在处理用于 initramfs-tools (0.140.3-deepin1) 的触发器 ...
update-initramfs: Generating /boot/initrd.img-6.1.32-amd64-desktop-hwe
I: The initramfs will attempt to resume from /dev/nvme0n1p3
I: (UUID=eae1a2cb-5acd-462c-a417-c20b2e845abb)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dnsE: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.1.32-amd64-desktop-hwe with 1.
dpkg: 处理软件包 initramfs-tools (--configure)时出错:
 已安装 initramfs-tools 软件包 post-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
 linux-firmware
 deepin-desktop-environment-cli
 linux-image-6.1.32-amd64-desktop-hwe
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

image.png

Reply View the author
fax928
deepin
2023-09-02 04:49
#12

抱歉帮不了你了。

可以www.csdn.net网站查下报错信息(dpkg: 处理软件包 linux-firmware (--configure)时出错: 已安装 linux-firmware 软件包 post-installation 脚本 子进程返回错误状态 1),有相关文章可以参考,3个包都有这个错误。

操作文件前记得备份原文件。

Reply View the author
oo
deepin
2023-09-02 04:52
#13
fax928

抱歉帮不了你了。

可以www.csdn.net网站查下报错信息(dpkg: 处理软件包 linux-firmware (--configure)时出错: 已安装 linux-firmware 软件包 post-installation 脚本 子进程返回错误状态 1),有相关文章可以参考,3个包都有这个错误。

操作文件前记得备份原文件。

好的,已经非常感谢你这么耐心啦

Reply View the author