[Seek Help] apt 指定软件源优先级疑问
Tofloor
poster avatar
deepin-superuser
deepin
2022-02-06 17:09
Author

深度软件源和第三方源中都有 bcompare 这个软件,但是默认情况下深度源的优先级比较高,会默认安装深度源里边的。

使用 sudo sh -c 'echo "Package: bcompare\nPin: origin www.scootersoftware.com\nPin-Priority: 1100" > /etc/apt/preferences.d/scootersoftware'设置源优先级后确实安装了第三方源中版本,但是每次更新都会提示降级,求解决方法

image.png

image.png

Reply Favorite View the author
All Replies
andktan
deepin
2022-02-06 17:30
#1

还要求降级,晕了,是不是软件新了匹配不了了confused

Reply View the author
deepin-superuser
deepin
2022-02-06 17:45
#2
andktan

还要求降级,晕了,是不是软件新了匹配不了了confused

不知道啊,看样子虽然安装上了第三方源里边的,但是每次候选的还是官方源 所以虽然版本一样 但还是要求降级

Reply View the author
beavailable
deepin
2022-02-06 18:17
#3

把官方源的 Pin-Priority 设为 -1 应该就好了,另一个 Pin-Priority 可以删掉。

Reply View the author
deepin-superuser
deepin
2022-02-06 18:22
#4
beavailable

把官方源的 Pin-Priority 设为 -1 应该就好了,另一个 Pin-Priority 可以删掉。

亲测不行

image.png

Reply View the author
beavailable
deepin
2022-02-06 20:34
#5
deepin-superuser

亲测不行

image.png

那应该就是 bug 了

Reply View the author
babyfengfjx
Super Moderator
CQA
2022-02-17 16:52
#6

这个有啥新的研究么?

Reply View the author
deepin-superuser
deepin
2022-02-17 16:57
#7
babyfengfjx

这个有啥新的研究么?

没有 我暂时放弃了

Reply View the author