[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 關于使用apt出現的問題



On Thu, Jun 14, 2001 at 01:40:12PM +0800, 趙蔚 wrote:
> yee <zyi@163.net> writes:
> 
> > 1.除了手動刪除該目錄下文件以外,有沒有一個命令進行這個方面的管理(比
> > 如限制cache的大小,或者清空cache等等)
> 
> apt-move

  我用的是 apt-get autoclean 或 apt-get clean。詳細資訊,請參閱
apt-get 的手冊頁 (man apt-get)

> > 2.為什麼有些系統沒有安裝的包都要cache,這樣的cache機制是基于什麼原則。
> huh?

  除非你以前曾經安裝過那些包,否則 apt-get 是不會下載了放入
/var/cache/apt/archives 底下的。另外,網絡資源寶貴,加上很多用戶
喜歡把下載了的 .deb 包留下,作為備份。如果 apt-get 問也不問地自動清除
所有已安裝的 .deb 包,那就反而不對了,所以 apt-get 缺省是不會亂替你
清除 cache 裡的 .deb 包的。你不時使用 apt-get autoclean 或
apt-get clean 就可以了,也可以參看 apt 的手冊頁或說明文檔,可能在
apt.conf 配置文件可以改變 apt-get 對于 .deb 包 cache 的管理。

  (我也不清楚啦,沒有時間仔細研究。)

					東東

-- 
Anthony Fok Tung-Ling                Civil and Environmental Engineering
foka@ualberta.ca, foka@debian.org    University of Alberta, Canada
   Debian GNU/Linux Chinese Project -- http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp -- http://www.olvc.ab.ca/

-- 
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.



Reply to: