这个是什么情况?
Tofloor
poster avatar
jacsy
deepin
2012-09-11 20:00
Author
  1. jacsy@jacsy-VirtualBox:~/project/openocd/openocd-0.6.0$ sudo apt-get install synaptic
  2. Reading package lists... Done
  3. Building dependency tree      
  4. Reading state information... Done
  5. Some packages could not be installed. This may mean that you have
  6. requested an impossible situation or if you are using the unstable
  7. distribution that some required packages have not yet been created
  8. or been moved out of Incoming.
  9. The following information may help to resolve the situation:
  10. The following packages have unmet dependencies:
  11. synaptic : Depends: libvte9 (>= 1:0.24.0) but it is not going to be installed
  12.             Recommends: libgtk2-perl (>= 1:1.130) but it is not going to be installed
  13. E: Unable to correct problems, you have held broken packages.
Copy the Code
Reply Favorite View the author
All Replies
cxbii
deepin
2012-09-11 20:12
#1
依赖问题,

依赖:libvte9(>=1:0.24.0),但它不会被安装
建议:libgtk2-perl的(> =1:1.130),但它不会被安装

先尝试安装libgtk2-perl在安装synaptic试试。话说你更改过默认源了?
Reply View the author
jacsy
deepin
2012-09-11 20:22
#2
  1. jacsy@jacsy-VirtualBox:~/project/openocd/openocd-0.6.0$ sudo apt-get install libgtk2-perl
  2. [sudo] password for jacsy:
  3. Reading package lists... Done
  4. Building dependency tree      
  5. Reading state information... Done
  6. Some packages could not be installed. This may mean that you have
  7. requested an impossible situation or if you are using the unstable
  8. distribution that some required packages have not yet been created
  9. or been moved out of Incoming.
  10. The following information may help to resolve the situation:
  11. The following packages have unmet dependencies:
  12. libgtk2-perl : Depends: perlapi-5.10.1
  13.                 Depends: libglib-perl (>= 1:1.230) but it is not going to be installed
  14.                 Depends: libcairo-perl but it is not going to be installed
  15.                 Depends: libpango-perl (>= 1.220) but it is not going to be installed
  16. E: Unable to correct problems, you have held broken packages.
Copy the Code
怎么不会自动安装依赖呢?
Reply View the author
cxbii
deepin
2012-09-11 20:28
#3
依赖问题,,有个叫法叫“依赖地狱”
看来你已经陷入了,尝试编译代码或者一直装它需要的依赖到全部条件满足为止
Reply View the author
jacsy
deepin
2012-09-11 20:35
#4
  1. jacsy@jacy-PC:~$ sudo apt-get install synaptic
  2. [sudo] password for jacsy:
  3. Reading package lists... Done
  4. Building dependency tree      
  5. Reading state information... Done
  6. The following extra packages will be installed:
  7.   libept1.4.12 libvte-common libvte9
  8. Suggested packages:
  9.   dwww deborphan
  10. The following NEW packages will be installed:
  11.   libept1.4.12 libvte-common libvte9 synaptic
  12. 0 upgraded, 4 newly installed, 0 to remove and 9 not upgraded.
  13. Need to get 2,928 kB of archives.
  14. After this operation, 9,650 kB of additional disk space will be used.
  15. Do you want to continue [Y/n]? y
Copy the Code
我切换到ubuntu12.04,一点问题都没有
Reply View the author
cxbii
deepin
2012-09-11 21:08
#5
  1. jacsy@jacy-PC:~$ sudo apt-get install synaptic
  2. [sudo] password for jacsy:
  3. Reading package lists... Done
  4. Building dependency tree      
  5. Reading state information... Done
  6. The following extra packages will be installed:
  7.   libept1.4.12 libvte-common libvte9
  8. Suggested packages:
  9.   dwww deborphan
  10. The following NEW packages will be installed:
  11.   libept1.4.12 libvte-common libvte9 synaptic
  12. 0 upgraded, 4 newly installed, 0 to remove and 9 not upgraded.
  13. Need to get 2,928 kB of archives.
  14. After this operation, 9,650 kB of additional disk space will be used.
  15. Do you want to continue [Y/n]? y
Copy the Code
我切换到ubuntu12.04,一点问题都没有
感觉你的7源有问题
Reply View the author