从deepin15.11升级到v20(过期)
Tofloor
poster avatar
136******10
deepin
2020-04-24 01:11
Author
本帖最后由 sandee 于 2020-8-10 09:35 编辑

官方已经出了更新源,请按官方地址进行操作,此贴已过时!!!
官帖地址:https://bbs.deepin.org/post/198112#page%3D1



v20出来后就想把系统更新,目前的系统是15.11的,心想应该能从deepin15.11升级到v20。
既然都是deepin的系统,感觉换源就可以了。
于是一番操作后,顺利实现升级,具体如下:
换源,在 /etc/apt 下打开sources.list  增加v20 的源,其他的用#注释掉:
deb [by-hash=force] https://community-packages.deepin.com/deepin/ apricot main contrib non-free
保存之后,在终端输入
sudo apt-get update
sudo apt-get upgrade
更新,之后一路 yes或者确定,直到






重启
之后再
sudo apt-get update
sudo apt-get upgrade
之后会发现系统提示仍由软件包未升级
使用
sudo apt list --upgradable
查看这些包,之后再升级
sudo apt upgrade
重启,然后一路Y 不要默认

最后进入系统后,再更新一次
sudo apt-get update
sudo apt-get upgrade
建议用系统自带的更新按钮

Reply Favorite View the author
All Replies
1 / 2
To page
avatar
lookfor
deepin
2020-04-24 01:19
#1
v20 Beta 警告
Reply View the author
avatar
136******10
deepin
2020-04-24 01:22
#2

警告什么
Reply View the author
avatar
lookfor
deepin
2020-04-24 01:25
#3

现在不是正式版,正式版发布之后可以直接更新,不需要手动换源。
Reply View the author
avatar
犇牛
deepin
2020-04-24 03:34
#4
本帖最后由 jiao 于 2020-4-23 19:35 编辑

sudo apt-get upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
正在计算更新... 完成
下列软件包将被升级:
  opera-stable
升级了 1 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 2 个软件包没有被完全安装或卸载。
需要下载 67.4 MB 的归档。
解压缩后将会空出 2,985 kB 的空间。
您希望继续执行吗? [Y/n] y
获取:1 https://deb.opera.com/opera-stable stable/non-free amd64 opera-stable amd64 68.0.3618.46 [67.4 MB]
已下载 67.4 MB,耗时 5分 18秒 (212 kB/s)                                                                              
正在预设定软件包 ...
(正在读取数据库 ... 系统当前共安装有 454519 个文件和目录。)
准备解压 .../opera-stable_68.0.3618.46_amd64.deb  ...
正在解压 opera-stable (68.0.3618.46) 并覆盖 (67.0.3575.137) ...
正在设置 opera-stable (68.0.3618.46) ...
正在设置 mincores-dkms (0.2.4+c1-1) ...
Removing old mincores-0.2.0 DKMS files...

------------------------------
Deleting module version: 0.2.0
completely from the DKMS tree.
------------------------------
Done.
Loading new mincores-0.2.0 DKMS files...
Building for 5.4.22-050422-generic
Building initial module for 5.4.22-050422-generic
Error! Bad return status for module build on kernel: 5.4.22-050422-generic (x86_64)
Consult /var/lib/dkms/mincores/0.2.0/build/make.log for more information.
dpkg: 处理软件包 mincores-dkms (--configure)时出错:
已安装 mincores-dkms 软件包 post-installation 脚本 子进程返回错误状态 10
dpkg: 依赖关系问题使得 warm-sched 的配置工作不能继续:
warm-sched 依赖于 mincores-dkms;然而:
  软件包 mincores-dkms 尚未配置。

dpkg: 处理软件包 warm-sched (--configure)时出错:
依赖关系问题 - 仍未被配置
正在处理用于 desktop-file-utils (0.23-4) 的触发器 ...
正在处理用于 mime-support (3.62) 的触发器 ...
正在处理用于 hicolor-icon-theme (0.17-2) 的触发器 ...
正在处理用于 lastore-daemon (5.0.6-1) 的触发器 ...
正在处理用于 shared-mime-info (1.10-1) 的触发器 ...
正在处理用于 bamfdaemon (0.5.4-1) 的触发器 ...
Rebuilding /usr/share/applications/bamf-2.index...
在处理时有错误发生:
mincores-dkms
warm-sched
E: Sub-process /usr/bin/dpkg returned an error code (1)


15.11 升级上来的 , 一直是这个错误
Reply View the author
avatar
犇牛
deepin
2020-04-24 03:36
#5
https://bbs.deepin.org/post/192732
sudo apt-get upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      

sudo apt autoremove
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 2 个软件包没有被完全安装或卸载。
解压缩后会消耗 0 B 的额外空间。
正在设置 mincores-dkms (0.2.4+c1-1) ...
Removing old mincores-0.2.0 DKMS files...

------------------------------
Deleting module version: 0.2.0
completely from the DKMS tree.
------------------------------
Done.
Loading new mincores-0.2.0 DKMS files...
Building for 5.4.22-050422-generic
Building initial module for 5.4.22-050422-generic
Error! Bad return status for module build on kernel: 5.4.22-050422-generic (x86_64)
Consult /var/lib/dkms/mincores/0.2.0/build/make.log for more information.
dpkg: 处理软件包 mincores-dkms (--configure)时出错:
已安装 mincores-dkms 软件包 post-installation 脚本 子进程返回错误状态 10
dpkg: 依赖关系问题使得 warm-sched 的配置工作不能继续:
warm-sched 依赖于 mincores-dkms;然而:
  软件包 mincores-dkms 尚未配置。

dpkg: 处理软件包 warm-sched (--configure)时出错:
依赖关系问题 - 仍未被配置
在处理时有错误发生:
mincores-dkms
warm-sched
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reply View the author
avatar
gzhunter
deepin
2020-04-24 05:12
#6
直接新安装,一步到位,方便快捷。
Reply View the author
avatar
WangZhongyun
deepin
2020-04-24 05:34
#7
https://bbs.deepin.org/post/192732
sudo apt autoremove
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      

可能是原来安装了显卡私有驱动,现在的系统不能配置吧,能用就先别管吧
Reply View the author
avatar
shelock
deepin
2020-05-02 08:43
#8
https://bbs.deepin.org/post/192732
sudo apt-get upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      

sudo systemctl restart cups.service
再繼續升級
Reply View the author
avatar
MarioAi
deepin
2020-05-02 09:05
#9
提示:采用此方法的人若不知道bug产生原因,请勿提交bug反馈以免影响正常bug反馈!!!
Reply View the author
avatar
左瞳
deepin
2020-05-14 00:06
#10
升级成功了,赞!
Reply View the author
avatar
浩然
deepin
2020-05-14 01:11
#11
感觉没必要吧。。beta你懂得
我目前是两个系统都有 15.11和v20分别安装在不同的硬盘,暂时发觉v20还有点小问题。。希望正式版会更好吧。比如软件比15.11少了一部分。
Reply View the author
avatar
159******98
deepin
2020-05-21 23:21
#12
我是从15.11平滑升到v20的,升级倒是成功了,应用商店连不上网,重装是php7.3,变成了phpmyadmin,jsp是apache用libapache-mod-jk连不上tomcat
Reply View the author
avatar
sumhe
deepin
2020-07-05 18:17
#13
升级v20完成后,系统老提示未激活,咋解决
Reply View the author
avatar
songteng
deepin
2020-08-07 22:54
#14
(base) songteng@songteng-PC:~$ sudo apt-get upgrade 正在读取软件包列表... 完成 正在分析软件包的依赖关系树        正在读取状态信息... 完成        正在计算更新... 完成 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。 有 9 个软件包没有被完全安装或卸载。 解压缩后会消耗 0 B 的额外空间。 您希望继续执行吗? [Y/n] Y 正在设置 dde-daemon (5.10.0100.0-1) ... 7arPb/dpkg/info/dde-daemon.postinst: 4: /etc/default/grub: quiet: not found dpkg: 处理软件包 dde-daemon (--configure)时出错:  已安装 dde-daemon 软件包 post-installation 脚本 子进程返回错误状态 127 正在设置 linux-image-5.3.0-3-amd64-unsigned (5.3.15-6apricot) ... /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-5.3.0-3-amd64 cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries      nor crypto modules. If that's on purpose, you may want to uninstall the      'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs      integration and avoid this warning. I: The initramfs will attempt to resume from /dev/sda2 I: (UUID=c508edce-16be-44fd-87b1-106aa08e03d8) I: Set the RESUME variable to override this. /etc/kernel/postinst.d/reconfigure-dde-daemon: fix systemd/logind config /etc/kernel/postinst.d/zz-update-grub: /usr/sbin/grub-mkconfig: 4: /etc/default/grub: quiet: not found run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127 dpkg: 处理软件包 linux-image-5.3.0-3-amd64-unsigned (--configure)时出错:  已安装 linux-image-5.3.0-3-amd64-unsigned 软件包 post-installation 脚本 子进程返回错误状态 1 dpkg: 依赖关系问题使得 dde-session-shell 的配置工作不能继续:  dde-session-shell 依赖于 dde-daemon;然而:   软件包 dde-daemon 尚未配置。  dpkg: 处理软件包 dde-session-shell (--configure)时出错:  依赖关系问题 - 仍未被配置 dpkg: 依赖关系问题使得 dde-control-center 的配置工作不能继续:  dde-control-center 依赖于 dde-daemon;然而:   软件包 dde-daemon 尚未配置。  dpkg: 处理软件包 dde-control-center (--configure)时出错:  依赖关系问题 - 仍未被配置 正在设置 grub-efi-amd64 (2.02.18-1+eagle) ... 7arPb/dpkg/info/grub-efi-amd64.config: 4: /etc/default/grub: quiet: not found dpkg: 处理软件包 grub-efi-amd64 (--configure)时出错:  已安装 grub-efi-amd64 软件包 post-installation 脚本 子进程返回错误状态 127 dpkg: 依赖关系问题使得 linux-image-deepin-amd64 的配置工作不能继续:  linux-image-deepin-amd64 依赖于 linux-image-5.3.0-3-amd64-unsigned (= 5.3.15-6apricot);然而:   软件包 linux-image-5.3.0-3-amd64-unsigned 尚未配置。  dpkg: 处理软件包 linux-image-deepin-amd64 (--configure)时出错:  依赖关系问题 - 仍未被配置 dpkg: 依赖关系问题使得 startdde 的配置工作不能继续:  startdde 依赖于 dde-daemon (>> 3.24.1+);然而:   软件包 dde-daemon 尚未配置。  dpkg: 处理软件包 startdde (--configure)时出错:  依赖关系问题 - 仍未被配置 dpkg: 依赖关系问题使得 dde-session-ui 的配置工作不能继续:  dde-session-ui 依赖于 dde-daemon;然而:   软件包 dde-daemon 尚未配置。  dde-session-ui 依赖于 dde-session-shell;然而:   软件包 dde-session-shell 尚未配置。  dpkg: 处理软件包 dde-session-ui (--configure)时出错:  依赖关系问题 - 仍未被配置 dpkg: 依赖关系问题使得 dde-clipboard 的配置工作不能继续:  dde-clipboard 依赖于 dde-daemon;然而:   软件包 dde-daemon 尚未配置。  dpkg: 处理软件包 dde-clipboard (--configure)时出错:  依赖关系问题 - 仍未被配置 在处理时有错误发生:  dde-daemon  linux-image-5.3.0-3-amd64-unsigned  dde-session-shell  dde-control-center  grub-efi-amd64  linux-image-deepin-amd64  startdde  dde-session-ui  dde-clipboard E: Sub-process /usr/bin/dpkg returned an error code (1) (base) songteng@songteng-PC:~$
Reply View the author
avatar
songteng
deepin
2020-08-07 22:54
#15
大哥们求帮忙
Reply View the author
avatar
qywl19179121935
deepin
2020-08-07 23:30
#16
我是系统升级之后把我之前安装的谷歌浏览器强制卸载了,结果我又得换过一个浏览器用用了,想想为了稳定还是用系统自带的吧,因为我又得弄一遍浏览器插件
Reply View the author
avatar
153******66
deepin
2020-08-08 00:52
#17
我是升级挂了.重新装了v20 Beta了. 从11.5上来, 表现为登录之后, 桌面仅显示一半, 下半部分黑色, 桌面分辨率没问题.
主要是升级过程中出现了几次磁盘空间不足. 被迫中止, 我清理磁盘之后再继续, 虽然通过了. 但是重启之后就屏幕有问题. 只好重装了.
Reply View the author
avatar
残念
deepin
2020-08-08 01:10
#18
https://bbs.deepin.org/post/192732
我是系统升级之后把我之前安装的谷歌浏览器强制卸载了,结果我又得换过一个浏览器用用了,想想为了稳定还是 ...

直接重装呗,原来的数据又没删
Reply View the author
avatar
chenjunan0724
deepin
2020-08-08 03:58
#19
求救:
错误:4 https://community-store-packages.deepin.com/appstore eagle InRelease                  
  由于没有公钥,无法验证下列签名: NO_PUBKEY 1C30362C0A53D5BB
W: GPG 错误:https://community-store-packages.deepin.com/appstore eagle InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 1C30362C0A53D5BB
E: 仓库 “https://community-store-packages.deepin.com/appstore eagle InRelease” 没有数字签名。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
Reply View the author
avatar
chenjunan0724
deepin
2020-08-08 04:05
#20
https://bbs.deepin.org/post/192732
求救:
错误:4 https://community-store-packages.deepin.com/appstore eagle InRelease                    ...

百度解决了。。。。
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1C30362C0A53D5BB   
Reply View the author
1 / 2
To page