2012-02-06 289 views
6

我已經從筆記本中刪除fglrx並返回到免費的驅動程序,但xfce4-power-manager無法啓動。這是一個known bugapt偏好pin:origin本地?

我得到apt-get源,應用補丁,建立和安裝它。現在都完美了,我已經向debian報告了這個bug。但現在我想持有這個包,以防止升級一段時間

我知道笨拙的方式是衝擊包版本部分。例如1.0.10- ,然後通過一個版本保持包:

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

我認爲最好的辦法是通過原產地舉辦包:

Package: xfce4-power-manager 
Pin: origin "local origin?" 
Pin-priority: 1001 

這可能嗎?我不能在文檔發現這個從該名男子頁

回答

1

使用 「運行」 或 「現在」 爲原點應該工作:

Package: xfce4-power-manager 
Pin: release o=now 
Pin-priority: 1001 
1

直(男子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 

我相信這是你在找什麼。我從來沒有使用固定來做到這一點,所以我不知道這是否能解決您的問題。

+1

不工作... – LtWorf 2013-09-11 21:44:52