Unable to install wine on ubuntu 14.04 lts
16,391
You can try one of the following:
sudo apt-get -f install
To force install the dependencies and such.
Or try installing it via the Ubuntu Wine Team PPA:
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.7
Related videos on Youtube

Author by
whizcreed
I am an IT consultant with years of experience in web development. I have worked in several profiles including tam leader, scrum master, business analyst and more. I have started coming up with my own online systems and websites to server different purposes. My most recent project is http://ResolutionList.com
Updated on September 18, 2022Comments
-
whizcreed 9 months
I am using following article to fix this issue: http://ubuntuforums.org/showthread.php?t=2246183
This is the output I get:
aditya@aditya-Vostro-3446:~/$ sudo apt-get purge wine [sudo] password for aditya: Reading package lists... Done Building dependency tree Reading state information... Done Package wine is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 41 not upgraded. aditya@aditya-Vostro-3446:~/$ sudo apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 41 not upgraded. aditya@aditya-Vostro-3446:~/$ aditya@aditya-Vostro-3446:~/$ 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 to resolve the situation: The following packages have unmet dependencies: wine : Depends: wine1.6 but it is not going to be installed or wine1.7 but it is not going to be installed E: Unable to correct problems, you have held broken packages.
And when I try to install wine using ubuntu software center I get following message:
The following packages have unmet dependencies:
q4wine: Depends: libc6 (>= 2.14) but 2.15-0ubuntu10.9 is to be installed Depends: libgcc1 (>= 1:4.1.1) but 1:4.6.3-1ubuntu5 is to be installed Depends: libqt4-dbus (>= 4:4.5.3) but 4:4.8.1-0ubuntu4.8 is to be installed Depends: libqt4-network (>= 4:4.5.3) but 4:4.8.1-0ubuntu4.8 is to be installed Depends: libqt4-sql (>= 4:4.5.3) but 4:4.8.1-0ubuntu4.8 is to be installed Depends: libqt4-xml (>= 4:4.5.3) but 4:4.8.1-0ubuntu4.8 is to be installed Depends: libqtcore4 (>= 4:4.8.0) but 4:4.8.1-0ubuntu4.8 is to be installed Depends: libqtgui4 (>= 4:4.5.3) but 4:4.8.1-0ubuntu4.8 is to be installed Depends: libstdc++6 (>= 4.1.1) but 4.6.3-1ubuntu5 is to be installed
-
whizcreed over 8 years@karel please see this comment: askubuntu.com/questions/575706/… Do you still feel its a duplicate?
-
karel over 8 yearsAlso try this one: Can't install wine on Ubuntu 14.04
-
julka over 8 years
0 upgraded, 0 newly installed, 0 to remove and 41 not upgraded.
means that you have 41 upgrade pending. First try cleaning out packages you do not needsudo apt-get autoremove
. Then update your systemsudo apt-get update && sudo apt-get upgrade
. If there still are some packages not installed, go withsudo apt-get dist-upgrade
. Note, that this command will remove packages conflicting with the ones being installed, favouring more important ones. Try againsudo apt-get install wine
. -
Elder Geek over 8 yearsThe actual problem is: E: Unable to correct problems, you have held broken packages. I suggest you begin by following @julka advice in the comment above.
-
-
whizcreed over 8 yearsThe following packages have unmet dependencies: wine1.6 : Depends: wine1.6-i386 (= 1:1.6.1-0ubuntu1~ppa1~precise1) E: Unable to correct problems, you have held broken packages. The following packages have unmet dependencies: wine1.7 : Depends: wine1.7-i386 (= 1:1.7.18-0ubuntu1) E: Unable to correct problems, you have held broken packages.
-
whizcreed over 8 yearsthis is what i get in the end by using the ppa method: 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 to resolve the situation: The following packages have unmet dependencies: wine1.7 : Depends: wine1.7-i386 (= 1:1.7.18-0ubuntu1)
-
blade19899 over 8 yearsWhat version of Ubuntu are you running
AMD64
ori386
? Or you can try to Installwine1.7-i386
then? like so:sudo apt-get install wine1.7-i386
! -
blade19899 over 8 yearsAMD64 or i386??
-
whizcreed over 8 yearsuname output: Linux aditya-Vostro-3446 3.5.0-54-generic #81~precise1-Ubuntu SMP Tue Jul 15 04:02:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
-
whizcreed over 8 yearsI believe it is 64... but why wont it even install why software center..
-
blade19899 over 8 years
sudo apt-get install wine:i386
? This issues is related to What happened to the ia32-libs package? and How do you run a 32-bit program on a 64-bit version of Ubuntu? -
whizcreed over 8 yearsDo I need to install openjdk for wine to work?
-
whizcreed over 8 yearsI get: icedtea-netx : Depends: openjdk-6-jre (>= 6b23~pre10~) but it is not going to be installed or openjdk-7-jre but it is not going to be installed