Wine uninstalled broken on Linux Mint

Solution:

Aptitude is very smart and fixed the issues it was because of nvidia cuda and opencl and nothing else suggested or hinted this using apt


sudo aptitude install wine
The following NEW packages will be installed:
  ocl-icd-libopencl1{ab} ocl-icd-libopencl1:i386{ab} wine wine1.6
  wine1.6-amd64{a} wine1.6-i386:i386{a}
The following packages will be REMOVED:
  kdenlive-data{u}
The following packages are RECOMMENDED but will NOT be installed:
  fonts-horai-umefont fonts-unfonts-core libcapi20-3 libgif4:i386
  libosmesa6 libosmesa6:i386 libp11-kit-gnome-keyring:i386
  p11-kit-modules:i386 unixodbc unixodbc:i386 winbind wine-gecko2.21
  wine-gecko2.21:i386 wine-mono0.0.8 winetricks
0 packages upgraded, 6 newly installed, 1 to remove and 56 not upgraded.
Need to get 32.5 MB of archives. After unpacking 235 MB will be used.
The following packages have unmet dependencies:
 ocl-icd-libopencl1 : Conflicts: libopencl1 which is a virtual package.
 ocl-icd-libopencl1:i386 : Conflicts: libopencl1 which is a virtual package.
 nvidia-libopencl1-340 : Conflicts: libopencl1 which is a virtual package.
                         Conflicts: libopencl1:i386 which is a virtual package.
The following actions will resolve these dependencies:

     Remove the following packages:
1)     nvidia-cuda-toolkit        
2)     nvidia-libopencl1-331      
3)     nvidia-libopencl1-340      
4)     nvidia-opencl-dev          



Accept this solution? [Y/n/q/?]

 

 

Work:

============

Somehow my wine install became uninstalled and cannot be reinstalled:

 

sudo apt-get install wine
[sudo] password for one:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:

The following packages have unmet dependencies:
 wine : Depends: wine1.6 but it is not going to be installed or
                 wine1.8 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
user@box:~/Downloads$ dpkg -l|grep wine
ii  libkwineffects1abi4                                         4:4.11.11-0ubuntu0.2                                amd64        library used by effects for the KDE window manager
rc  wine1.6                                                     1:1.6.2-0ubuntu4                                    amd64        Microsoft Windows Compatibility Layer (Binary Emulator and Library)
rc  wine1.6-amd64                                               1:1.6.2-0ubuntu4                                    amd64        Microsoft Windows Compatibility Layer (64-bit support)
rc  wine1.6-i386                                                1:1.6.2-0ubuntu4                                    i386         Microsoft Windows Compatibility Layer (32-bit support)
user@box:~/Downloads$ sudo apt-get reinstall wine1.6
E: Invalid operation reinstall
user@box:~/Downloads$ sudo apt-get --reinstall install wine1.6
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:

The following packages have unmet dependencies:
 wine1.6 : Depends: wine1.6-amd64 (= 1:1.6.2-0ubuntu4)
           Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu4)
E: Unable to correct problems, you have held broken packages.
user@box:~/Downloads$ sudo apt-get remove wine1.6

user@box:~/Downloads$ sudo apt-get remove wine1.6
[sudo] password for one:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package 'wine1.6' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libasn1-8-heimdal:i386 libgssapi3-heimdal:i386 libhcrypto4-heimdal:i386
  libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386 libhx509-5-heimdal:i386
  libkrb5-26-heimdal:i386 libkutils4 liblcms2-2:i386 libldap-2.4-2:i386
  libroken18-heimdal:i386 libsasl2-2:i386 libsasl2-modules-db:i386
  libwind0-heimdal:i386
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 58 not upgraded.
user@box:~/Downloads$ sudo apt-get remove wine
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package 'wine' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libasn1-8-heimdal:i386 libgssapi3-heimdal:i386 libhcrypto4-heimdal:i386
  libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386 libhx509-5-heimdal:i386
  libkrb5-26-heimdal:i386 libkutils4 liblcms2-2:i386 libldap-2.4-2:i386
  libroken18-heimdal:i386 libsasl2-2:i386 libsasl2-modules-db:i386
  libwind0-heimdal:i386
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 58 not upgraded.
user@box:~/Downloads$ sudo apt-get install wine
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:

The following packages have unmet dependencies:
 wine : Depends: wine1.6 but it is not going to be installed or
                 wine1.8 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
user@box:~/Downloads$ sudo apt-get install wine1.8
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:

The following packages have unmet dependencies:
 wine1.8 : Depends: wine1.8-amd64 (= 1:1.8.0-0ubuntu1) but it is not going to be installed
           Depends: wine1.8-i386 (= 1:1.8.0-0ubuntu1)
E: Unable to correct problems, you have held broken packages.
user@box:~/Downloads$ sudo apt-get install wine1.8-amd64
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:

The following packages have unmet dependencies:
 wine1.8-amd64 : Depends: libopencl-1.1-1
                 Depends: wine1.8:any (= 1:1.8.0-0ubuntu1)
E: Unable to correct problems, you have held broken packages.
user@box:~/Downloads$ cd ~^C
 


Tags:

uninstalled, linux, mintsolution, aptitude, nvidia, cuda, opencl, hinted, apt, sudo, install, packages, installed, ocl, icd, libopencl, ab, amd, kdenlive, recommended, fonts, horai, umefont, unfonts, libcapi, libgif, libosmesa, libp, gnome, keyring, modules, unixodbc, winbind, gecko, mono, winetricks, upgraded, newly, mb, archives, unpacking, unmet, dependencies, conflicts, virtual, resolve, toolkit, dev, reinstalled, password, lists, dependency, requested, unstable, incoming, unable, user, downloads, dpkg, grep, ii, libkwineffects, abi, ubuntu, kde, rc, microsoft, compatibility, layer, binary, emulator, reinstall, invalid, automatically, libasn, heimdal, libgssapi, libhcrypto, libheimbase, libheimntlm, libhx, libkrb, libkutils, liblcms, libldap, libroken, libsasl, db, libwind, autoremove,

Latest Articles

  • How To Stop DNSMasq from listening on all IPs/Interfaces and allow only localhost
  • du - VAS Billing Subscriptions Hack/Scam MLPremiumSub Invascom Astromart Issues Complaint
  • Docker Swarm vs Kubernetes Comparison Guide
  • When is it time to leave your VPS/VDS Cloud Hosting Provider?
  • 2024 Buyer's Guide: How to Choose and Buy the Best VPS/VDS for Your Needs - Tips and Strategies
  • Postfix / sendmail config for DKIM, SPF and DMARC Tutorial Guide E-mail Delivery for Hotmail.com Gmail.com and More HowTo
  • Install Grafana on Linux Debian Ubuntu Tutorial Guide
  • How To Completely Disable ufw in Linux Ubuntu Mint Debian
  • System has not been booted with systemd as init system (PID 1). Can't operate. Failed to talk to init daemon. Ubuntu Debian Linux Solution Cannot reboot
  • Mint Ubuntu Linux Gnome Showing Home Directory on Desktop instead of Desktop Directory
  • vi vim not doing code highlighting E319: Sorry, the command is not available in this version solution
  • Proxmox How To Rename Node Hostname Fix Solution
  • Linux how to get list of all timezones on system Ubuntu
  • Proxmox install issue cannot see the buttons or install wrong / bad resolution cannot see the entire screen problem solution
  • configure.ac:75: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. solution
  • Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326. autoreconf: failed to run aclocal: No such file or directory solution
  • /bin/sh: autoreconf: command not found solution
  • glib-2.0 required to compile QEMU solution
  • How To Upgrade Debian 8,9,10 to Debian 12 Bookworm
  • Linux dhcp dhclient Mint Redhat Ubuntu Debian How To Use Local Domain DNS Server Instead of ISPs