如何修改Debian release - Linux

By Adele
at 2011-05-07T02:25
at 2011-05-07T02:25
Table of Contents
本來我是用Debian testing用得很愉快
今天在做aptitute full-upgrade的時候,發現它下了很多unstable套件
心覺有異,果然一查,default release變成 unstable 了 @_@
$lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux unstable (sid)
Release: unstable
Codename: sid
我的source.list中是有放進unstable的repo,但這是為了有時候想選擇
部分安裝unstable套件用的。default release仍是希望保持在testing
為此我當初安裝系統時就已在preferences設定
Package: *
Pin: release a=testing
Pin-Priority: 800
Package: *
Pin: release a=unstable
Pin-Priority: 600
這樣用了很久都沒事。
問題發生時我並沒有 /etc/apt/apt.conf 這個檔案,
如果新建一個並在裡頭填上 APT::Default-Release "testing"; 問題還是未解決
請問有辦法將default release改回testing嗎?
那一個設定檔是控制default release的? (或是影響lsb的顯示結果的?)
感謝您的回答
--
今天在做aptitute full-upgrade的時候,發現它下了很多unstable套件
心覺有異,果然一查,default release變成 unstable 了 @_@
$lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux unstable (sid)
Release: unstable
Codename: sid
我的source.list中是有放進unstable的repo,但這是為了有時候想選擇
部分安裝unstable套件用的。default release仍是希望保持在testing
為此我當初安裝系統時就已在preferences設定
Package: *
Pin: release a=testing
Pin-Priority: 800
Package: *
Pin: release a=unstable
Pin-Priority: 600
這樣用了很久都沒事。
問題發生時我並沒有 /etc/apt/apt.conf 這個檔案,
如果新建一個並在裡頭填上 APT::Default-Release "testing"; 問題還是未解決
請問有辦法將default release改回testing嗎?
那一個設定檔是控制default release的? (或是影響lsb的顯示結果的?)
感謝您的回答
--
Tags:
Linux
All Comments

By Faithe
at 2011-05-08T21:05
at 2011-05-08T21:05

By Daph Bay
at 2011-05-13T20:41
at 2011-05-13T20:41
Related Posts
PING IP全通,但即使用IP上網也會失敗

By Megan
at 2011-05-06T23:30
at 2011-05-06T23:30
安裝時could not find kernel image

By Edward Lewis
at 2011-05-06T21:50
at 2011-05-06T21:50
XP下直接從硬碟安裝ubuntu11.04

By Tristan Cohan
at 2011-05-06T17:34
at 2011-05-06T17:34
有人用過 k10temp 嗎?

By Catherine
at 2011-05-06T16:32
at 2011-05-06T16:32
網路連不出去問題 (兩張網卡)

By Elvira
at 2011-05-06T14:16
at 2011-05-06T14:16