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

  • Unable to mount location Failed to retrieve share list from server: Connection timed out - Samba/Linux Filesharing Not working Ubuntu Mint Linux Solution
  • How To Resize, Reduce a Video to a Specific Size and Quality Ubuntu Linux using ffmpeg
  • vi how to delete all lines in the file
  • Linux Mint / Ubuntu 20 Intel I219 NIC disconnects
  • Linux can't boot/grub boot loader screen with no options solution
  • EFI PXE grub2 Howto guide for Linux EFI PXE Booting on Debian, Mint, Ubuntu, RHEL
  • Aruba/HP/Dell IAP Wireless Controller Common Default Passwords
  • Debian, Mint Ubuntu how to remove package and associated config files
  • Linux Grub not booting the intended kernel solution in Debian, Mint, Ubuntu how to specify which kernel to boot by default
  • QEMU KVM Keyboard Problems Not Working Right Repeating Characters, Ctrl+C Copy and Paste not working right when using PS2 mouse in guests Solution
  • Linux how to compile binary with static sharedobjects embedded instead of dynamic to use on multi-distributions and avoid glibc compatiblity issues
  • /bin/sh: msgfmt: not found error solution on Linux Compilation Ubuntu Debian Mint Centos
  • Mikrotik RouterOS CHR/ISO Basic and Quick Setup Howto Guide
  • qemu 4 compilation options
  • CentOS 7 8 PXEBoot Netinstall Not Working Solution "Pane is dead "new value non-exisetnt xfs filesystem is not valid as a default fs type"
  • CentOS 6 EOL yum repo won't work Error: Cannot find a valid baseurl for repo: base Solution
  • CentOS 7 8 How To Disable SELinux
  • Wordpress How To Add Featured Image To Post in Hueman Theme
  • kdenlive full reset how to erase all config files
  • CentOS 7 8 yum error Trying other mirror. To address this issue please refer to the below wiki article