debian新手请教入手问题

最大的社区版本,Ubuntu的发源地
回复
头像
fang0319
帖子: 628
注册时间: 2011-01-05 14:21

debian新手请教入手问题

#1

帖子 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,还是什么都不安装
O(∩_∩)O
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

Re: debian新手请教入手问题

#2

帖子 leeaman »

1.不用,不清楚
2.是的,很久了,不过我习惯了
3.试试sudo apt-get install -f?更新你的源,还有你的源全不全?
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
头像
fang0319
帖子: 628
注册时间: 2011-01-05 14:21

Re: debian新手请教入手问题

#3

帖子 fang0319 »

leeaman 写了:1.不用,不清楚
2.是的,很久了,不过我习惯了
3.试试sudo apt-get install -f?更新你的源,还有你的源全不全?
-f之后是不是强制安装不管依赖关系,那样子安全吗? 我就用了163和官方的两个源
O(∩_∩)O
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

Re: debian新手请教入手问题

#4

帖子 leeaman »

先试试那个命令,然后贴你的源出来看看
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
头像
fang0319
帖子: 628
注册时间: 2011-01-05 14:21

Re: debian新手请教入手问题

#5

帖子 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
O(∩_∩)O
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

Re: debian新手请教入手问题

#6

帖子 leeaman »

代码: 全选

deb http://http.us.debian.org/debian/ sid contrib non-free main
我的就一行搞定....
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

Re: debian新手请教入手问题

#7

帖子 leeaman »

你的源不对...leny改成 squeeze应该就好了
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
头像
fang0319
帖子: 628
注册时间: 2011-01-05 14:21

Re: debian新手请教入手问题

#8

帖子 fang0319 »

leeaman 写了:你的源不对...leny改成 squeeze应该就好了
果然可以了。就是速度太慢了
O(∩_∩)O
levee
帖子: 3030
注册时间: 2009-10-03 23:31

Re: debian新手请教入手问题

#9

帖子 levee »

换用USTC的源试试。
头像
nmsfan
帖子: 18958
注册时间: 2009-10-16 22:46
来自: finland

Re: debian新手请教入手问题

#10

帖子 nmsfan »

-f不是指强制,是指修复~
>>>>推Ubuntu 桌面培训~~<<<<
>>>>想加入/了解gimp汉化吗,点我吧~<<<<
——————————————————————
不推荐wubi,也不推荐你给别人推荐wubi…………
随心而为的感觉真好……
强推mayhem!!
强推ensiferum
sulow
帖子: 73
注册时间: 2006-04-24 0:36

Re: debian新手请教入手问题

#11

帖子 sulow »

推荐 ftp.tw.debian.org 源,
北京网通很快,2M可以跑到300多

debian下没用过无线网卡,
不过你看看 /etc/network/interfaces 里面有没有定义wlan0的部分
回复