我一直竭尽全力尝试修复 Wine32 的这个问题,因为我试图让它在我的 Ubuntu 18.04 笔记本电脑上运行。
首先我使用以下方法添加了 i386 架构
sudo dpkg --add-architecture i386
并检查了
sudo dpkg --print-foreign-architectures
并确认 i386 确实存在。继续运行
sudo apt-get install wine32
我只是得到
sudo apt-get install wine32
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
apt : Breaks: aptitude:i386 (< 0.8.10)
aptitude:i386 : Depends: libapt-pkg4.12:i386 (>= 0.8.16~exp12ubuntu6) but it is not installable
Depends: libboost-iostreams1.46.1:i386 (>= 1.46.1-1) but it is not installable
Depends: libcwidget3:i386 but it is not installable
Depends: libept1.4.12:i386 but it is not installable
Depends: libncursesw5:i386 (>= 5.6+20070908) but it is not going to be installed
Depends: libsigc++-2.0-0c2a:i386 (>= 2.0.2) but it is not installable
Depends: libsqlite3-0:i386 (>= 3.6.5) but it is not going to be installed
Depends: libxapian22:i386 but it is not installable
Recommends: apt-xapian-index:i386 but it is not installable
Recommends: libparse-debianchangelog-perl:i386 but it is not installable
aptitude-common : Recommends: aptitude
Breaks: aptitude:i386 (< 0.8.10-4)
ppa-purge : Depends: aptitude
wine32:i386 : Depends: libwine:i386 (= 3.0-1ubuntu1) but it is not going to be installed
Recommends: wine-stable:i386 (= 3.0-1ubuntu1)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)
我尝试使用 Aptitude 做同样的事情,但没有任何运气,当我使用 Aptitude 运行命令时,我遇到了类似的错误
aptitude: error while loading shared libraries: libapt-pkg.so.4.12: cannot open shared object file: No such file or directory
所以我回到 apt-get 并尝试修复损坏的软件包,并得到以下输出
sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
libcwidget3v5
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
aptitude:i386 libapt-pkg5.0:i386 libboost-filesystem1.65.1:i386
libboost-iostreams1.65.1:i386 libboost-system1.65.1:i386 libbz2-1.0:i386
libcwidget3v5:i386 liblz4-1:i386 liblzma5:i386 libncursesw5:i386
libsigc++-2.0-0v5:i386 libsqlite3-0:i386 libuuid1:i386 libxapian30:i386
libzstd1:i386
Suggested packages:
aptitude-doc-en:i386 | aptitude-doc:i386 apt-xapian-index:i386 debtags:i386
tasksel:i386 libcwidget-dev:i386 xapian-tools:i386
Recommended packages:
libparse-debianchangelog-perl:i386 apt:i386
The following packages will be REMOVED:
apt apt-utils ubuntu-desktop ubuntu-minimal ubuntu-release-upgrader-gtk
update-manager update-notifier update-notifier-common
The following NEW packages will be installed:
libapt-pkg5.0:i386 libboost-filesystem1.65.1:i386
libboost-iostreams1.65.1:i386 libboost-system1.65.1:i386 libbz2-1.0:i386
libcwidget3v5:i386 liblz4-1:i386 liblzma5:i386 libncursesw5:i386
libsigc++-2.0-0v5:i386 libsqlite3-0:i386 libuuid1:i386 libxapian30:i386
libzstd1:i386
The following packages will be upgraded:
aptitude:i386
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
apt
1 upgraded, 14 newly installed, 8 to remove and 1 not upgraded.
2 not fully installed or removed.
Need to get 4.565 kB of archives.
After this operation, 2.320 kB of additional disk space will be used.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
上次我这样做时,Ubuntu 搞乱了,需要我安装软件包才能访问桌面,但它却只带我进入启动错误屏幕,只显示一个命令行。我该如何修复它?我努力尝试安装单个依赖项,但遇到了更多麻烦,例如安装 1 个依赖项时要求删除 20 个其他软件包,而 Ubuntu 需要使用这些软件包才能正常运行。
全新安装没有帮助,我尝试过 Lutris/PlayOnLinux。在 PlayOnLinux 上我得到
Wine cannot find the FreeType font library. To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
err:syslink:SYSLINK_SetFont Failed to create link font!
我真的很迷茫,尝试了网上能找到的所有解决方案,但似乎都没有用,如果有任何方法可以解决这个问题而不破坏我的 ubuntu 安装并进行全新安装,我将不胜感激