GTK开发环境的一个包无法安装
Tofloor
poster avatar
leakout
deepin
2015-01-09 16:26
Author
这个包gnome-core-devel 无法安装,终端执行
  1. sudo apt-get install gnome-core-devel
Copy the Code
  1. 正在读取软件包列表... 完成
  2. 正在分析软件包的依赖关系树      
  3. 正在读取状态信息... 完成      
  4. 有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
  5. 因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
  6. 包尚未被创建或是它们已被从新到(Incoming)目录移出。
  7. 下列信息可能会对解决问题有所帮助:
  8. 下列软件包有未满足的依赖关系:
  9. gnome-core-devel : 依赖: libgnome-desktop-3-dev (>= 3.4) 但是它将不会被安装
  10.                     依赖: libmutter-dev (>= 3.4) 但是它将不会被安装
  11. E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
Copy the Code

这个包安装不上,我的netbeans就无法编译工程,求大家指点 :?
netbeans提示
  1. Package gtk+-2.0 was not found in the pkg-config search path.
  2. Perhaps you should add the directory containing `gtk+-2.0.pc'
  3. to the PKG_CONFIG_PATH environment variable
  4. No package 'gtk+-2.0' found
  5. make: *** [.build-pre] 错误 1
  6. 构建 FAILED (退出值2, 总时间:  62ms)
Copy the Code

我百度了资料,想寻求解决方法  看到了这个帖子
http://forum.ubuntu.org.cn/viewtopic.php?p=2842117

其中谈到
源设置有问题。有些需要勾选,有些需要去掉。慢慢试吧
Deepin的源毕竟和Ubuntu不是完全一样的,我该如何设置呢?谢谢大家 :roll:
Reply Favorite View the author
All Replies
136******54
deepin
2015-01-09 16:43
#1
这个包可能被Deepin移出了源
Reply View the author
leakout
deepin
2015-01-09 20:02
#2
这个包可能被Deepin移出了源

那怎么办好呢? :cry:
Reply View the author
jouyouyun
deepin
2015-01-09 20:35
#3
netbeans 报错是因为 gtk+-2 没有,安装 libgtk2.0-dev 试试
Reply View the author
leakout
deepin
2015-01-09 21:39
#4
netbeans 报错是因为 gtk+-2 没有,安装 libgtk2.0-dev 试试
你好  谢谢你的帮助 现在问题解决了!   
Reply View the author