我遇到一些问题,可以在我的Ubuntu Jaunty Box上正确安装trac。
使用命令“apt-get install trac”,我得到以下输出:
root@myserver:~# apt-get install trac 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. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: trac: Depends: python-setuptools (> 0.5) but it is not installable Depends: python-pysqlite2 (>= 2.3.2) but it is not going to be安装取决于:python-subversion,但它不是可安装的依赖:libjs-jquery,但它不是可安装的推荐:python-pygments(> = 0.6),但它不是安装或enscript,但它是不可安装的推荐:python-tz但它不可安装E:破损的包装
我已经成功地在我的业力可乐桌面机器上使用这个命令,并能够创build新的项目等。
我想我可以通过安装所有与python相关的扩展来解决这个问题。 这产生了非常类似的输出。
我有主,宇宙和多诗歌资源库启用。 它是一个远程机器,我没有访问gui。
希望有人能帮忙,googleing无法解决问题或find解决办法!
谢谢,
本
这种依赖性破坏是没有意义的。 错误消息抱怨的版本在Jaunty中可用(例如python-setuptools的0.6c9版本 )。
我会检查/etc/apt/sources.list和/etc/apt/sources.list.d/*.list ,并确保相同的镜像获得主要,宇宙和多元化的灵活性,jaunty-security和轻快活泼的更新。
你可以尝试做危险的事情
apt-get update; apt-get升级
获取相同版本的所有软件包。
从源头上安装可能会更安全: http : //trac.edgewall.org/wiki/TracInstall
吉荣
你有没有尝试过使用easy_install。
你有不止一个版本的Python安装在这个系统上? 我已经看到类似的问题报告,事实certificate,一个版本的python安装了必要的模块,并且networking服务器正在使用不同的版本。 这可能发生在32位与64位,或2.4与2.5等