- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我正在尝试编译 xfce-terminal,配置无法通过,说我缺少 gtk2
checking for gtk+-2.0 >= 2.24.0... not found
*** The required package gtk+-2.0 was not found on your system.
*** Please install gtk+-2.0 (atleast version 2.24.0) or adjust
所以我尝试安装“sudo apt-get install libgtk2.0-dev”
然后我得到了真正奇怪的输出(包括内部错误):
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
The following NEW packages will be installed:
gir1.2-gtk-2.0{a} libatk1.0-dev{a} libcairo-script-interpreter2{a}
libcairo2-dev{a} libexpat1-dev{a} libfontconfig1-dev{a}
libgdk-pixbuf2.0-dev{a} libglib2.0-dev{a} libgtk2.0-dev libice-dev{a}
libpango1.0-dev{a} libpcre3-dev{a} libpcrecpp0{a} libpixman-1-dev{a}
libsm-dev{a} libxcb-shm0-dev{a} libxcomposite-dev{a} libxcursor-dev{a}
libxft-dev{a} libxinerama-dev{a} libxml2-utils{a}
x11proto-composite-dev{a} x11proto-xinerama-dev{a}
The following packages will be upgraded:
gir1.2-pango-1.0 libpango-1.0-0 libpango-1.0-0:i386 libpangocairo-1.0-0
libpangocairo-1.0-0:i386 libpangoft2-1.0-0 libpangoft2-1.0-0:i386
libpangoxft-1.0-0 libpangoxft-1.0-0:i386
9 packages upgraded, 23 newly installed, 0 to remove and 39 not upgraded.
Need to get 7,023 kB of archives. After unpacking 43.7 MB will be used.
The following packages have unmet dependencies:
libpango1.0-0 : Depends: libpango-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed.
Depends: libpangocairo-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed.
Depends: libpangoxft-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed.
Depends: libpangoft2-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed.
libpango1.0-0:i386 : Depends: libpango-1.0-0:i386 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed.
Depends: libpangocairo-1.0-0:i386 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed.
Depends: libpangoxft-1.0-0:i386 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed.
Depends: libpangoft2-1.0-0:i386 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed.
Internal error: found 2 (choice -> promotion) mappings for a single choice.
Internal error: found 2 (choice -> promotion) mappings for a single choice.
The following actions will resolve these dependencies:
Remove the following packages:
1) apturl
2) banshee
3) gir1.2-gkbd-3.0
4) gkbd-capplet
5) gtk2-engines-murrine
6) gtk2-engines-murrine:i386
7) ia32-libs
8) libappindicator0.1-cil
9) libgnomekbd8
10) libgtk-sharp-beans-cil
11) libgtk2.0-cil
12) libmono-addins-gui0.2-cil
13) libnotify0.4-cil
14) libpango1.0-0
15) libpango1.0-0:i386
16) libvte9
17) mint-meta-core
18) mint-meta-xfce
19) mintbackup
20) mintinstall
21) mintwelcome
22) python-sexy
23) python-vte
24) tomboy
25) xfce4-dict
26) xfce4-terminal
27) xfce4-weather-plugin
Accept this solution? [Y/n/q/?]
我应该继续还是应该做什么来安装 GTK2?
最佳答案
您不应该继续使用此解决方案,它将删除 mint-meta-core(这是 mint 的基本包)和 mint-meta-xfce(xfce session 本身)...
为什么不从 apt install xfce-terminal
安装 xfce-terminal?
关于linux - 无法在linux上安装libgtk2.0-dev,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26506310/
我纠正了我在 Qt 中编写的程序中的所有内存泄漏。 我发现了一些无法处理的错误。 ==3343== Conditional jump or move depends on uninitialised
我安装了 gtk+2.0 版本 2.18.3 但是当我运行这个命令时: dpkg -i libgtk2.0-dev_2.18.3-1_i386.deb 我有下一个错误。但是当我检查/usr/lib/l
我需要在 Ubuntu linux 中安装 libgtk。 我尝试使用“sudo apt-get install libgtk”,但得到的答案是在 libgtk 包中找不到 libgtk。 如何使用
我正在尝试安装 seahorse-3.16.0。运行 ./configure 时,我得到: configure: error: Package requirements (gtk+-3.0 >= 3.
我正在尝试在我的服务器上安装 opencv。我跑了: conda install -c https://conda.binstar.org/menpo opencv3 成功运行,但是当我尝试 impo
我有两个 CentOS VM,它们使用 Jenkins 通过 firefox 运行自动化测试。两者都安装了 Firefox。两个版本的 firefox 是相同的 (firefox-56.0.1)。我不
我正在运行 Ubuntu 12.10,不知何故我的 libgtk-3-0 搞砸了。尝试运行许多不同的应用程序时,我收到如下错误: gedit: symbol lookup error: /usr/li
我为 Linux 和 Windows 环境运行了 electron packager。该构建在 Windows 中按预期工作,但在 Linux 中没有。它提示 “加载共享库时出错:libgtk-3.s
我正在尝试开始使用 Electron 来构建桌面应用程序,但在尝试启动应用程序时遇到了以下错误。 error while loading shared libraries: libgtk-x11-2
在 centos 上运行 firefox 时。我收到以下错误。我该如何解决这个问题? XPCOMGlueLoad error for file /home/ec2-user/work/software
我是一名优秀的程序员,十分优秀!