如何删除 wine 及其依赖项?

如何删除 wine 及其依赖项?

我想从我的 Ubuntu 14.04 trusty tahr 中删除 wine1.7。但是当我输入sudo apt-get purge wine它时,它不起作用,我给了我

软件包未安装

所以我输入了它sudo apt-get purge wine(tab)并显示了包裹所以我做了

sudo apt-get purge wine1.7 wine1.7-amd64 wine1.7-i386 wine-gecko2.34 wine-mono4.5.4 winetricks 

我卸载了 wine,但告诉我要

sudo apt-get autoremove

删除孤立的软件包,但当我自动删除时,它破坏了我的系统。幸运的是我有一个 clonezilla 分区备份,所以我恢复了一个星期前的操作系统,但它有

葡萄酒

安装所以我回到了我开始的地方。所以我的问题是如何在不破坏我的系统的情况下删除 wine 及其依赖项?以下是根据易于但正如我所说,当我这样做时,sudo apt-get autoremove它会破坏我的系统

这是包裹

The following packages were automatically installed and are no longer required:
  fonts-horai-umefont gcc-4.8-base:i386 gnome-exe-thumbnailer icoutils
  libasn1-8-heimdal:i386 libasound2:i386 libasound2-plugins:i386
  libasyncns0:i386 libavahi-client3:i386 libavahi-common-data:i386
  libavahi-common3:i386 libcapi20-3 libcapi20-3:i386 libcups2:i386
  libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libelf1:i386
  libexif12:i386 libexpat1:i386 libffi6:i386 libflac8:i386 libfontconfig1:i386
  libfreetype6:i386 libgcrypt11:i386 libgd3:i386 libgif4:i386
  libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386
  libglib2.0-0:i386 libglu1-mesa:i386 libgnutls26:i386 libgpg-error0:i386
  libgphoto2-6:i386 libgphoto2-port10:i386 libgssapi-krb5-2:i386
  libgssapi3-heimdal:i386 libgstreamer-plugins-base0.10-0:i386
  libgstreamer0.10-0:i386 libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386
  libheimntlm0-heimdal:i386 libhx509-5-heimdal:i386 libice6:i386
  libieee1284-3:i386 libjack-jackd2-0:i386 libjbig0:i386 libjpeg-turbo8:i386
  libjpeg8:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-26-heimdal:i386
  libkrb5-3:i386 libkrb5support0:i386 liblcms2-2:i386 libldap-2.4-2:i386
  libllvm3.4:i386 libltdl7:i386 libmpg123-0 libmpg123-0:i386 libodbc1
  libogg0:i386 libopenal1:i386 liborc-0.4-0:i386 libosmesa6 libosmesa6:i386
  libp11-kit0:i386 libpcap0.8:i386 libpciaccess0:i386 libpng12-0:i386
  libpulse0:i386 libroken18-heimdal:i386 libsamplerate0:i386 libsane:i386
  libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386 libsm6:i386
  libsndfile1:i386 libspeexdsp1:i386 libsqlite3-0:i386 libssl1.0.0:i386
  libstdc++6:i386 libtasn1-6:i386 libtiff5:i386 libtxc-dxtn-s2tc0:i386
  libusb-1.0-0:i386 libv4l-0:i386 libv4lconvert0:i386 libvorbis0a:i386
  libvorbisenc2:i386 libvpx1:i386 libwind0-heimdal:i386 libwrap0:i386
  libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386
  libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386
  libxcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386
  libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386
  libxml2:i386 libxpm4:i386 libxrandr2:i386 libxrender1:i386
  libxshmfence1:i386 libxslt1.1:i386 libxt6:i386 libxxf86vm1:i386
  ocl-icd-libopencl1:i386 odbcinst odbcinst1debian2 p11-kit-modules:i386 p7zip
  unixodbc wine-gecko2.34:i386
Use 'apt-get autoremove' to remove them.

答案1

我建议使用 apt-get autoremove,完成后使用 synaptic 或其他程序修复损坏的依赖关系。不确定这是否会起作用,但我会尝试。我删除了 wine 并在 15.10 上使用 apt-get autoremove,它工作正常。也许您需要进行系统更新或做些什么。有一件事我没有做,那就是 sudo apt-get purge,我通常使用 synaptic,右键单击并选择标记以完全删除,它让我安装了一个通用版本,现在记不太清楚了,但随后我自动删除了大部分与您相同的内容,它要求我重新启动并启动正常。

答案2

尝试这个:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get autoremove
sudo apt-get purge wine*
sudo apt-get autoremove

这应该会刷新缓存并确保您拥有所有更新的软件包,然后删除不必要的软件包,然后再删除 wine 和一些“不必要的”软件包。

如果没有任何作用,就忽略它们。99.99%的用户都有足够的磁盘空间来保存它们。

相关内容