我是一個 ubuntu 新手,每當我嘗試下載一些東西時,都會有一堆未滿足的 wine 依賴項,我會運行 sudo apt-get -f install 並獲取它。
bailey@bailey-FQ565AA-ABA-a6700f:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libkresources4 libqrencode3 libkprintutils4 libqscintilla2-8 libsm-dev
libkldap4 ttf-umefont libice-dev libkcalcore4 libprison0
gir1.2-ubuntuoneui-3.0 libkholidays4 libknewstuff2-4 libpthread-stubs0
linux-headers-3.2.0-55 python-qscintilla2 linux-headers-3.2.0-55-generic
nvidia-settings-304-updates libakonadi-kmime4 libakonadiprotocolinternals1
mysql-server-core-5.5 wine-mono0.0.8 akonadi-backend-mysql x11proto-kb-dev
libkmbox4 xtrans-dev libkcalutils4 akonadi-server libmicroblog4
wine-gecko2.21 wine-gecko2.21:i386 wine-gecko1.4 wine-gecko1.4:i386
x11proto-input-dev libkabc4 mysql-client-core-5.5 libxt-dev
linux-headers-3.5.0-23-generic libkcal4 libkalarmcal2 libakonadi-calendar4
language-pack-kde-en linux-headers-3.5.0-23 libkimap4 libxau-dev
kde-l10n-engb libmailtransport4 libubuntuoneui-3.0-1 openjdk-7-jre-lib
libkpimtextedit4 libkmime4 kdepimlibs-kio-plugins ttf-unfonts-core
thunderbird-globalmenu xorg-sgml-doctools libakonadi-kabc4 libx11-dev
libkpimidentities4 libkpimutils4 libx11-doc libxcb1-dev
language-pack-kde-en-base kdepim-runtime libakonadi-kcal4 x11proto-core-dev
libakonadi-notes4 libxdmcp-dev libpthread-stubs0-dev libakonadi-contact4
libakonadi-kde4 python-kde4 libdmtx0a
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
wine1.7 wine1.7-amd64 wine1.7-i386:i386
Suggested packages:
dosbox:any
Recommended packages:
wine-gecko2.24
The following packages will be upgraded:
wine1.7 wine1.7-amd64 wine1.7-i386:i386
3 upgraded, 0 newly installed, 0 to remove and 305 not upgraded.
3 not fully installed or removed.
Need to get 0 B/58.2 MB of archives.
After this operation, 7,751 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: dependency problems prevent configuration of wine1.7:
wine1.7 depends on wine1.7-i386 (= 1:1.7.15-0ubuntu1); however:
Package wine1.7-i386 is not installed.
Version of wine1.7-i386:i386 on system is 1:1.7.16-0ubuntu1.
dpkg: error processing wine1.7 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine1.7-i386:i386:
wine1.7-i386:i386 depends on wine1.7:any (= 1:1.7.16-0ubuntu1); however:
Version of wine1.7 on system is 1:1.7.15-0ubuntu1.
dpkg: error processing wine1.7-i386:i386 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of wine1.7-amd64:
wine1.7-amd64 depends on wine1.7:any (= 1:1.7.15-0ubuntu1); however:
Package wine1.7 is not configured yet.
dpkg: error processing wine1.7-amd64 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
wine1.7
wine1.7-i386:i386
wine1.7-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
答案1
首先刪除與 WineHQ 相關的所有內容:
sudo apt-get purge wine*
現在運行清理以清除所有剩餘的東西(順便說一句。所有 KDE 的東西從哪裡來?)。這將刪除所有作為依賴項安裝的程序,不再需要該程式。
sudo apt-get autoremove
現在運行sudo apt-get install -f
,以防仍然有損壞的包。
安裝 PlayOnLinux:
sudo apt-get install playonlinux
使用 PlayOnLinux 處理所有與 Wine 相關的事情。它有一個虛擬驅動器管理器,可以為您安裝的每個程式建立一個 wine 前綴。