歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> 關於Unix >> DEBIAN LINUX問答集合

DEBIAN LINUX問答集合

日期:2017/3/6 15:35:25   编辑:關於Unix
1.一般用戶su root後無法運行任何圖形界面的軟件? ln -s /home/normaluser/.Xauthority /root/.Xauthority 2. X 無法啟動 將XF86Config-4中的Option "UseFBDev" "true" 用#注釋掉,就可以了 debian認不了光驅? ln -sf /dev/hd? /dev/cdrom 其中hd?就是你光驅 1.一般用戶su root後無法運行任何圖形界面的軟件?

  ln -s /home/normaluser/.Xauthority /root/.Xauthority

  2. X 無法啟動

  將XF86Config-4中的Option "UseFBDev" "true"

  用#注釋掉,就可以了

  debian認不了光驅?

  ln -sf /dev/hd? /dev/cdrom

  其中hd?就是你光驅所在的接口

  3.我的聲卡問題解決 /dev/dsp 權限不夠

  正確方法是

  # adduser 用戶名 audio

  # adduser wide288 audio

  比如用戶名為wide288,重新登錄wide288用戶

  通過knoppix安裝裝debian的辦法

  用Knoppix啟動後在root shell下執行knx-hdinstall按提示做幾十分鐘後就有一個完整的debian系統了。

  4.把rpm包轉成deb包的工具

  就是alien了

  先apt-get install alien安裝,裝完試試用alien -d 把rpm包轉成deb包,俺用它轉了G五筆的deb包,使用正常

  alien -i name-of-the-pakage.rpm

  直接就能裝上了,有時候能解決一些rpm包的所謂關聯性問題

  請教,X下鼠標顯示一個怪怪的方塊?先謝了!

  是Trident顯卡的驅動問題,好像Sis的顯卡也有這個問題,解決方法是:

  在XF86Config-4的Device字段添加一行:

  Option "sw_cursor"

  在xfree86的網站上說是: Option "SWCursor" "on" ,我沒有試過.

  5.請問如何使一個軟件不進行升級

  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

  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

  不知道這些錯誤大家有沒有遇見過

  modprobe:modprobe:Can't locate module char-major-108

  modprobe:modprobe:Can't locate module char-major-6

  我的辦法最簡單:

  不管數值是什麼,我統統的;

  alias char-major-10-135 off

  最後用off就好啦,管它呢,又不影響使用

Copyright © Linux教程網 All Rights Reserved