日期:2014-05-16  浏览次数:20589 次

我在ubuntu上面安装 scratchbox时出的错。。 大家帮我 看看怎样解决那??
我从网上下载了
scratchbox-core_1.0.13_i386.deb
scratchbox-devkit-debian_1.0.10_i386.deb
scratchbox-libs_1.0.13_i386.deb
scratchbox-toolchain-host-gcc_1.0.13_i386.deb
这四个文件,原本打算在fedora上面安装的,不过好像fedora上面不支持.deb格式的安装吧。然后现在在ubuntu上面来安装了
不过安装的时候出现了如下错误:(其实我还是想在我的fedora环境下安装的,如果有方法的话各位大虾可以详细告诉下啊!)

C/C++ code

fxx@fxx-desktop:~/Desktop/sractchbox$ sudo dpkg -i scratchbox-core_1.0.13_i386.deb
[sudo] password for fxx: 
Selecting previously deselected package scratchbox-core.
(Reading database ... 142949 files and directories currently installed.)
Unpacking scratchbox-core (from scratchbox-core_1.0.13_i386.deb) ...
dpkg: dependency problems prevent configuration of scratchbox-core:
scratchbox-core depends on scratchbox-libs (>= 1.0); however:
Package scratchbox-libs is not installed.
dpkg: error processing scratchbox-core (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
scratchbox-core



------解决方案--------------------
告诉你个简单的方法,在命令行下直接cd进入文件夹,然后再 sudo dpkg -i *.deb这样来把所有包安上。

ubuntu下包的循环依赖问题很愁人,所以直接全部安装,dpkg会帮你解决的