somebody said hold was a status flag to tell apt not to automatically upgrade a package. apt will place packages on hold if they require packages that are not currently installable; you can 'apt-get install pkgname' to explicitly install the package. To put a package on hold, 'echo pkgname hold | dpkg --set-selections' or use the '=' key on the package in dselect, or 'echo pkgname install | dpkg --set-selections' to remove the hold
我們說 hold ,其實是一個狀態標誌,目的是告訴 apt 停止自動升級某個包裹。 apt 將讓一些包裹處於 hold 狀態,如果他們請求的包裹現在不可安裝; 你能夠使用 『apt-get install pkgname' 來安裝包裹。 為了讓包裹置於 hold. 'echo pkgname hold | dpkg --set-selections ' 或在 dselect 中使用 '=' 鍵於對應的包裹。 移除 hold 用 'echo pkgname install | dpkg --set-selections'
用synaptic,軟體包的狀態在gui界面中顯示得一清二楚.
這樣也許選擇的更多
dpkg --get-selections \*>status.current vi stantus.current//你想hold的package dpkg --set-selections<stantus.current
6.「could not locate char-major-10-135 」的解決
It's harmless. Just means you do not have the RTC clock module compiled into your kernel, or the module has not been loaded. There should be an alias for this in /etc/modules.conf:
alias char-major-10-135 rtc
If not, check /etc/modutils/arch/i386 (if you have an intel/amd system) and put it in there, then run update-modules.
modconf might allow you to force load the rtc module, if it exists, at boot by putting rtc in /etc/modules. That may help.
As a last resort, if your kernel doesn't have it, you may want to install a kernel with rtc support or compile your own.
引自 www.debianhelp.com
相信很多朋友都會看到這個討厭的信息,上面的方法能解決問題。:)
以下是轉貼
解決關於"char-major-10-135"的錯誤,原因是新內核沒有加入RTC支持,請在內核配置中的"character device"里將"enhanced real time clock support"選上Y或M就沒這個錯誤了 建議選上這個支持,很多要編譯的程序需要這個支持,譬如mplayer
deb http://debian.cn99.com/debian stable main contrib non-free deb http://debian.cn99.com/debian-non-US stable/non-US main contrib non-free deb http://debian.cn99.com/debian-security stable/updates main contrib non-free
deb-src http://debian.cn99.com/debian stable main contrib non-free deb-src http://debian.cn99.com/debian-non-US stable/non-US main contrib non-free
以上的 stable,根據需要可以設置成 testing 和 unstable
9.讓vim支持中文
VIM當然支持中文!!!!!! gvim也支持!!!! 在~/.gvimrc中加上
源碼:set encoding=euc-cn set guifontset=-adobe-courier-medium-r-normal-*-*-100-*-*-m-*-iso8859-*,-*-simsun-medium-r-normal-*-*-100-*-*-c-*-gbk-* set imcmdline
set encoding=chinese set guifontset=-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1,-misc-fixed-medium-r-normal-*-*-100-*-*-c-*-gbk-0 set imcmdline