在Ubuntu16.04中安装Kompozer时,我收到了以下错误消息。
saraswati@ubuntu:~$ sudo apt-get install libatk1.0-0 libc6 libcairo2 libfontconfig1 libfreetype6 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk2.0-0 libidl0 libnspr4 libnss3 libpango1.0-0 libpng12-0 libstdc++6 libx11-6 libxft2 libxinerama1 libxrender1 libxt6 zlib1g
Reading package lists... Done
Building dependency tree...
Reading state information... Done
Package libidl0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libidl-2-0:i386 libidl-2-0
E: Package 'libidl0' has no installation candidate请帮我解决这个问题。
发布于 2017-01-27 12:08:34
以上答案对Ubuntu 16.04 64位不再有效。sudo dpkg -i libidl0_0.8.14-1_amd64.deb的问题:
john@Laptop:~/Software/Kompozer$ sudo dpkg -i libidl0_0.8.14-1_amd64.deb
[sudo] password for john:
Selecting previously unselected package libidl0:amd64.
(Reading database ... 366612 files and directories currently installed.)
Preparing to unpack libidl0_0.8.14-1_amd64.deb ...
Unpacking libidl0:amd64 (0.8.14-1) ...
Replaced by files in installed package libidl-2-0:amd64 (0.8.14-4) ...
dpkg: dependency problems prevent configuration of libidl0:amd64:
libidl-2-0:amd64 (0.8.14-4) breaks libidl0 (<< 0.8.14-3) and is installed.
Version of libidl0:amd64 to be configured is 0.8.14-1.
dpkg: error processing package libidl0:amd64 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libidl0:amd64通过下列方式解决:
sudo apt-get -f install
sudo apt-get remove libidl-2-0
sudo dpkg -i libidl0_0.8.14-1_amd64.deb然后和以前一样。
发布于 2018-09-01 07:47:05
我在评论中提到的不为16.04工作的问题已在18.04得到纠正。然而,关于18.04的新安装,现在正在:
john@JohnPC:~/Software/Kompozer$ sudo dpkg -i kompozer_0.8~b3.dfsg.1-0.1ubuntu2_amd64.deb
Selecting previously unselected package kompozer.
(Reading database ... 264748 files and directories currently installed.)
Preparing to unpack kompozer_0.8~b3.dfsg.1-0.1ubuntu2_amd64.deb ...
Unpacking kompozer (1:0.8~b3.dfsg.1-0.1ubuntu2) ...
dpkg: dependency problems prevent configuration of kompozer:
kompozer depends on libpango1.0-0 (>= 1.14.0); however:
Package libpango1.0-0 is not installed.
dpkg: error processing package kompozer (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.3-2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
kompozer这一错误通过以下方式得到纠正:
sudo apt install libpango1.0-0其次是:
sudo dpkg -i kompozer_0.8~b3.dfsg.1-0.1ubuntu2_amd64.deb发布于 2020-06-21 14:58:50
到2020年6月,您可以在Ubuntu16.04LTS(32位)上安装Kompozer,步骤如下:
打开一个终端并输入以下命令来安装依赖关系:
sudo apt-get install libatk1.0-0 libc6 libcairo2 libfontconfig1 \
libfreetype6 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk2.0-0 libidl-2-0 \
libnspr4 libnss3 libpango1.0-0 libpng12-0 libstdc++6 libx11-6 libxft2 \
libxinerama1 libxrender1 libxt6 zlib1g用于32位系统的
wget https://launchpad.net/ubuntu/+archive/primary/+files/kompozer-data_0.8%7Eb3.dfsg.1-0.1ubuntu2_all.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/kompozer_0.8%7Eb3.dfsg.1-0.1ubuntu2_i386.deb
sudo dpkg -i kompozer-data_0.8~b3.dfsg.1-0.1ubuntu2_all.deb
sudo dpkg -i kompozer_0.8~b3.dfsg.1-0.1ubuntu2_i386.deb64位系统
wget https://launchpad.net/ubuntu/+archive/primary/+files/kompozer-data_0.8%7Eb3.dfsg.1-0.1ubuntu2_all.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/kompozer_0.8%7Eb3.dfsg.1-0.1ubuntu2_amd64.deb
sudo dpkg -i kompozer-data_0.8~b3.dfsg.1-0.1ubuntu2_all.deb
sudo dpkg -i kompozer_0.8~b3.dfsg.1-0.1ubuntu2_amd64.debKompozer现在应该被正确地安装!
https://askubuntu.com/questions/832913
复制相似问题