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

  • Linux qemu-kvm How To Enable Soundcard in Guestl
  • QEMU-KVM Windows and Server Guest Installs Mouse Tracking Pointer Location Solution
  • SSH Keep Alive To stop Disconnections
  • Linux How To Disable SATA NCQ For Better Performance
  • the sign-in method you're trying to use isn't allowed. For more info, contact your network administrator - solution for active directory
  • gsmartcontrol for Windows to Check the SMART S.M.A.R.T status
  • WebRTC Vulnerability Shows Local IP Address Even When Using a Proxy or VPN Firefox Fix And Disable Solution
  • chroot in Linux Howto Simple and Easy Guide
  • qemu-kvm qemu-system Image format was not specified for '/mnt/space/cucm12.img' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'ra
  • Linux Over VNC VMWare How To Switch Virtual Terminals Console Without Using Ctrl+Alt+F1
  • Skype For Business 2015 and 2019 Guide, Reference, Howto and Troubleshooting Solutions
  • Centos 6 or 7 no DHCP IP during startup on first boot or reboot solution
  • Debian / Mint / Ubuntu net-tools packages provides netstat, ifconfig, route, arp and other classic network admin tools
  • Linux Mint XWindows Ubuntu MATE or Cinnamon How To Restart The GUI / Graphics / Session if it freezes without losing current windows or programs
  • Linux bash prompt why does it not show username@host and the current directory?
  • Microsoft SQL Server Check What Version is Running
  • How to install and setup LXC Containers (OpenVZ alternative) on Centos 6 / 7
  • Cisco CUCM Unified Communication Manager Howto Guide and Tutorials
  • SSH persistent and automatic login script for proxy
  • SSH proxy/command in the background or from cron script