+ -
当前位置:首页 → 问答吧 → 我的apt-get install 出事了,请救援

我的apt-get install 出事了,请救援

时间:2004-06-22

来源:互联网

我运行apt-get install stardict 前还好好的
装什么软件都没问题

我运行apt-get install stardict 后
有一个error返回
但是stardict还能用

但是我再 apt-get install 其他的软件的时候,总是说依赖什么什么的,但是不会被安装

也就是说我运行apt-get install stardict 后,再也用不了 apt-get install 安装软件了

怎么办?

作者: ookmalvin   发布时间: 2004-06-22

非官方的 statdict?把 /etc/apt/sources.list 和错误信息先贴上来吧。

作者: 高原之狼   发布时间: 2004-06-22

举例:我运行 apt-get install xpdf 后:
正在读取软件包列表...
正在分析软件包的依赖关系树...
您可能需要运行“apt-get -f install”来纠正下列错误:
下列的软件包有不能满足的依赖关系:
docbook-xml: 依赖: sgml-base (>= 1.17) 但是,它将不会被安装
sgml-data: 依赖: sgml-base (>= 1.17) 但是,它将不会被安装
xml-core: 依赖: sgml-base (>= 1.17) 但是,它将不会被安装
xpdf: 依赖: xpdf-reader (= 3.00-7acura) 但是,它将不会被安装
依赖: xpdf-utils (= 3.00-7acura) 但是,它将不会被安装
依赖: xpdf-common (= 3.00-7acura) 但是,它将不会被安装

作者: ookmalvin   发布时间: 2004-06-22

我怀疑你在装stardict时破坏了一些依赖关系,试试
apt-get dist-upgrade先?

作者: stid   发布时间: 2004-06-22

运行 apt-get dist-upgrade 后的输出:

正在读取软件包列表...
正在分析软件包的依赖关系树...
您也许需要运行“apt-get -f install”来纠正上面的错误。
下列的软件包有不能满足的依赖关系:
docbook-xml: 依赖: sgml-base (>= 1.17) 但是,它还没有被安装
sgml-data: 依赖: sgml-base (>= 1.17) 但是,它还没有被安装
xml-core: 依赖: sgml-base (>= 1.17) 但是,它还没有被安装

作者: ookmalvin   发布时间: 2004-06-22

用的是sid还是sarge?这个问题比较奇怪了

作者: stid   发布时间: 2004-06-22

用sarge

我尝试 apt-get install sgml-base 也是出错
现在什么都装不了

作者: ookmalvin   发布时间: 2004-06-22

那两个包确实没有安装吗?如果没有的话,先下载下来,用dpkg安装试试?

作者: stid   发布时间: 2004-06-22

不要随便强行安装,请把 apt-cache show stardict 和 dpkg -l stardict 的结果贴上来。

作者: 高原之狼   发布时间: 2004-06-22

dpkg 也用不了了,说什么 pre-installation script ..... error( 大概这样)

怎么好象中毒一样

作者: ookmalvin   发布时间: 2004-06-22

不会吧,linux下中毒的可能性还是非常小的
那两个包是做什么用的?你先仔细看看,是否它们
自己还缺少依赖关系?

作者: stid   发布时间: 2004-06-22

那 apt-cache stardict 的结果呢?dpkg 的错误信息是哪个 package 的?还有,apt-get -u upgrade 的结果是什么?

作者: 高原之狼   发布时间: 2004-06-22

/etc/apt/sources.list 呢?不把问题说清楚别人怎么帮忙?

作者: 高原之狼   发布时间: 2004-06-22

apt-get -u upgrade的输出:
正在读取软件包列表...
正在分析软件包的依赖关系树...
您也许需要运行“apt-get -f install”来纠正上面的错误。
下列的软件包有不能满足的依赖关系:
docbook-xml: 依赖: sgml-base (>= 1.17) 但是,它还没有被安装
sgml-data: 依赖: sgml-base (>= 1.17) 但是,它还没有被安装
xml-core: 依赖: sgml-base (>= 1.17) 但是,它还没有被安装

作者: ookmalvin   发布时间: 2004-06-22

apt-cache search stardict 的输出:
stardict - International dictionary for GNOME 2
stardict-common - International dictionary for GNOME 2 - data files
stardict-tools - The dictionary conversion tools of stardict
stardict-cdict-gb - Dictionary files of cdict used by stardict
stardict-cedict-gb - Dictionary files of cedict used by stardict
stardict-langdao-ce-gb - Dictionary files of langdao-ce used by stardict
stardict-langdao-ec-gb - Dictionary files of langdao-ec used by stardict
stardict-oxford-gb - Dictionary files of oxford used by stardict
stardict-treedict-infobrowse-zhcn - Dictionary files of treedict-infobrowse-zhcn used by stardict
stardict-xdict-ce-gb - Dictionary files of xdict-ce used by stardict
stardict-xdict-ec-gb - Dictionary files of xdict-ec used by stardict

作者: ookmalvin   发布时间: 2004-06-22

dpkg -l stardict 有什么错误信息?请全贴出来。

作者: 高原之狼   发布时间: 2004-06-22

请贴 apt-get show stardict,而不是 apt-cache search。

作者: 高原之狼   发布时间: 2004-06-22

dpkg -l stardict 的输出:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
iU stardict 2.4.3-3 International dictionary for GNOME 2

作者: ookmalvin   发布时间: 2004-06-22

apt-get show stardict

提示:show 无效的操作

作者: ookmalvin   发布时间: 2004-06-22

引用:
最初由 ookmalvin 发表
dpkg -l stardict 的输出:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
iU stardict 2.4.3-3 International dictionary for GNOME 2
请贴 dpkg --configure stardict 的错误信息。

作者: 高原之狼   发布时间: 2004-06-22

引用:
最初由 ookmalvin 发表
apt-get show stardict

提示:show 无效的操作
抱歉,笔误,请用 apt-cache show stardict。

作者: 高原之狼   发布时间: 2004-06-22

太多了
我简单说说好吗?

stardict dependency on libart-2.0-2 (>=2.3.16);however
Package libart-2.0-2 is not configured yet.

全是上面这样的东西,只是package的名字不同

作者: ookmalvin   发布时间: 2004-06-22

看来不纯粹是 stardict 的问题。贴下面命令的结果吧:
dpkg -l | grep "^.U"

还有我问了两次的 /etc/apt/sources.list 呢?

作者: 高原之狼   发布时间: 2004-06-22

sources.list是中科大的

不过我刚刚重装了系统,只要不装stardict就没事
谢谢你的帮助

作者: ookmalvin   发布时间: 2004-06-22

这是 sid 新软件包的一个 bug。
请等待 Debian 维护人员来解决吧。

作者: hiweed   发布时间: 2004-06-22

真的吗?
难怪如此难以解决

作者: ookmalvin   发布时间: 2004-06-22

是 sgml-base 1.23 的毛病。
sgml-base 1.22 就没有这个毛病。

作者: hiweed   发布时间: 2004-06-22

请问怎样查看我机子上的软件的版本?

作者: ookmalvin   发布时间: 2004-06-22

热门下载

更多