在debian上安装opencv 2.4.3时出错

时间:2013-07-23 11:35:44

标签: debian raspberry-pi

我是使用debian操作系统初学Raspberry Pi。

当我使用"sudo gedit /etc/ld.so.conf.d/opencv.conf"安装opencv-2.4.3时出现此错误:

"sudo: gedit:command not found"

然后我试图安装“gedit”,但它失败了这个错误:

"The following packages have unmet dependencies: 
gedit : Depends: libpeas-1.0-0 (>= 1.1.0) but it is not going to be installed 
    Depends: gir1.2-peas-1.0 but it is not going to be installed
    E: Unable to correct problems, you have held broken packages."

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

只需安装能够解决依赖关系的aptitude。

sudo apt-get install aptitude
sudo aptitude install gedit

此外,要编辑文件,您还可以使用vim或nano。

此致

相关问题