红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Debian

debian 下安装GDB,在线等!

发布时间:2010-10-03 14:23:14来源:红联作者:708823782
各位好!
在deiban 下如何安装gdb呀,我在命令行下输入apt-get install gdb,怎么提示如下错误如何解决呀?
Reading package lists... Done
Building dependencey tree
Reading state information...DONE
Package gdb is not available. but is referred ot by another package.
This may mean that the package is missing. has been obsoleted .or is only available from another source
E: Package gdb has no installation candidate
文章评论

共有 5 条评论

  1. 北山渔公 于 2010-11-24 13:27:49发表:

    {:3_107:}兄弟享用DEBIAN了吧!用163的源速度很快的!我也和你差不多时间装的6.0。找了好久没教程。最后比较5.0和6.0才发现6.0用的GDM3!崩溃。昨天6.0挂了,彻底挂了。今天装备重装

  2. 刘冲 于 2010-10-10 21:13:42发表:

    引用:

    老大,我想问一下Debian的sid怎么安装啊?
    我平时都是装testing的CD1,然后加上unstable的源,升级成SID,但是升级后一般显示为Squeeze/sid。
    还有网络安装用180M的stable安装完升级成sid,在安装GNOME等组件和我 ...
    cun.pi 发表于 2010-10-4 13:04

    就是这样的,尽管升级就行了.你用testing跟用sid都会像是squeeze/sid
    不好意思,刚看到,回复晚了:0lopw(1

  3. cun.pi 于 2010-10-04 13:04:44发表:

    引用:
    你是不是新装的debian,源是不是没加?在/etc/apt/souces.list里面加上一些,就行了

    deb http://ftp.tw.debian.org/debian stable main
    deb http://ftp.tw.debian.org/debian stable contrib
    deb http://ftp.tw.de ...
    刘冲 发表于 2010-10-3 18:36

    老大,我想问一下Debian的sid怎么安装啊?
    我平时都是装testing的CD1,然后加上unstable的源,升级成SID,但是升级后一般显示为Squeeze/sid。
    还有网络安装用180M的stable安装完升级成sid,在安装GNOME等组件和我原来用CD1testing有区别吗?

  4. 刘冲 于 2010-10-03 18:36:56发表:

    你是不是新装的debian,源是不是没加?在/etc/apt/souces.list里面加上一些,就行了

    deb http://ftp.tw.debian.org/debian stable main
    deb http://ftp.tw.debian.org/debian stable contrib
    deb http://ftp.tw.debian.org/debian stable non-free

    deb-src http://ftp.tw.debian.org/debian stable main
    deb-src http://ftp.tw.debian.org/debian stable contrib
    deb-src http://ftp.tw.debian.org/debian stable non-free

    其中stable可以换成testing或者sid,分别是稳定版,测试版和不稳并版
    http://ftp.tw.debian.org/debian也可以换成你喜欢的其他源,照葫芦画瓢就行了:0()w(1

  5. 1234qw 于 2010-10-03 16:07:47发表:

    [i=s] 本帖最后由 1234qw 于 2010-10-3 16:15 编辑 [/i]

    刷新一下 apt-get update
    更新源:
    deb http://mirrors.sohu.com/debian/ lenny non-free contrib main
    deb http://ftp.sjtu.edu.cn/debian/ lenny non-free contrib main
    #deb file:/home/debian/a/debian-504-amd64-DVD-1/ lenny main contrib
    deb-src http://mirrors.163.com/debian/ lenny-proposed-updates main non-free contrib
    deb http://mirrors.163.com/debian/ lenny-proposed-updates main non-free contrib
    deb http://mirrors.sohu.com/debian/ lenny-proposed-updates main non-free contrib
    deb-src http://mirrors.sohu.com/debian/ lenny-proposed-updates main non-free contrib
    deb http://www.zentek-international.com/mirrors/debian/ lenny non-free contrib main
    deb-src http://www.zentek-international.com/mirrors/debian/ lenny non-free contrib main #Added by software-properties
    deb http://ftp.tw.debian.org/debian-multimedia/ stable main
    deb-src http://ftp.tw.debian.org/debian-multimedia/ stable main
    deb http://mirror.optus.net/debian-multimedia/ stable main
    deb-src http://mirror.optus.net/debian-multimedia/ stable main
    deb http://www.debian-multimedia.org lenny main non-free
    deb http://www.zentek-international.com/mirrors/debian/ lenny-proposed-updates non-free contrib main
    deb-src http://www.zentek-international.com/mirrors/debian/ lenny-proposed-updates non-free contrib main
    deb http://security.debian.org/ lenny/updates non-free contrib main
    deb-src http://security.debian.org/ lenny/updates non-free contrib main