如何修改Debian release - Linux

Adele avatar
By Adele
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的顯示結果的?)

感謝您的回答

--
Tags: Linux

All Comments

Faithe avatar
By Faithe
at 2011-05-08T21:05
結果好像是repo (debian.csie.ntu.edu.tw)的問題 今天就好了
Daph Bay avatar
By Daph Bay
at 2011-05-13T20:41
lsb也顯示testing 不過我不懂為啥lsb的顯示跟apt repo有關?

PING IP全通,但即使用IP上網也會失敗

Megan avatar
By Megan
at 2011-05-06T23:30
: 推 WolfLord:TRY /etc/init.d/iptables stop 05/06 01:43 這位置不存在,我的iptables是在/sbin/iptables 而且沒有stop的參數 我的kernel 2.6.26-2-untangle-68 ...

安裝時could not find kernel image

Edward Lewis avatar
By Edward Lewis
at 2011-05-06T21:50
各位前輩好 我最近開始接觸ubuntu,前幾天有用USB成功把ubuntu10.10灌到一台小筆電裡 (我是用Universal USB Installer製作USB的) 但我今天用一樣的方法,想用USB在我的桌電上裝double os(xp andamp; ubuntu10.10), 安裝時卻出現: ...

XP下直接從硬碟安裝ubuntu11.04

Tristan Cohan avatar
By Tristan Cohan
at 2011-05-06T17:34
最近在對岸論壇看到的 轉過來 很多用語是對岸的 見諒 圖文版http://www.badongo.com/cn/file/25382456 ‧ 11.04出來了,就第一時間進行了體驗,用的臺式wubi了下感覺還可以,又聽說11.04 的安裝過程有更改,在10.10所有資料歸檔後,在XP下進行了 ...

有人用過 k10temp 嗎?

Catherine avatar
By Catherine
at 2011-05-06T16:32
我在 Ubuntu 10.04 編譯了 k10temp 來測量 CPU 溫度。 量到的溫度大多在 24度C 到 29度C 之間。 一開始我以為這個模組有 bug,後來看到文件說 k10temp 量到的是相對溫度。 現在問題是不知道要如何調整 offset 才會是實際的溫度,有人知道嗎? ...

網路連不出去問題 (兩張網卡)

Elvira avatar
By Elvira
at 2011-05-06T14:16
nslookup 的結果... 如果我單用eth1是可以正常的, 但是eth0兩個介面一起開,就有問題 [rootatlocalhost ~]# nslookup www.google.com.tw ;; connection timed out; no servers could be reached ...