gpt4 book ai didi

debian - apt 偏好引脚 : origin local?

转载 作者:行者123 更新时间:2023-12-04 15:47:20 25 4
gpt4 key购买 nike

我已经从笔记本中删除了 fglrx 并返回到免费驱动程序,但 xfce4-power-manager 无法启动。这是一个 known bug

我得到了 apt-get 源代码,应用了补丁,构建并安装了它。现在一切正常,我已将此错误报告给 debian。但现在我想持有这个包以防止升级一段时间

我知道笨拙的方法是撞包构建版本部分。例如 1.0.10- 5 然后按版本保存包:

Package: xfce4-power-manager
Pin: version 1.0.10-5
Pin-priority: 1001

我认为最好的方法是按原点保存包裹:
Package: xfce4-power-manager
Pin: origin "local origin?"
Pin-priority: 1001

这可能吗?我在文档中找不到这个

最佳答案

直接来自手册页(man 5 apt_preferences):

       This general-form entry in the APT preferences file applies only to
groups of packages. For example, the following record assigns a
high priority to all package versions available from the local
site.

Package: *
Pin: origin ""
Pin-Priority: 999

我相信这就是你正在寻找的。我从未使用固定来做到这一点,所以我不确定这是否能解决您的问题。

关于debian - apt 偏好引脚 : origin local?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9165770/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com