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 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
  • Docker dockerd swarm high CPU usage cause solution
  • Docker Minimum Requirements/How Efficient is Docker? How Much Memory Does Dockerd Use?
  • qemu-nbd: Failed to set NBD socket solution qemu-nbd: Disconnect client, due to: Failed to read request: Unexpected end-of-file before all bytes were read
  • apache2 httpd apache server will not start [pid 22449:tid 139972160445760] AH00052: child pid 23248 exit signal Aborted (6) solution Mint Debian Ubuntu Redhat
  • How to use the FTDI USB serial cable to RJ45 adapter to connect to the console on Cisco/Juniper Switch Router Firewall in Linux Ubuntu Debian Redhat
  • How To Setup Python3 in Ubuntu Docker Image for AI Deep Learning
  • How to Configure NVIDIA GPUs with Docker on Ubuntu: A Comprehensive Guide for AI Deep Learning CUDA Solution
  • Linux Ubuntu Mint how to check nameservers when /etc/resolv.conf disabled solution
  • Docker cannot work on other overlayfs filesystems such as ecryptfs won't start overlayfs: filesystem on '/home/docker/overlay2/check-overlayfs-support130645871/upper' not supported as upperdir
  • Linux How To Access Original Contents of Directory Mounted Debian Mint CentOS Redhat Solution
  • ecryptfs how to manually encrypt your existing home directory or other directory
  • How to Reset CIPC Cisco IP Communicator for CME CUCM CallManager
  • Internet Explorer Cannot Download File "Your security settings do not allow for this file to be downloaded." Security Settings Solution
  • Linux How To Upgrade To The Latest Kernel Debian Mint Ubuntu
  • Firefox how to restore and backup saved passwords and history which files/location
  • Linux How To echo as root solution to use tee permission denied solution Ubuntu Debian Mint Redhat CentOS
  • Linux how to keep command line bash process running if you are disconnected or need to logout of SSH remotely
  • Linux swapping too much? How to check the swappiness and stop swapping