apt --fix-broken 安装不起作用,安装 wine-stable 后包管理器坏了

欧诺克

我在 ubuntu 18.04 上。我尝试安装 wine-stable,但出现错误。现在我不能再安装或删除任何东西了。

我怎样才能解决这个问题?

martin@D002-0113:~$ sudo apt --fix-broken 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:
  libatkmm-1.6-1v5 libcairomm-1.0-1v5 libgmp-dev libgmpxx4ldbl libgtkmm-3.0-1v5 libnih-dbus1
  libpangomm-1.4-1v5 libpcre16-3 libtbb2 python-apt python-pycurl
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  fonts-wine libwine libwine:i386
The following NEW packages will be installed:
  fonts-wine libwine libwine:i386
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 39,9 MB of archives.
After this operation, 375 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://nl.archive.ubuntu.com/ubuntu bionic/universe amd64 libwine amd64 3.0-1ubuntu1 [20,2 MB]
Get:2 http://nl.archive.ubuntu.com/ubuntu bionic/universe i386 libwine i386 3.0-1ubuntu1 [19,5 MB]
Get:3 http://nl.archive.ubuntu.com/ubuntu bionic/universe amd64 fonts-wine all 3.0-1ubuntu1 [146 kB]
Fetched 39,9 MB in 4s (11,3 MB/s)  
(Reading database ... 258482 files and directories currently installed.)
Preparing to unpack .../libwine_3.0-1ubuntu1_amd64.deb ...
Unpacking libwine:amd64 (3.0-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libwine_3.0-1ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/wine/acledit.dll.so', which is also in package wine1.8-amd64 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../libwine_3.0-1ubuntu1_i386.deb ...
Unpacking libwine:i386 (3.0-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libwine_3.0-1ubuntu1_i386.deb (--unpack):
 trying to overwrite '/usr/lib/i386-linux-gnu/wine/acledit.dll.so', which is also in package wine1.8-i386:i386 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../fonts-wine_3.0-1ubuntu1_all.deb ...
Unpacking fonts-wine (3.0-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/fonts-wine_3.0-1ubuntu1_all.deb (--unpack):
 trying to overwrite '/usr/share/wine/fonts/coue1255.fon', which is also in package wine1.8 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libwine_3.0-1ubuntu1_amd64.deb
 /var/cache/apt/archives/libwine_3.0-1ubuntu1_i386.deb
 /var/cache/apt/archives/fonts-wine_3.0-1ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

更多信息:

sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of wine32:i386:
 wine32:i386 depends on libwine (= 3.0-1ubuntu1); however:
  Package libwine:i386 is not installed.

dpkg: error processing package wine32:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine64:
 wine64 depends on libwine (= 3.0-1ubuntu1); however:
  Package libwine:amd64 is not installed.

dpkg: error processing package wine64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine-stable:
 wine-stable depends on wine64 (>= 3.0-1ubuntu1) | wine32 (>= 3.0-1ubuntu1); however:
  Package wine64 is not configured yet.
  Package wine32:i386 is not configured yet.
 wine-stable depends on wine64 (<< 3.0-1ubuntu1.1~) | wine32 (<< 3.0-1ubuntu1.1~); however:
  Package wine64 is not configured yet.
  Package wine32:i386 is not configured yet.

dpkg: error processing package wine-stable (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 wine32:i386
 wine64
 wine-stable

还试过:

sudo dpkg -P wine1.8
dpkg: dependency problems prevent removal of wine1.8:
 wine1.8-i386:i386 depends on wine1.8:any (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1).
 wine1.8-amd64 depends on wine1.8:any (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1).
 winetricks depends on wine; however:
  Package wine is not installed.
  Package wine1.6 which provides wine is not installed.
  Package wine1.8 which provides wine is to be removed.
  Package wine-stable which provides wine is not configured yet.

dpkg: error processing package wine1.8 (--purge):
 dependency problems - not removing
Errors were encountered while processing:
 wine1.8
martin@D002-0113:~$ sudo dpkg -P wine1.8-amd64 
dpkg: dependency problems prevent removal of wine1.8-amd64:
 wine1.8 depends on wine1.8-amd64 (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1).

dpkg: error processing package wine1.8-amd64 (--purge):
 dependency problems - not removing
Errors were encountered while processing:
 wine1.8-amd64
欧诺克

我修复了它:

sudo dpkg --force depends -P wine1.8-i386
sudo dpkg --force depends -P wine1.8
sudo dpkg --force depends -P wine1.8-amd64

然后 sudo apt --fix-broken install

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

apt --fix-broken安装失败

来自分类Dev

apt --fix-broken安装错误子过程

来自分类Dev

apt --fix-broken 安装在解包时失败

来自分类Dev

无法安装(sudo apt --fix-broken install)

来自分类Dev

LTS 18.04上的KDE-无法升级或“ sudo apt --fix-broken安装”

来自分类Dev

sudo apt-get 更新在安装 PPA 后不起作用

来自分类Dev

apt-get尝试从wine安装,但wine已被卸载

来自分类Dev

软件管理器无法安装软件包。互联网连接正常。sudo apt-get install fluidsynth不起作用

来自分类Dev

使用Apt包管理器的管道

来自分类Dev

Aptitude软件包管理器是否还需要APT安装软件所需的依赖项和存储库?

来自分类Dev

如何在我的自定义 Linux 发行版中安装 Debian 包管理器(dpk 和 apt)?

来自分类Dev

是的 apt-get install --fix-broken

来自分类Dev

Ubuntu下apt fix-broken install的问题

来自分类Dev

在16.04上使用apt安装google-chrome-stable

来自分类Dev

通过apt-get install安装Opencpu,不起作用

来自分类Dev

apt安装旧版本的gcc(不起作用)

来自分类Dev

apt-get 更新/安装不起作用

来自分类Dev

安装12.04后声音不起作用

来自分类Dev

安装12.04后声音不起作用

来自分类Dev

全局安装后 Composer 不起作用

来自分类Dev

npm坏了,所以尝试过的才能,这打破了apt AND aptitude,使我没有程序包管理器

来自分类Dev

为什么像apt和pacman这样的软件包管理器不能像snap那样同时安装多个软件包

来自分类Dev

从源代码安装icewm不起作用,但apt-get起作用

来自分类Dev

软件包管理器的问题(能力和apt)

来自分类Dev

安装get deb后无法打开synaptic软件包管理器

来自分类Dev

在Ubuntu 18.04 Server安装上安装ubuntu-desktop时,网络管理器不起作用

来自分类Dev

错误:BrokenCount > 0 无法使用“sudo apt --fix-broken install”解决

来自分类Dev

运行 apt --fix-broken install 时处理存档时出错

来自分类Dev

如何使用apt-get在Ubuntu上安装最新的uWSGI / stable

Related 相关文章

  1. 1

    apt --fix-broken安装失败

  2. 2

    apt --fix-broken安装错误子过程

  3. 3

    apt --fix-broken 安装在解包时失败

  4. 4

    无法安装(sudo apt --fix-broken install)

  5. 5

    LTS 18.04上的KDE-无法升级或“ sudo apt --fix-broken安装”

  6. 6

    sudo apt-get 更新在安装 PPA 后不起作用

  7. 7

    apt-get尝试从wine安装,但wine已被卸载

  8. 8

    软件管理器无法安装软件包。互联网连接正常。sudo apt-get install fluidsynth不起作用

  9. 9

    使用Apt包管理器的管道

  10. 10

    Aptitude软件包管理器是否还需要APT安装软件所需的依赖项和存储库?

  11. 11

    如何在我的自定义 Linux 发行版中安装 Debian 包管理器(dpk 和 apt)?

  12. 12

    是的 apt-get install --fix-broken

  13. 13

    Ubuntu下apt fix-broken install的问题

  14. 14

    在16.04上使用apt安装google-chrome-stable

  15. 15

    通过apt-get install安装Opencpu,不起作用

  16. 16

    apt安装旧版本的gcc(不起作用)

  17. 17

    apt-get 更新/安装不起作用

  18. 18

    安装12.04后声音不起作用

  19. 19

    安装12.04后声音不起作用

  20. 20

    全局安装后 Composer 不起作用

  21. 21

    npm坏了,所以尝试过的才能,这打破了apt AND aptitude,使我没有程序包管理器

  22. 22

    为什么像apt和pacman这样的软件包管理器不能像snap那样同时安装多个软件包

  23. 23

    从源代码安装icewm不起作用,但apt-get起作用

  24. 24

    软件包管理器的问题(能力和apt)

  25. 25

    安装get deb后无法打开synaptic软件包管理器

  26. 26

    在Ubuntu 18.04 Server安装上安装ubuntu-desktop时,网络管理器不起作用

  27. 27

    错误:BrokenCount > 0 无法使用“sudo apt --fix-broken install”解决

  28. 28

    运行 apt --fix-broken install 时处理存档时出错

  29. 29

    如何使用apt-get在Ubuntu上安装最新的uWSGI / stable

热门标签

归档