我正在尝试在Ubuntu 20.04.1 LTS(如果重要的话 gnome 3.36.1)上安装 wine32:
sudo apt install wine32
但收到消息:
wine32:i386 : Depends: libwine:i386 (= 5.0-3ubuntu1) but it is not going to be installed
沿着依赖链向下走:
libwine:i386 : Depends: libasound2:i386 (>= 1.0.16) but it is not going to be installed
Depends: libfaudio0:i386 (>= 19.06.07) but it is not going to be installed
Depends: libgphoto2-6:i386 (>= 2.5.10) but it is not going to be installed
Depends: libgphoto2-port12:i386 (>= 2.5.10) but it is not going to be installed
Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not going to be installed
Depends: libopenal1:i386 (>= 1.14) but it is not going to be installed
Depends: libpulse0:i386 (>= 0.99.1) but it is not going to be installed
Depends: libudev1:i386 (>= 183) but it is not going to be installed
Depends: libxml2:i386 (>= 2.9.0) but it is not going to be installed
Recommends: libcups2:i386 (>= 1.4.0) but it is not going to be installed
Recommends: libdbus-1-3:i386 (>= 1.9.14) but it is not going to be installed
Recommends: libsane:i386 (>= 1.0.24) but it is not going to be installed
Recommends: libsdl2-2.0-0:i386 (>= 2.0.10) but it is not going to be installed
Recommends: libtiff5:i386 (>= 4.0.3) but it is not going to be installed
Recommends: libxslt1.1:i386 (>= 1.1.25) but it is not going to be installed
Recommends: libasound2-plugins:i386 but it is not going to be installed
Recommends: gstreamer1.0-plugins-good:i386 but it is not going to be installed
并随机选择一个并遵循它的依赖关系一直到:
sudo apt install libgoa-1.0-common:i386 -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libgoa-1.0-common' instead of 'libgoa-1.0-common:i386'
libgoa-1.0-common is already the newest version (3.36.0-1ubuntu1).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
我试过的,
- 运行
sudo apt-get install --install-recommends winehq-stable
(在将 WineHQ 存储库添加到源之后),运行 apt update 并再次尝试 - 运行
sudo dpkg --add-architecture i386
apt update 并重试 - 运行
sudo apt-get dist-upgrade
,,,sudo apt install -f
_sudo apt install autoremove
- 不小心卸载了gnome...
- 尝试能力:
The following NEW packages will be installed:
glib-networking:i386{ab} glib-networking-services:i386{ab} gstreamer1.0-plugins-base:i386{a} gstreamer1.0-plugins-good:i386{a} gstreamer1.0-x:i386{a} i965-va-driver:i386{a} intel-media-va-driver:i386{a} libaa1:i386{a} libaom0:i386{a} libasn1-8-heimdal:i386{a}
libasound2:i386{ab} libasound2-plugins:i386{a} libasyncns0:i386{a} libavahi-client3:i386{a} libavahi-common-data:i386{a} libavahi-common3:i386{a} libavc1394-0:i386{a} libavcodec58:i386{a} libavutil56:i386{a} libbrotli1:i386{a} libcaca0:i386{a} libcairo-gobject2:i386{a}
libcairo2:i386{a} libcap2:i386{a} libcapi20-3:i386{a} libcdparanoia0:i386{a} libcodec2-0.9:i386{a} libcups2:i386{ab} libcurl3-gnutls:i386{a} libdatrie1:i386{a} libdbus-1-3:i386{a} libdv4:i386{a} libexif12:i386{ab} libfaudio0:i386{a} libflac8:i386{a} libfontconfig1:i386{a}
libfreetype6:i386{a} libfribidi0:i386{a} libgd3:i386{a} libgdbm-compat4:i386{a} libgdbm6:i386{a} libgdk-pixbuf2.0-0:i386{a} libglib2.0-0:i386{a} libglu1-mesa:i386{a} libgmp10:i386{a} libgnutls30:i386{a} libgomp1:i386{a} libgphoto2-6:i386{a} libgphoto2-port12:i386{a}
libgraphite2-3:i386{a} libgsm1:i386{a} libgssapi-krb5-2:i386{a} libgssapi3-heimdal:i386{a} libgstreamer-plugins-base1.0-0:i386{a} libgstreamer-plugins-good1.0-0:i386{a} libgstreamer1.0-0:i386{a} libgudev-1.0-0:i386{a} libharfbuzz0b:i386{a} libhcrypto4-heimdal:i386{a}
libheimbase1-heimdal:i386{a} libheimntlm0-heimdal:i386{a} libhogweed5:i386{a} libhx509-5-heimdal:i386{a} libicu66:i386{a} libiec61883-0:i386{a} libieee1284-3:i386{a} libigdgmm11:i386{a} libjack-jackd2-0:i386{a} libjbig0:i386{a} libjpeg-turbo8:i386{a} libjpeg8:i386{a}
libk5crypto3:i386{a} libkeyutils1:i386{a} libkrb5-26-heimdal:i386{a} libkrb5-3:i386{a} libkrb5support0:i386{a} liblcms2-2:i386{a} libldap-2.4-2:i386{ab} libltdl7:i386{a} liblzma5:i386{ab} libmp3lame0:i386{a} libmpg123-0:i386{a} libmysqlclient21:i386{a} libnettle7:i386{a}
libnghttp2-14:i386{a} libnuma1:i386{a} libodbc1:i386{a} libogg0:i386{a} libopenal1:i386{a} libopenjp2-7:i386{a} libopus0:i386{a} liborc-0.4-0:i386{a} libosmesa6:i386{a} libp11-kit0:i386{a} libpango-1.0-0:i386{a} libpangocairo-1.0-0:i386{a} libpangoft2-1.0-0:i386{a}
libpcap0.8:i386{a} libpci3:i386{a} libperl5.30:i386{a} libpixman-1-0:i386{a} libpng16-16:i386{a} libproxy1v5:i386{a} libpsl5:i386{a} libpulse0:i386{ab} libraw1394-11:i386{a} libroken18-heimdal:i386{a} librsvg2-2:i386{a} librsvg2-common:i386{a} librtmp1:i386{a}
libsamplerate0:i386{a} libsane:i386{a} libsasl2-2:i386{a} libsasl2-modules:i386{a} libsasl2-modules-db:i386{a} libsdl2-2.0-0:i386{a} libshine3:i386{a} libshout3:i386{a} libslang2:i386{a} libsnappy1v5:i386{a} libsndfile1:i386{a} libsndio7.0:i386{a} libsnmp35:i386{a}
libsoup2.4-1:i386{a} libsoxr0:i386{a} libspeex1:i386{a} libsqlite3-0:i386{a} libssh-4:i386{a} libssl1.1:i386{a} libstb0:i386{a} libswresample3:i386{a} libsystemd0:i386{ab} libtag1v5:i386{a} libtag1v5-vanilla:i386{a} libtasn1-6:i386{a} libthai0:i386{a} libtheora0:i386{a}
libtiff5:i386{a} libtwolame0:i386{a} libudev1:i386{ab} libusb-1.0-0:i386{a} libv4l-0:i386{a} libv4lconvert0:i386{a} libva-drm2:i386{a} libva-x11-2:i386{a} libva2:i386{a} libvdpau1:i386{a} libvisual-0.4-0:i386{a} libvkd3d1:i386{a} libvorbis0a:i386{a} libvorbisenc2:i386{a}
libvpx6:i386{a} libwavpack1:i386{a} libwayland-cursor0:i386{a} libwayland-egl1:i386{a} libwebp6:i386{a} libwebpmux3:i386{a} libwind0-heimdal:i386{a} libwine:i386{a} libwrap0:i386{a} libx264-155:i386{a} libx265-179:i386{a} libxcb-render0:i386{a} libxcb-shm0:i386{a}
libxcb-xfixes0:i386{a} libxcomposite1:i386{a} libxcursor1:i386{a} libxi6:i386{a} libxinerama1:i386{a} libxkbcommon0:i386{a} libxml2:i386{a} libxpm4:i386{a} libxrandr2:i386{a} libxrender1:i386{a} libxslt1.1:i386{a} libxss1:i386{a} libxv1:i386{a} libxvidcore4:i386{a}
libzvbi0:i386{a} mesa-va-drivers:i386{a} mesa-vdpau-drivers:i386{a} ocl-icd-libopencl1:i386{a} va-driver-all:i386{a} vdpau-driver-all:i386{a} wine32:i386
0 packages upgraded, 185 newly installed, 0 to remove and 0 not to upgrade.
Need to get 41.7 MB/97.0 MB of archives. After unpacking 548 MB will be used.
The following packages have unmet dependencies:
glib-networking-services : Conflicts: glib-networking-services:i386 but 2.64.1-1 is to be installed
glib-networking-services:i386 : Conflicts: glib-networking-services but 2.64.2-1build1 is installed
libcups2 : Breaks: libcups2:i386 (!= 2.3.1-9ubuntu1.1) but 2.3.1-9ubuntu1 is to be installed
libcups2:i386 : Breaks: libcups2 (!= 2.3.1-9ubuntu1) but 2.3.1-9ubuntu1.1 is installed
libldap-2.4-2 : Breaks: libldap-2.4-2:i386 (!= 2.4.49+dfsg-2ubuntu1.2) but 2.4.49+dfsg-2ubuntu1 is to be installed
libldap-2.4-2:i386 : Breaks: libldap-2.4-2 (!= 2.4.49+dfsg-2ubuntu1) but 2.4.49+dfsg-2ubuntu1.2 is installed
libsystemd0 : Breaks: libsystemd0:i386 (!= 245.4-4ubuntu3.2) but 245.4-4ubuntu3 is to be installed
libsystemd0:i386 : Breaks: libsystemd0 (!= 245.4-4ubuntu3) but 245.4-4ubuntu3.2 is installed
glib-networking : Breaks: glib-networking:i386 (!= 2.64.2-1build1) but 2.64.1-1 is to be installed
glib-networking:i386 : Breaks: glib-networking (!= 2.64.1-1) but 2.64.2-1build1 is installed
libasound2-data : Breaks: libasound2:i386 (< 1.2.2-2.1ubuntu2) but 1.2.2-2.1 is to be installed
libudev1 : Breaks: libudev1:i386 (!= 245.4-4ubuntu3.2) but 245.4-4ubuntu3 is to be installed
libudev1:i386 : Breaks: libudev1 (!= 245.4-4ubuntu3) but 245.4-4ubuntu3.2 is installed
libexif12 : Breaks: libexif12:i386 (!= 0.6.21-6ubuntu0.1) but 0.6.21-6 is to be installed
libexif12:i386 : Breaks: libexif12 (!= 0.6.21-6) but 0.6.21-6ubuntu0.1 is installed
libpulse0 : Breaks: libpulse0:i386 (!= 1:13.99.1-1ubuntu3.6) but 1:13.99.1-1ubuntu3 is to be installed
libpulse0:i386 : Breaks: libpulse0 (!= 1:13.99.1-1ubuntu3) but 1:13.99.1-1ubuntu3.6 is installed
libasound2 : Breaks: libasound2:i386 (!= 1.2.2-2.1ubuntu2) but 1.2.2-2.1 is to be installed
libasound2:i386 : Breaks: libasound2 (!= 1.2.2-2.1) but 1.2.2-2.1ubuntu2 is installed
liblzma5 : Breaks: liblzma5:i386 (!= 5.2.4-1ubuntu1) but 5.2.4-1 is to be installed
liblzma5:i386 : Breaks: liblzma5 (!= 5.2.4-1) but 5.2.4-1ubuntu1 is installed
open: 26; closed: 1549; defer: 6; conflict: 14 oThe following actions will resolve these dependencies:
Keep the following packages at their current version:
1) glib-networking:i386 [Not Installed]
2) glib-networking-services:i386 [Not Installed]
3) gstreamer1.0-plugins-good:i386 [Not Installed]
4) libasound2:i386 [Not Installed]
5) libasound2-plugins:i386 [Not Installed]
6) libavahi-client3:i386 [Not Installed]
7) libavcodec58:i386 [Not Installed]
8) libcups2:i386 [Not Installed]
9) libcurl3-gnutls:i386 [Not Installed]
10) libdbus-1-3:i386 [Not Installed]
11) libexif12:i386 [Not Installed]
12) libfaudio0:i386 [Not Installed]
13) libgd3:i386 [Not Installed]
14) libgdk-pixbuf2.0-0:i386 [Not Installed]
15) libgphoto2-6:i386 [Not Installed]
16) libgphoto2-port12:i386 [Not Installed]
17) libgudev-1.0-0:i386 [Not Installed]
18) libldap-2.4-2:i386 [Not Installed]
19) liblzma5:i386 [Not Installed]
20) libopenal1:i386 [Not Installed]
21) libpci3:i386 [Not Installed]
22) libpulse0:i386 [Not Installed]
23) librsvg2-2:i386 [Not Installed]
24) librsvg2-common:i386 [Not Installed]
25) libsane:i386 [Not Installed]
26) libsdl2-2.0-0:i386 [Not Installed]
27) libsndio7.0:i386 [Not Installed]
28) libsnmp35:i386 [Not Installed]
29) libsoup2.4-1:i386 [Not Installed]
30) libsystemd0:i386 [Not Installed]
31) libtiff5:i386 [Not Installed]
32) libudev1:i386 [Not Installed]
33) libusb-1.0-0:i386 [Not Installed]
34) libwine:i386 [Not Installed]
35) libxml2:i386 [Not Installed]
36) libxslt1.1:i386 [Not Installed]
37) wine32:i386 [Not Installed]
Leave the following dependencies unresolved:
38) libopenal1:i386 recommends libasound2:i386 (>= 1.0.16)
39) libwine:i386 recommends libsdl2-2.0-0:i386 (>= 2.0.10)
40) libwine:i386 recommends gstreamer1.0-plugins-good:i386
Aptitude 提到了冲突,但不确定它们是否是问题所在。如果是,我为什么拥有它们以及如何修复它们。
我有类似的问题,但由于文件
libudev1:i386
中列出的 repo 中的问题sources.list
仅达到 version237-3ubuntu10.42
,同时,我的 libudev (arch amd64) 已通过自动更新到 237-3ubuntu10.43 进行更新。在您的情况下:glib-networking-services:冲突:glib-networking-services:i386 但 2.64.1-1 glib-networking-services:i386:冲突:glib-networking-services 但 2.64.2-1build1
你看,与 的
amd64 arch version
不同,amd32 arch version
一个是2.64.1-1
版本,另一个是2.64.2-1build1
版本。也许它在我们调用时偶然发生
sudo apt upgrade
。所以试试这个:
和
观察存在的版本,如果你在两个包中都有两个版本(观察
apt show
上面步骤中的结果)显示如下内容:
和
所以你很幸运,当 glib-networking-services (都是arch),有 2.64.2-1build1 并且有 2.64.1-1 只是观察已经安装的版本,例如
glib-networking-services
已经安装了 version2.64.2-1build1
,所以如果你有版本2.64.2-1build1
forglib-networking-services:i386
在您的软件包 source.list 中,但在glib-networking-services:i386
自动安装过程中始终选择版本2.64.1-1
,因此产生冲突,只需键入:sudo apt install glib-networking-services:i386=2.64.2-1build1
以确保安装了正确的版本。
但就我而言,就像我之前说的,amd32 (:i386) 版本不存在较新的版本,因此 64 拱包和 32 拱包不同的版本并导致冲突/损坏的包错误。并且不可能在这种情况下安装 arch32 软件包的更新版本,而我们的
sources.list
所以我要解决的是,我在 google 中搜索 libudev1:i386 version 237-3ubuntu10.43 (搜索 .deb 文件),幸运的是我在这里找到了它。所以我下载了deb文件。
之后安装它
sudo dpkg -i filename.deb
在安装过程中第一次尝试
dpkg -i
会出错,但会显示错误原因。在我的情况下发生是因为在记录存在于sources.lits中的版本的libudev文档中不存在237-3ubuntu10.43的版本。将其记录
changelog.Debian.gz
在文件夹中的文件/usr/share/doc/libudev1
(运行时将显示错误sudo dpkg -i filename.deb
)。所以我用 changelog.Debian.gz12 重命名该文件,然后
dpkg -i filename.deb
再次执行 sudo。现在它成功了。之后你就可以安装wine了。在我的情况下
libudev1:i386
,在你的情况下......,glib-networking-services:i386
但我认为这一步是相似的。请试试:
sudo apt --fix-broken install
这是有冲突的包:
看来您有一个已激活然后已禁用的存储库。
详细信息:架构 i386 和 amd64(默认)之间的包的版本冲突。因为其中一个是旧的并且是从无法访问或已禁用的存储库安装的。
检查使用哪个存储库:
和
software-properties-gtk
(“软件源”)