为什么经常会更新失败
Tofloor
poster avatar
卖时间的商人
deepin
2020-08-16 04:50
Author
我把近几天安装的软件都卸载了还是这样
Reply Favorite View the author
All Replies
avatar
═☆两马☆═
deepin
2020-08-16 04:59
#1
一直存在,望能早日修复bug,软件更新可以放在商店里面显示和更新。。。
Reply View the author
avatar
要讲武德
deepin
2020-08-16 04:59
#2
sudo apt update

apt list --upgradable

sudo apt upgrade
Reply View the author
avatar
Ziggy
deepin
2020-08-16 05:00
#3
sudo apt update看报错
Reply View the author
avatar
卖时间的商人
deepin
2020-08-16 05:47
#4
https://bbs.deepin.org/post/199548
sudo apt update看报错

什么错都没报
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
Reply View the author
avatar
Ziggy
deepin
2020-08-16 06:10
#5
https://bbs.deepin.org/post/199548
什么错都没报
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。 ...

截图看看
Reply View the author
avatar
卖时间的商人
deepin
2020-08-16 06:23
#6

抱歉,第一次输成upgrade了
Reply View the author
avatar
Ziggy
deepin
2020-08-16 06:55
#7
删掉第三方源,那是因为网络问题导致
Reply View the author
avatar
deepinuser17
deepin
2020-08-16 07:42
#8
如果只用深度的官方源,升级没有问题.在主要版本升级时,要先删除从第三方源安装的软件,删掉第三方源.因为第三方源安装的软件无法保证升级以后所依赖的软件能够存在,或是继续正常工作.同时第三方源安装的软件也可能阻止深度官方的软件包正常升级.最终结果就是出现各种稀奇古怪的问题,很难彻底排除故障.

升级前用以下命令查看所有安装的软件包是从哪个源安装的:
  1. for p in `dpkg -l | tail -n +6 | awk '{ print $2 }'`; do echo $p; apt-cache policy $p | grep "500 https"; done
Copy the Code
Reply View the author
avatar
卖时间的商人
deepin
2020-08-16 08:13
#9
https://bbs.deepin.org/post/199548
如果只用深度的官方源,升级没有问题.在主要版本升级时,要先删除从第三方源安装的软件,删掉第三方源.因 ...

我不知道什么是第三方源,我什么也没干。(会不会跟星火有关)
Reply View the author
avatar
haohu1193
deepin
2020-08-16 08:28
#10
https://bbs.deepin.org/post/199548
我不知道什么是第三方源,我什么也没干。(会不会跟星火有关)

你挑了个好时间...星火商店每天0点开始刷新服务器...避开这个时间就好了...
Reply View the author
avatar
deepinuser17
deepin
2020-08-16 08:35
#11
本帖最后由 deepinuser17 于 2020-8-16 00:41 编辑

星火就是一个第三方源.查看/etc/apt/sources.list.d文件夹,里面会有一个星火源的文件.第三方指的就是这个.

看看这个帖子,类似的问题因为星火提供的软件在深度官方源里没有依赖包. 

https://bbs.deepin.org/post/199386

安装第三方源,以及从第三方源安装软件可能会有意想不到的问题.使用第三方源要先了解可能产生的后果再决定是否使用.

第三方源的软件包一般比较激进,会有兼容,稳定性的问题.用户自己必须要有较强的Linux, 深度操作系统知识和经验才能应对可能出现的问题.


Reply View the author
avatar
卖时间的商人
deepin
2020-08-16 15:47
#12
haohu1193 发表于 2020-8-16 00:28
你挑了个好时间...星火商店每天0点开始刷新服务器...避开这个时间就好了... ...

我这个帖子是晚上八点多发的
Reply View the author
avatar
不会开车有驾照
deepin
2020-08-16 16:22
#13
怀疑你升级过内核
Reply View the author
avatar
ddjxz
deepin
2020-08-16 16:38
#14
不要乱操作,乱操作是很有可能出错的。
Reply View the author
avatar
卖时间的商人
deepin
2020-08-16 16:42
#15
本帖最后由 sjq111111 于 2020-8-16 08:44 编辑
https://bbs.deepin.org/post/199548
怀疑你升级过内核

在星火的设置里换了下那什么源,又好了。我连什么是内核都不知道怎么升级
Reply View the author
avatar
young999888
deepin
2020-08-16 17:39
#16
我今天也这样
Reply View the author
avatar
young999888
deepin
2020-08-16 17:43
#17
我在星火设置里更新了源,难道是这个原因?
Reply View the author