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 allow SSH root user access in Linux/Debian/Mint/RHEL/Ubuntu/CentOS
  • Ansible Tutorial - Playbook How To Install From Scratch and Deploy LAMP + Wordpress on Remote Server
  • Ceph Install Errors on Proxmox / How To Fix Solution
  • Proxmox Update Error https://enterprise.proxmox.com/debian/pve bullseye InRelease 401 Unauthorized [IP: 144.217.225.162 443]
  • QEMU/KVM How to Hot-add A Virtual Disk .raw/.qcow2 via QEMU Monitor Commands
  • Proxmox How To Enable Ceph Distributed Storage Cluster with OSD and Pools
  • pulseaudio issue on QEMU/KVM guest VM when microphone is replugged/unplugged pulseaudio: pa_threaded_mainloop_lock failed pulseaudio: Reason: Invalid argument
  • Ubuntu Linux Mint - Volume Control Stopped Working
  • Proxmox Services Won't Start Failed to start The Proxmox VE cluster filesystem. Proxmox VE firewall. PVE Status Daemon. Proxmox VE scheduler. PVE Cluster HA Resource Manager Daemon. PVE Local HA Resource Manager Daemon.
  • Proxmox Guide FAQ / Errors / Howto
  • Virtualbox Vbox Issue Cannot Enable Nested Virtualization Button is Grayed/Greyed Out and Unclickable HowTo Solution
  • Virtualbox VBOX Howto Port Forward To Guests
  • Linux Ubuntu Debian Centos Mint - How To Check if Intel VT-x or AMD-V Hardware Virtualization is Enabled?
  • Linux Howto Zip Multiple Files and Directories
  • Windows Cannot Format USB drive Device Media is Write Protected Error Solution
  • Linux Mint 20 cannot install snapd missing solution
  • Virtualbox VBOX How To Install Guest-Utils/GuestUtils so drag and drop and clipboard works Ubuntu Mint Debian Linux
  • How to install Kubernetes with microk8s and deploy apps on Debian/Mint/Ubuntu Linux
  • vi how to delete everything to the end of the line or the rest of the line from the cursor
  • Cisco Howto Configure Console Port/Terminal/Comm Server with Async Cable Setup