我使用 W 大的快速改機係統檔改裝 LinkStation
這個係統檔使用 Debian 的 testing 版本,雖然 testing 版本內的套件比較新
而且品質與穩定度其實已經很接近 stable
(關於 Debian 的版本哲學請參考這篇文章)
不過因為我自己的個人偏好,還是習慣用 Debian 的 stable 版
所以仍然試著將 Debian 降回 stable,以下提供我的步驟給有需要者作為參考:
警告:雖然我自己沒有遇過,不過我認為這種更改版本的動作有可能會導致係統某個功能發生問題,所以後果請自行負責 tongue.gif
1. 建立 /etc/apt/preferences 檔
使用文書編輯器建立 /etc/apt/preferences 檔,內容如下:
引用
Package: *
Pin: release a=stable
Pin-Priority: 1001
2. 修改 /etc/apt/sources.list 檔
開啟 /etc/apt/sources.list 檔,刪除原有內容,輸入下麵新設定:
引用
deb http://debian.linux.org.tw/debian stable main non-free contrib
deb http://debian.linux.org.tw/debian-non-US stable/non-US main non-free contrib
deb http://security.debian.org/ stable/updates main contrib non-free
3. 修改 /etc/dpkg/dpkg.cfg 的設定
開啟 /etc/dpkg/dpkg.cfg,如下麵在 log 那行前麵加上 #
引用
...
# Log status changes and actions to a file.
#log /var/log/dpkg.log
4. 下載並安裝 stable 套件
執行下麵指令:
引用
apt-get dist-upgrade
如果中間套件管理程式詢問問題,而您又不知道該回答什麼,就打 Y 吧 biggrin.gif
等管理程式下載所有套件並且安裝完畢後,係統就成功降回 stable 囉
zt: degrade debian testing (etch) back to stable (sarge)
所有跟帖:
•
這是我的教訓,還是stable好,哪怕3年不升級
-landAjob-
♂
(0 bytes)
()
04/07/2007 postreply
03:08:39
•
debian三年出個新版本,你就守它三年?忠貞啊!
-ohlalala-
♀
(0 bytes)
()
04/08/2007 postreply
07:06:16
•
犯不著,etch馬上就stable了
-butdie-
♂
(0 bytes)
()
04/07/2007 postreply
18:52:43