Installing gtk2.0 on Ubuntu does not install the problem, "the following packages have dependencies that cannot be satisfied"

Source: Internet
Author: User

[email protected]:~$ sudo apt-get install Libgtk2.0-dev
is reading the list of packages ... Complete the
Parsing package dependency tree        
Reading status information ... Complete        
Some packages cannot be installed. If you are using the unstable release, this may be
because the system is unable to meet the state you are requesting. There may be some software you need in this release
packages have not been created or they have been removed from the new to (Incoming) directory.
The following information may be helpful for troubleshooting:

The following packages have unsatisfied dependencies:
 libgtk2.0-dev: dependent: libgtk2.0-0 (= 2.24.23-0ubuntu1) but 2.24.23-0ubuntu1.1 is going to be installed
                  dependency: Libpango1.0-dev (>= 1.20) but it will not be installed
                  dependency: Libcairo2-dev (>= 1.6.4-6.1) but it will not be installed
                  Recommendation: Debhelper But it will not be installed
E : You cannot fix the error because you require certain packages to remain current, that is, they undermine the dependencies between packages.

This problem should be a source of software problems, the source version is relatively low, relying on the version number is lower than the version number that is being installed, resulting in the inability to install.
Just remove the original software source and replace it with a new one.
Practice See here: http://wiki.ubuntu.org.cn/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E6%88%91%E4%BB%AC%E6%8E%A8%E8%8D%90%E7%9A%84%E6%BA%90

sudo gedit/etc/apt/sources.list
Write the software source, then refresh, note must be refreshed, run:
sudo apt-get update

Installing gtk2.0 on Ubuntu does not install the problem, "the following packages have dependencies that cannot be satisfied"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.