[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"