• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

DEBIAN LINUX问答集合

发布: 2007-7-04 12:06 | 作者: admin | 来源:  网友评论 | 查看: 13次 | 进入软件测试论坛讨论

领测软件测试网 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就好啦,管它呢,又不影响使用

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网