我已经放弃了fglrx从我的笔记本,回到免费司机,但xfce4电源经理未能开始。是已知臭虫
我得到了适当的源代码,应用补丁,构建和安装它。现在一切都很好,我已经向debian报告了这个bug。但是现在我想保留这个包来防止升级一段时间。
我知道笨手笨脚的方法是撞包构建版本部分。例如,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这个是可能的吗?我在文档里找不到这个
发布于 2014-05-14 04:20:18
使用"run“或"now”作为源应该有效:
Package: xfce4-power-manager
Pin: release o=now
Pin-priority: 1001发布于 2012-02-17 06:00:09
直接从手册页(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我相信这就是你要找的。我从来没有用钉钉来做这件事,所以我不确定这是否解决了你的问题。
发布于 2019-04-30 13:51:12
apt的最新版本(在Debian9.8上测试,拉伸)支持安装本地deb,只要配置的回购不能提供同名的deb,在这种情况下最好使用回购版本。例如,在从本地apt配置中注释掉相关回购后,这对我来说是可行的:
sudo apt install ./packagename_0.0.1_all.debapt确实需要./前缀或完整路径来查找本地文件。
https://stackoverflow.com/questions/9165770
复制相似问题