分页: 1 / 1
debian新手请教入手问题
发表于 : 2011-06-08 9:57
由 fang0319
之前用的ubuntu, 现在决定开始学debian了。 安装了系统之后遇到各种问题
1.无线网不能上. iwconfig能看到无线网卡,ifconfig wlan0 up不能启动。 错误提示是:SIOCSIFFLAGS: No such file or directory
2.fcitx不能鼠标跟随。安装力scim没有任何反应。
3.deb包不会安装。dpkg -i google-chrome-stable_current_amd64.deb总有有依赖问题。 试用apt-get install ***也会有依赖问题,但是我想把依赖的包逐个安装,还是有依赖问题,是一个死循环。 用aptitude install synaptic, 提示如下:
代码: 全选
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) libgnomevfs2-extra [Not Installed]
2) libkrb53 [Not Installed]
3) synaptic [Not Installed]
Leave the following dependencies unresolved:
4) libgnome2-vfs-perl recommends libgnomevfs2-extra
Accept this solution? [Y/n/q/?]
然后选择y,还是什么都不安装
Re: debian新手请教入手问题
发表于 : 2011-06-08 10:25
由 leeaman
1.不用,不清楚
2.是的,很久了,不过我习惯了
3.试试sudo apt-get install -f?更新你的源,还有你的源全不全?
Re: debian新手请教入手问题
发表于 : 2011-06-08 11:01
由 fang0319
leeaman 写了:1.不用,不清楚
2.是的,很久了,不过我习惯了
3.试试sudo apt-get install -f?更新你的源,还有你的源全不全?
-f之后是不是强制安装不管依赖关系,那样子安全吗? 我就用了163和官方的两个源
Re: debian新手请教入手问题
发表于 : 2011-06-08 11:04
由 leeaman
先试试那个命令,然后贴你的源出来看看
Re: debian新手请教入手问题
发表于 : 2011-06-08 11:15
由 fang0319
leeaman 写了:先试试那个命令,然后贴你的源出来看看
-f之后还是不可以。
代码: 全选
root@debian:/home/frank# apt-get install -f synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
synaptic : Depends: libapt-inst-libc6.7-6-1.1
Depends: libapt-pkg-libc6.7-6-4.6
E: Broken packages
我的源:
代码: 全选
#
# deb cdrom:[Debian GNU/Linux 6.0.1a _Squeeze_ - Official amd64 CD Binary-1 20110322-16:05]/ squeeze main
#deb cdrom:[Debian GNU/Linux 6.0.1a _Squeeze_ - Official amd64 CD Binary-1 20110322-16:05]/ squeeze main
# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ squeeze/updates main
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ squeeze/updates main
# squeeze-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb ftp:://debian.linux.org.tw/pub/apt unstable main
# deb ftp:://ftp.hk.debian.org/unoffical/dlot-apt unstable main
deb http://mirrors.163.com/debian/ lenny main contrib non-free
deb-src http://mirrors.163.com/debian lenny main contrib non-free
deb http://ftp.debian.org/debian/ squeeze-updates main
deb-src http://ftp.debian.org/debian/ squeeze-updates main
Re: debian新手请教入手问题
发表于 : 2011-06-08 11:19
由 leeaman
代码: 全选
deb http://http.us.debian.org/debian/ sid contrib non-free main
我的就一行搞定....
Re: debian新手请教入手问题
发表于 : 2011-06-08 11:21
由 leeaman
你的源不对...leny改成 squeeze应该就好了
Re: debian新手请教入手问题
发表于 : 2011-06-08 12:45
由 fang0319
leeaman 写了:你的源不对...leny改成 squeeze应该就好了
果然可以了。就是速度太慢了
Re: debian新手请教入手问题
发表于 : 2011-06-09 2:02
由 levee
Re: debian新手请教入手问题
发表于 : 2011-06-09 2:53
由 nmsfan
-f不是指强制,是指修复~
Re: debian新手请教入手问题
发表于 : 2011-06-25 0:52
由 sulow
推荐 ftp.tw.debian.org 源,
北京网通很快,2M可以跑到300多
debian下没用过无线网卡,
不过你看看 /etc/network/interfaces 里面有没有定义wlan0的部分