[problem help] apt upgrade 无法更新
Tofloor
poster avatar
爱开发
deepin
2024-08-13 21:29
Author
错误:8 https://community-packages.deepin.com/deepin/beige beige InRelease
  无法连接上 community-packages.deepin.com:443 (111.178.11.150),连接超时
错误:9 https://community-packages.deepin.com/driver-23 driver InRelease
  不能连接到 community-packages.deepin.com:https:
已下载 2,114 B,耗时 48秒 (44 B/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成   
有 120 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
W: 无法下载 https://community-packages.deepin.com/deepin/beige/dists/beige/InRelease  无法连接上 community-packages.deepin.com:443 (111.178.11.150),连接超时
W: 无法下载 https://community-packages.deepin.com/driver-23/dists/driver/InRelease  不能连接到 community-packages.deepin.com:https:
W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成   
您也许需要运行“apt --fix-broken install”来修正上面的错误。
下列软件包有未满足的依赖关系:
 libdde-shell : 依赖: dde-tray-loader 但是它还没有被安装
E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt --fix-broken install”(也可以指定一个解决办法)。
720 ◯ : sudo apt remove dde-tray-loader                                                                                                                                                                                                  [~]
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成               
软件包 dde-tray-loader 未安装,所以不会被卸载
您也许需要运行“apt --fix-broken install”来修正上面的错误。
下列软件包有未满足的依赖关系:
 libdde-shell : 依赖: dde-tray-loader 但是它将不会被安装
E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt --fix-broken install”(也可以指定一个解决办法)。

deepin 福 ~ 
721 ◯ : sudo apt --fix-broken install                                                                                                                                                                                                  ⏎ [~]
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成               
正在修复依赖关系... 完成
将会同时安装下列软件:
  dde-tray-loader
下列【新】软件包将被安装:
  dde-tray-loader
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 120 个软件包未被升级。
有 37 个软件包没有被完全安装或卸载。
需要下载 0 B/1,668 kB 的归档。
解压缩后会消耗 9,991 kB 的额外空间。
您希望继续执行吗? [Y/n] y
(正在读取数据库 ... 系统当前共安装有 416873 个文件和目录。)
准备解压 .../dde-tray-loader_0.0.7_amd64.deb  ...
正在解压 dde-tray-loader (0.0.7) ...
dpkg: 处理归档 /var/cache/apt/archives/dde-tray-loader_0.0.7_amd64.deb (--unpack)时出错:
 正试图覆盖 /usr/lib/dde-dock/plugins/libonboard.so,它同时被包含于软件包 dde-dock-onboard-plugin 6.0.37
在处理时有错误发生:
 /var/cache/apt/archives/dde-tray-loader_0.0.7_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

deepin 福 ~ 
722 ◯ : sudo apt-get remove dde-dock-onboard-plugin                                                                                                                                                                                    ⏎ [~]
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成               
您也许需要运行“apt --fix-broken install”来修正上面的错误。
下列软件包有未满足的依赖关系:
 libdde-shell : 依赖: dde-tray-loader 但是它将不会被安装
E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt --fix-broken install”(也可以指定一个解决办法)。

执行 sudo apt update && sudo apt dist-upgrade -y 时,报错,要求安装 dde-tray-loader。然而安装它时,又报错说

dpkg: 处理归档 /var/cache/apt/archives/dde-tray-loader_0.0.7_amd64.deb (--unpack)时出错:
正试图覆盖 /usr/lib/dde-dock/plugins/libonboard.so,它同时被包含于软件包 dde-dock-onboard-plugin 6.0.37
在处理时有错误发生:
/var/cache/apt/archives/dde-tray-loader_0.0.7_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

卸载 dde-dock-onboard-plugin 时,又报 sudo apt --fix-broken install

这就死循环了。

Reply Favorite View the author
All Replies
我是昵称
deepin
2024-08-13 21:37
#1

估计最近仓库在调整,以应对正式版发布吧

Reply View the author
忘记、过去
deepin
2024-08-13 21:44
#2
sudo dpkg -P dde-dock-onboard-plugin
sudo apt install -f
Reply View the author
爱开发
deepin
2024-08-13 21:45
#3

使用 sudo dpkg --remove dde-dock-onboard-plugin` 卸载了。

Reply View the author
柠萌~
deepin
2024-08-13 22:15
#4

已读不懂哈哈

Reply View the author
阿尼樱奈奈
Moderator
2024-08-13 22:34
#5

连接超时是deepin那边服务器出问题了,等后面修复吧

Reply View the author
想飞
deepin
2024-08-16 12:07
#6

【8月16日,apt update 超时】

apt-get update
获取:1 https://app-store-files.uniontech.com/240816113047986/appstorev23 beige InRelease [6,100 B]
获取:2 https://app-store-files.uniontech.com/240816113047986/appstorev23 beige/appstore amd64 Packages [666 kB]
忽略:3 https://community-packages.deepin.com/beige beige InRelease
忽略:4 https://community-packages.deepin.com/driver-23 driver InRelease
忽略:3 https://community-packages.deepin.com/beige beige InRelease
忽略:4 https://community-packages.deepin.com/driver-23 driver InRelease
忽略:3 https://community-packages.deepin.com/beige beige InRelease
忽略:4 https://community-packages.deepin.com/driver-23 driver InRelease
错误:3 https://community-packages.deepin.com/beige beige InRelease
无法连接上 community-packages.deepin.com:443 (61.54.25.98),连接超时
错误:4 https://community-packages.deepin.com/driver-23 driver InRelease
不能连接到 community-packages.deepin.com:https:
已下载 672 kB,耗时 37秒 (17.9 kB/s)
正在读取软件包列表... 完成
W: 无法下载 https://community-packages.deepin.com/beige/dists/beige/InRelease 无法连接上 community-packages.deepin.com:443 (61.54.25.98),连接超时
W: 无法下载 https://community-packages.deepin.com/driver-23/dists/driver/InRelease 不能连接到 community-packages.deepin.com:https:
W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。
root@coding:/usr/local/src/mysql-8.3.0/build# apt-get update
命中:1 https://app-store-files.uniontech.com/240816113047986/appstorev23 beige InRelease
忽略:2 https://community-packages.deepin.com/beige beige InRelease
忽略:3 https://community-packages.deepin.com/driver-23 driver InRelease
忽略:2 https://community-packages.deepin.com/beige beige InRelease
忽略:3 https://community-packages.deepin.com/driver-23 driver InRelease
忽略:2 https://community-packages.deepin.com/beige beige InRelease
忽略:3 https://community-packages.deepin.com/driver-23 driver InRelease
错误:2 https://community-packages.deepin.com/beige beige InRelease
无法连接上 community-packages.deepin.com:443 (61.54.25.98),连接超时
错误:3 https://community-packages.deepin.com/driver-23 driver InRelease
不能连接到 community-packages.deepin.com:https:
正在读取软件包列表... 完成
W: 无法下载 https://community-packages.deepin.com/beige/dists/beige/InRelease 无法连接上 community-packages.deepin.com:443 (61.54.25.98),连接超时
W: 无法下载 https://community-packages.deepin.com/driver-23/dists/driver/InRelease 不能连接到 community-packages.deepin.com:https:
W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。
root@coding:/usr/local/src/mysql-8.3.0/build# apt-get update
命中:1 https://app-store-files.uniontech.com/240816113047986/appstorev23 beige InRelease
忽略:2 https://community-packages.deepin.com/beige beige InRelease
忽略:3 https://community-packages.deepin.com/driver-23 driver InRelease
忽略:2 https://community-packages.deepin.com/beige beige InRelease
忽略:3 https://community-packages.deepin.com/driver-23 driver InRelease
忽略:2 https://community-packages.deepin.com/beige beige InRelease
忽略:3 https://community-packages.deepin.com/driver-23 driver InRelease
错误:2 https://community-packages.deepin.com/beige beige InRelease
Could not wait for server fd - select (11: 资源暂时不可用) [IP: 61.54.25.98 443]
错误:3 https://community-packages.deepin.com/driver-23 driver InRelease
Could not wait for server fd - select (11: 资源暂时不可用) [IP: 61.54.25.98 443]
正在读取软件包列表... 完成
W: 无法下载 https://community-packages.deepin.com/beige/dists/beige/InRelease Could not wait for server fd - select (11: 资源暂时�不可用) [IP: 61.54.25.98 443]
W: 无法下载 https://community-packages.deepin.com/driver-23/dists/driver/InRelease Could not wait for server fd - select (11: 资源暂时不可用) [IP: 61.54.25.98 443]
W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。
root@coding:/usr/local/src/mysql-8.3.0/build#
root@coding:/usr/local/src/mysql-8.3.0/build# apt-get install -y cmake
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
将会同时安装下列软件:
cmake-data libjsoncpp25 librhash0
建议安装:
cmake-doc cmake-format elpa-cmake-mode ninja-build
下列【新】软件包将被安装:
cmake cmake-data libjsoncpp25 librhash0
升级了 0 个软件包,新安装了 4 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
需要下载 12.9 MB 的归档。
解压缩后会消耗 49.4 MB 的额外空间。
忽略:1 https://community-packages.deepin.com/beige beige/main amd64 libjsoncpp25 amd64 1.9.5-6
忽略:2 https://community-packages.deepin.com/beige beige/main amd64 librhash0 amd64 1.4.3-3
忽略:3 https://community-packages.deepin.com/beige beige/main amd64 cmake-data all 3.28.3-1
忽略:4 https://community-packages.deepin.com/beige beige/main amd64 cmake amd64 3.28.3-1
忽略:1 https://community-packages.deepin.com/beige beige/main amd64 libjsoncpp25 amd64 1.9.5-6
忽略:2 https://community-packages.deepin.com/beige beige/main amd64 librhash0 amd64 1.4.3-3
忽略:3 https://community-packages.deepin.com/beige beige/main amd64 cmake-data all 3.28.3-1
忽略:4 https://community-packages.deepin.com/beige beige/main amd64 cmake amd64 3.28.3-1
忽略:1 https://community-packages.deepin.com/beige beige/main amd64 libjsoncpp25 amd64 1.9.5-6
忽略:2 https://community-packages.deepin.com/beige beige/main amd64 librhash0 amd64 1.4.3-3
忽略:3 https://community-packages.deepin.com/beige beige/main amd64 cmake-data all 3.28.3-1
忽略:4 https://community-packages.deepin.com/beige beige/main amd64 cmake amd64 3.28.3-1
错误:1 https://community-packages.deepin.com/beige beige/main amd64 libjsoncpp25 amd64 1.9.5-6
无法连接上 community-packages.deepin.com:443 (61.54.25.98),连接超时
错误:2 https://community-packages.deepin.com/beige beige/main amd64 librhash0 amd64 1.4.3-3
不能连接到 community-packages.deepin.com:https:
忽略:3 https://community-packages.deepin.com/beige beige/main amd64 cmake-data all 3.28.3-1
错误:4 https://community-packages.deepin.com/beige beige/main amd64 cmake amd64 3.28.3-1
不能连接到 community-packages.deepin.com:https:
错误:3 https://community-packages.deepin.com/beige beige/main amd64 cmake-data all 3.28.3-1
不能连接到 community-packages.deepin.com:https:
E: 无法下载 https://community-packages.deepin.com/beige/pool/main/libj/libjsoncpp/libjsoncpp25_1.9.5-6_amd64.deb 无法连接上 community-packages.deepin.com:443 (61.54.25.98),连接超时
E: 无法下载 https://community-packages.deepin.com/beige/pool/main/r/rhash/librhash0_1.4.3-3_amd64.deb 不能连接到 community-packages.deepin.com:https:
E: 无法下载 https://community-packages.deepin.com/beige/pool/main/c/cmake/cmake-data_3.28.3-1_all.deb 不能连接到 community-packages.deepin.com:https:
E: 无法下载 https://community-packages.deepin.com/beige/pool/main/c/cmake/cmake_3.28.3-1_amd64.deb 不能连接到 community-packages.deepin.com:https:
E: 有几个软件包无法下载,要不运行 apt-get update 或者加上 --fix-missing 的选项再试试?
root@coding:/usr/local/src/mysql-8.3.0/build# apt-get install -y cmake --fix-missing
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
将会同时安装下列软件:
cmake-data libjsoncpp25 librhash0
建议安装:
cmake-doc cmake-format elpa-cmake-mode ninja-build
下列【新】软件包将被安装:
cmake cmake-data libjsoncpp25 librhash0
升级了 0 个软件包,新安装了 4 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
需要下载 12.9 MB 的归档。
解压缩后会消耗 49.4 MB 的额外空间。
忽略:1 https://community-packages.deepin.com/beige beige/main amd64 libjsoncpp25 amd64 1.9.5-6
忽略:2 https://community-packages.deepin.com/beige beige/main amd64 librhash0 amd64 1.4.3-3
忽略:3 https://community-packages.deepin.com/beige beige/main amd64 cmake-data all 3.28.3-1
忽略:4 https://community-packages.deepin.com/beige beige/main amd64 cmake amd64 3.28.3-1
忽略:1 https://community-packages.deepin.com/beige beige/main amd64 libjsoncpp25 amd64 1.9.5-6
忽略:2 https://community-packages.deepin.com/beige beige/main amd64 librhash0 amd64 1.4.3-3
忽略:3 https://community-packages.deepin.com/beige beige/main amd64 cmake-data all 3.28.3-1
忽略:4 https://community-packages.deepin.com/beige beige/main amd64 cmake amd64 3.28.3-1
忽略:1 https://community-packages.deepin.com/beige beige/main amd64 libjsoncpp25 amd64 1.9.5-6
忽略:2 https://community-packages.deepin.com/beige beige/main amd64 librhash0 amd64 1.4.3-3
忽略:3 https://community-packages.deepin.com/beige beige/main amd64 cmake-data all 3.28.3-1
忽略:4 https://community-packages.deepin.com/beige beige/main amd64 cmake amd64 3.28.3-1
错误:1 https://community-packages.deepin.com/beige beige/main amd64 libjsoncpp25 amd64 1.9.5-6
Could not wait for server fd - select (11: 资源暂时不可用) [IP: 61.54.25.98 443]
错误:2 https://community-packages.deepin.com/beige beige/main amd64 librhash0 amd64 1.4.3-3
Could not wait for server fd - select (11: 资源暂时不可用) [IP: 61.54.25.98 443]
忽略:3 https://community-packages.deepin.com/beige beige/main amd64 cmake-data all 3.28.3-1
错误:4 https://community-packages.deepin.com/beige beige/main amd64 cmake amd64 3.28.3-1
不能连接到 community-packages.deepin.com:https: [IP: 61.54.25.98 443]
错误:3 https://community-packages.deepin.com/beige beige/main amd64 cmake-data all 3.28.3-1
无法连接上 community-packages.deepin.com:443 (61.54.25.98),连接超时 [IP: 61.54.25.98 443]
E: 无法下载 https://community-packages.deepin.com/beige/pool/main/libj/libjsoncpp/libjsoncpp25_1.9.5-6_amd64.deb Could not wait for server fd - select (11: 资源暂时不可用) [IP: 61.54.25.98 443]
E: 无法下载 https://community-packages.deepin.com/beige/pool/main/r/rhash/librhash0_1.4.3-3_amd64.deb Could not wait for server fd - select (11: 资源暂时不可用) [IP: 61.54.25.98 443]
E: 无法下载 https://community-packages.deepin.com/beige/pool/main/c/cmake/cmake-data_3.28.3-1_all.deb 无法连接上 community-packages.deepin.com:443 (61.54.25.98),连接超时 [IP: 61.54.25.98 443]
E: 无法下载 https://community-packages.deepin.com/beige/pool/main/c/cmake/cmake_3.28.3-1_amd64.deb 不能连接到 community-packages.deepin.com:https: [IP: 61.54.25.98 443]
E: Internal Error, ordering was unable to handle the media swap
root@coding:/usr/local/src/mysql-8.3.0/build# apt-get update
命中:1 https://app-store-files.uniontech.com/240816113047986/appstorev23 beige InRelease
忽略:2 https://community-packages.deepin.com/beige beige InRelease
root@coding:/usr/local/src/mysql-8.3.0/build# apt-get update
命中:1 https://app-store-files.uniontech.com/240816113047986/appstorev23 beige InRelease
忽略:2 https://community-packages.deepin.com/beige beige InRelease
忽略:3 https://community-packages.deepin.com/driver-23 driver InRelease
忽略:2 https://community-packages.deepin.com/beige beige InRelease
忽略:3 https://community-packages.deepin.com/driver-23 driver InRelease
忽略:2 https://community-packages.deepin.com/beige beige InRelease
忽略:3 https://community-packages.deepin.com/driver-23 driver InRelease
错误:2 https://community-packages.deepin.com/beige beige InRelease
Could not wait for server fd - select (11: 资源暂时不可用) [IP: 61.54.25.98 443]
错误:3 https://community-packages.deepin.com/driver-23 driver InRelease
无法连接上 community-packages.deepin.com:443 (61.54.25.98),连接超时 [IP: 61.54.25.98 443]
正在读取软件包列表... 完成
W: 无法下载 https://community-packages.deepin.com/beige/dists/beige/InRelease Could not wait for server fd - select (11: 资源暂时不可用) [IP: 61.54.25.98 443]
W: 无法下载 https://community-packages.deepin.com/driver-23/dists/driver/InRelease 无法连接上 community-packages.deepin.com:443 (61.54.25.98),连接超时 [IP: 61.54.25.98 443]
W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。

Reply View the author
空山新雨
deepin
2024-08-16 14:01
#7

同问 问题修复了么?

Reply View the author
爱开发
deepin
2024-08-21 09:10
#8
空山新雨

同问 问题修复了么?

修复了。按地板方式操作。先卸载有问题的那个源,再更新就行了。

Reply View the author