[Share Experiences] better-dde 更新,这次干掉了 python2
Tofloor
poster avatar
deepin-superuser
deepin
2022-07-13 04:34
Author

早就想干掉 python2 了,但是卸载 python2 会同时卸载文件管理器。今天捋了一下依赖关系,发现文件管理器依赖 samba, samba 依赖 python2。所以我们只需要去掉 samba 对 python2 的依赖即可。尝试编译安装最新版 samba 后卸载 python2,一切正常。相关软件包已经上传到 better-dde 中

操作步骤

1.添加 better-dde 的源

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

wget -q -O - https://better-dde.github.io/ppa/better-dde.gpg | sudo apt-key add -
sudo sh -c 'echo "deb https://better-dde.github.io/ppa/ ./" > /etc/apt/sources.list.d/better-dde.list'

2.更新

sudo apt update && sudo apt dist-upgrade

3.卸载 python2

sudo apt autoremove libpython2* --purge

Nice

Reply Favorite View the author
All Replies
1 / 2
To page
liwl
deepin
2022-07-13 04:46
#1

agree kissing_heart

Reply View the author
安洛
deepin
2022-07-13 06:30
#2

可惜我这里有些奇葩老软件还需要python2

Reply View the author
阿顺呀
deepin
2022-07-13 06:40
#3

毛玻璃的背景 不能是当前壁纸吗

Reply View the author
老咸鱼
deepin
2022-07-13 09:52
#4

我正式版20.6更新过,文件管理器设置里是英文的,设置中心/个性化/任务栏没了

现在好了没有

还是说只有我一个这样的

Reply View the author
fslong
deepin
2022-07-13 14:59
#5

我怎么感觉干掉Python2之后电脑都快了不少

Reply View the author
deepin-superuser
deepin
2022-07-13 16:39
#6
老咸鱼

我正式版20.6更新过,文件管理器设置里是英文的,设置中心/个性化/任务栏没了

现在好了没有

还是说只有我一个这样的

文件管理器英文那个修好了 其他的就不知道了

Reply View the author
deepin-superuser
deepin
2022-07-13 16:41
#7
fslong

我怎么感觉干掉Python2之后电脑都快了不少

居然还有这好处tail

Reply View the author
deepin-superuser
deepin
2022-07-13 16:42
#8
安洛

可惜我这里有些奇葩老软件还需要python2

确实很可惜

Reply View the author
deepin-superuser
deepin
2022-07-13 16:43
#9
阿顺呀

毛玻璃的背景 不能是当前壁纸吗

你切换一下壁纸就应该可以了

Reply View the author
阿顺呀
deepin
2022-07-13 16:56
#10
deepin-superuser

你切换一下壁纸就应该可以了

不行 试过了 默认还是开机启动界面那张绿色的

无论是 锁屏还是 打开启动器

image.png

Reply View the author
deepin-superuser
deepin
2022-07-13 17:02
#11
阿顺呀

不行 试过了 默认还是开机启动界面那张绿色的

无论是 锁屏还是 打开启动器

image.png

我这边两台电脑都没问题 不清楚你那里什么情况了

Reply View the author
是大橙子呀
deepin
2022-07-13 19:29
#12
阿顺呀

不行 试过了 默认还是开机启动界面那张绿色的

无论是 锁屏还是 打开启动器

image.png

不嫌麻烦可以替换/usr/share/wallpapers/deepin/desktop.jpg这个文件

Reply View the author
liuyongjin1987
deepin
2022-07-13 22:04
#13

大佬,国内源还能用吗

Reply View the author
deepin-superuser
deepin
2022-07-13 23:05
#14
liuyongjin1987

大佬,国内源还能用吗

可以

Reply View the author
风吹过的绿洲
deepin
2022-07-25 07:48
#15
正在卸载 libxpm4:i386 (1:3.5.12-1) ...
正在卸载 libxshmfence1:i386 (1.3-1) ...
正在卸载 libxvidcore4:i386 (2:1.3.5-1) ...
正在卸载 ocl-icd-libopencl1:i386 (2.2.12-2) ...
正在卸载 udis86:i386 (1.72-4) ...
正在卸载 libllvm11:i386 (1:11.0.1-2) ...
正在卸载 libatomic1:i386 (8.3.0.3-3+rebuild) ...
正在卸载 libglib2.0-0:i386 (2.58.3.7-1+eagle) ...
正在卸载 libmount1:i386 (2.33.1-0.1) ...
正在卸载 libblkid1:i386 (2.33.1-0.1) ...
正在卸载 libfreetype6:i386 (2.10.4+dfsg-1) ...
正在卸载 libbrotli1:i386 (1.0.7.1-1+eagle) ...
正在卸载 libdrm-amdgpu1:i386 (2.4.104-1) ...
正在卸载 libedit2:i386 (3.1-20181209-1) ...
正在卸载 libselinux1:i386 (2.8.1-1+rebuild) ...
正在卸载 libpcre3:i386 (2:8.39.2-12+dde2) ...
正在卸载 libpng16-16:i386 (1.6.36.2-2+dde) ...
正在卸载 libstdc++6:i386 (8.3.0.3-3+rebuild) ...
正在卸载 libtinfo6:i386 (6.1+20181013.1-1+dde+rb2) ...
正在处理用于 glx-alternative-mesa (1.2.0-1-1+eagle) 的触发器 ...
update-alternatives: 警告: 链接组 glx 已损坏,故强制重新安装候选项 /usr/lib/nvidia
update-alternatives: 警告: 跳过创建 /usr/lib/i386-linux-gnu/libGL.so.1 因为所关联文件 /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 (位于链接组 glx)不存在
正在处理用于 man-db (2.8.5-2) 的触发器 ...
正在处理用于 libc-bin (2.28.19-1+dde) 的触发器 ...

大佬,32位应用是你干掉的吗? 有没有风险啊,都出来警告了

Reply View the author
风吹过的绿洲
deepin
2022-07-25 07:49
#16

github.io 需要科学上网才能使用,能使用码云gitee吗

Reply View the author
deepin-superuser
deepin
2022-07-25 16:47
#17
风吹过的绿洲
正在卸载 libxpm4:i386 (1:3.5.12-1) ...
正在卸载 libxshmfence1:i386 (1.3-1) ...
正在卸载 libxvidcore4:i386 (2:1.3.5-1) ...
正在卸载 ocl-icd-libopencl1:i386 (2.2.12-2) ...
正在卸载 udis86:i386 (1.72-4) ...
正在卸载 libllvm11:i386 (1:11.0.1-2) ...
正在卸载 libatomic1:i386 (8.3.0.3-3+rebuild) ...
正在卸载 libglib2.0-0:i386 (2.58.3.7-1+eagle) ...
正在卸载 libmount1:i386 (2.33.1-0.1) ...
正在卸载 libblkid1:i386 (2.33.1-0.1) ...
正在卸载 libfreetype6:i386 (2.10.4+dfsg-1) ...
正在卸载 libbrotli1:i386 (1.0.7.1-1+eagle) ...
正在卸载 libdrm-amdgpu1:i386 (2.4.104-1) ...
正在卸载 libedit2:i386 (3.1-20181209-1) ...
正在卸载 libselinux1:i386 (2.8.1-1+rebuild) ...
正在卸载 libpcre3:i386 (2:8.39.2-12+dde2) ...
正在卸载 libpng16-16:i386 (1.6.36.2-2+dde) ...
正在卸载 libstdc++6:i386 (8.3.0.3-3+rebuild) ...
正在卸载 libtinfo6:i386 (6.1+20181013.1-1+dde+rb2) ...
正在处理用于 glx-alternative-mesa (1.2.0-1-1+eagle) 的触发器 ...
update-alternatives: 警告: 链接组 glx 已损坏,故强制重新安装候选项 /usr/lib/nvidia
update-alternatives: 警告: 跳过创建 /usr/lib/i386-linux-gnu/libGL.so.1 因为所关联文件 /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 (位于链接组 glx)不存在
正在处理用于 man-db (2.8.5-2) 的触发器 ...
正在处理用于 libc-bin (2.28.19-1+dde) 的触发器 ...

大佬,32位应用是你干掉的吗? 有没有风险啊,都出来警告了

显然不是啊

Reply View the author
deepin-superuser
deepin
2022-07-25 16:47
#18
风吹过的绿洲

github.io 需要科学上网才能使用,能使用码云gitee吗

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

这个帖子里有个国内加速

Reply View the author
1***4@163.com
deepin
2022-11-12 05:28
#19

请问下这是啥原因,操作不对吗

截图_deepin-terminal_20221111212208.png

Reply View the author
deepin-superuser
deepin
2022-11-13 16:57
#20
1***4@163.com

请问下这是啥原因,操作不对吗

截图_deepin-terminal_20221111212208.png

不用管 一行一行执行就可以

Reply View the author
1 / 2
To page