![将 i386 Deb(Hangul 2008)安装到 AMD64 架构中;dpkg/library 错误](https://linux22.com/image/847917/%E5%B0%86%20i386%20Deb%EF%BC%88Hangul%202008%EF%BC%89%E5%AE%89%E8%A3%85%E5%88%B0%20AMD64%20%E6%9E%B6%E6%9E%84%E4%B8%AD%EF%BC%9Bdpkg%2Flibrary%20%E9%94%99%E8%AF%AF.png)
我在 acer chromebook c720 上使用 chrubuntu 12.04 LTS。
因为我是韩国人,所以我尝试安装“Hangul 2008 Linux”,这是专为 Linux 用户制作的韩式“MS-word”软件。由于它仅适用于 i386 架构且带有 .rpm 文件,因此我需要使用 alien 命令将这些文件转换为 .deb 文件。
在我的 Virtualbox 中的 Ubuntu 12.04 32 位上安装此软件,顺利将一些 lib* 文件从 /usr/bin 链接到 usr/bin/i386....
但是在我的 chrubuntu 64 位架构上安装时出现停滞,并出现两个 deb 文件的依赖性错误消息。
从其他继任者那里学到,我运行了“apt-get install -f”或安装未找到的 lib* 文件,但没有依赖性错误,也没有任何 lib 文件已安装。我想也许那些 *.deb 文件指向的路径与真正的 lib 文件所在的位置不匹配。
请问,有人可以帮我安装这个程序吗?
我遇到的错误
user@chrubuntu:/media/user/USB DISK/Debs43bit-noscritps$ sudo dpkg --force-architecture -i haansoft-hwp7-plugin_7.5.6.482-4axDT3_i386.deb
[sudo] password for user:
dpkg: warning: overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
(Reading database ... 196194 files and directories currently installed.)
Preparing to replace haansoft-hwp7-plugin 7.5.6.482-4axDT3 (using haansoft-hwp7-plugin_7.5.6.482-4axDT3_i386.deb) ...
Unpacking replacement haansoft-hwp7-plugin ...
dpkg: dependency problems prevent configuration of haansoft-hwp7-plugin:
haansoft-hwp7-plugin depends on libatk1.0-0 (>= 1.12.4).
haansoft-hwp7-plugin depends on libc6 (>= 2.1.3).
haansoft-hwp7-plugin depends on libcairo2 (>= 1.2.4).
haansoft-hwp7-plugin depends on libgcc1 (>= 1:4.1.1).
haansoft-hwp7-plugin depends on libgdk-pixbuf2.0-0 (>= 2.22.0).
haansoft-hwp7-plugin depends on libglib2.0-0 (>= 2.12.0).
haansoft-hwp7-plugin depends on libgtk2.0-0 (>= 2.8.0).
haansoft-hwp7-plugin depends on libpango1.0-0 (>= 1.14.0).
haansoft-hwp7-plugin depends on libpng12-0 (>= 1.2.13-4).
haansoft-hwp7-plugin depends on libstdc++6 (>= 4.1.1).
dpkg: error processing haansoft-hwp7-plugin (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
haansoft-hwp7-plugin
user@chrubuntu:/media/user/USB DISK/Debs43bit-noscritps$
user@chrubuntu:/media/user/USB DISK/Debs43bit-noscritps$ sudo dpkg --force-architecture -i haansoft-common7-gst_7.5.6.536-5axDT3_i386.deb
dpkg: warning: overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
(Reading database ... 196194 files and directories currently installed.)
Preparing to replace haansoft-common7-gst 7.5.6.536-5axDT3 (using haansoft-common7-gst_7.5.6.536-5axDT3_i386.deb) ...
Unpacking replacement haansoft-common7-gst ...
dpkg: dependency problems prevent configuration of haansoft-common7-gst:
haansoft-common7-gst depends on libc6 (>= 2.3.6-6~).
haansoft-common7-gst depends on libgcc1 (>= 1:4.1.1).
haansoft-common7-gst depends on libglib2.0-0 (>= 2.12.0).
haansoft-common7-gst depends on libgstreamer0.10-0 (>= 0.10.0).
haansoft-common7-gst depends on libxml2 (>= 2.6.27).
dpkg: error processing haansoft-common7-gst (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
haansoft-common7-gst
我做了什么。
root@chrubuntu:/home/user# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@chrubuntu:/home/user# apt-get install libc6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@chrubuntu:/home/user# apt-get install libgcc1
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgcc1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@chrubuntu:/home/user#
答案1
尝试这些命令,
sudo dpkg -i --force-architecture --ignore-depends haansoft-hwp7-plugin_7.5.6.482-4axDT3_i386.deb
sudo dpkg -i --force-architecture --ignore-depends haansoft-common7-gst_7.5.6.536-5axDT3_i386.deb