如何禁止单个软件升级
Tofloor
poster avatar
whoam1
deepin
2018-08-21 18:15
Author
15.7系统可以升级单个软件了,但是我有的软件不想升级,或者升级后的新版本有问题,装旧版本后,每次系统更新都更新这个软件?有什么好方法吗?
Reply Favorite View the author
All Replies
avatar
185******32
deepin
2018-08-21 18:26
#1
sudo echo "你不想升级的软件 hold" | sudo dpkg --set-selections
例如

sudo echo "vim hold" |sudo dpkg --set-selections
Reply View the author
avatar
Island
deepin
2018-08-21 18:31
#2
应用和系统没有分离,冻结部分软件版本会影响到系统升级。
Reply View the author
avatar
h3l
deepin
2018-08-21 18:34
#3
简单点的使用 apt-mark
复杂点的,可以看下
https://github.com/hhlh3l/hold-pkg
Reply View the author
avatar
whoam1
deepin
2018-08-21 18:35
#4
https://bbs.deepin.org/post/167415
sudo echo "你不想升级的软件 hold" | sudo dpkg --set-selections
例如

输入后是检测不到更新了,还是升级时跳过?
Reply View the author
avatar
185******32
deepin
2018-08-21 23:04
#5
https://bbs.deepin.org/post/167415
输入后是检测不到更新了,还是升级时跳过?

有更新, 但是不会执行更新动作, hold住了,
Reply View the author