Can not install wine on ubuntu 64bit
I'm trying to get wine to install on Ubuntu 12.1 64 bit. I should mention that I'm extremely new (like 2 weeks) to Linux, and feel, in the words or Mr. Plant, dazed and confused. I get the following message when trying to install wine from the software center.
The following packages have unmet dependencies:
wine1.4: PreDepends: dpkg (>= 1.15.7.2~) but 1.16.7ubuntu6 is to be installed
Depends: libc6 (>= 2.14) but 2.15-0ubuntu20 is to be installed
Depends: wine1.4-amd64 (= 1.4.1-0ubuntu1) but 1.4.1-0ubuntu1 is to be installed
Depends: wine1.4-i386 (= 1.4.1-0ubuntu1) but it is not going to be installed
Now, I've learned enough to know (I think) that this means that theres some missing library or something that wine will need in order to run properly. But, I have no idea what to do about it and I don't seem to be having much luck searching around. The fact that it's asking about "wine 1.4-i386" leads me to believe that there's some sort of incompatibility problem involving the64 bit Ubuntu. If this is the case I don't mind switching to 32 bit (can I run a 32 bit OS on a 64 bit machine?) especially since I only have 4GB of RAM anyways.
Anyways, any suggestions would be much appreciated.
Thank you in advance,
Mike
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu wine Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Can you give the output of:
apt-cache policy wine wine-1.4; lsb_release -a; uname -a
Thanks
Revision history for this message
|
#2 |
wine:
Installed: (none)
Candidate: 1.5.17-0ubuntu4
Version table:
1.
500 http://
1.4.1-0ubuntu1 0
500 http://
N: Unable to locate package wine-1.4
N: Couldn't find any package by regex 'wine-1.4'
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
Linux ubuntu 3.5.0-18-generic #29-Ubuntu SMP Fri Oct 19 10:26:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Revision history for this message
|
#3 |
Try:
sudo apt-get install wine-1.5
Revision history for this message
|
#4 |
Sorry:
sudo apt-get install wine1.5
Revision history for this message
|
#5 |
I also suggest reading this:
Revision history for this message
|
#6 |
Action Parsnip (that makes me grin whenever I see it), Sorry for the late response. This is the output from attempting to install using the line you gave me:
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.5 : Depends: wine1.5-i386 (= 1.5.17-0ubuntu4) but it is not installable
E: Unable to correct problems, you have held broken packages.
Mark, thank you for the link. I'll spend some time reading through that.
Revision history for this message
|
#7 |
try
sudo apt-get install wine1.5-i386 --no-install-
and report what the output is
Revision history for this message
|
#8 |
mike@ubuntu:~$ sudo apt-get install wine1.5-i386 --no-install-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package wine1.5-i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'wine1.5-i386' has no installation candidate
mike@ubuntu:~$
Revision history for this message
|
#9 |
I am not 100% sure about that, but there might be an error related to packaging in the ubuntu-wine ppa - installing wine1.5 on amd64 requires wine1.5-i365, but that is not found.
please provide the output of the following commands:
apt-cache policy
sudo apt-get update
apt-cache policy wine1.5*
Revision history for this message
|
#10 |
mike@ubuntu:~$ apt-cache policy
Package files:
100 /var/lib/
release a=now
500 http://
release v=12.10,
origin ppa.launchpad.net
500 http://
500 http://
500 http://
500 http://
500 http://
release v=12.10,
origin us.archive.
500 http://
release v=12.10,
origin us.archive.
500 http://
release v=12.10,
origin us.archive.
500 http://
release v=12.10,
origin us.archive.
500 http://
500 http://
500 http://
500 http://
500 http://
release v=12.10,
origin security.ubuntu.com
500 http://
release v=12.10,
origin security.ubuntu.com
500 http://
release v=12.10,
origin security.ubuntu.com
500 http://
release v=12.10,
origin security.ubuntu.com
500 http://
500 http://
500 http://
500 http://
500 http://
release v=12.10,
origin us.archive.
500 http://
release v=12.10,
origin us.archive.
500 http://
release v=12.10,
origin us.archive.
500 http://
release v=12.10,
origin us.archive.
Pinned packages:
mike@ubuntu:~$ sudo apt-get update
[sudo] password for mike:
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Ign http://
Get:1 http://
Get:2 http://
Hit http://
Hit http://
Get:3 http://
Get:4 http://
Hit http://
Get:5 http://
Get:6 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:7 http://
Hit http://
Hit http://
Get:8 http://
Hit http://
Hit http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Ign http://
Ign http://
Get:20 http://
Hit http://
Get:21 http://
Get:22 http://
Hit http://
Get:23 http://
Get:24 http://
Get:25 http://
Hit http://
Hit http://
Get:26 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Fetched 635 kB in 5s (124 kB/s)
Reading package lists... Done
mike@ubuntu:~$ apt-cache policy wine1.5*
wine1.3-gecko:
Installed: (none)
Candidate: (none)
Version table:
wine1.4-amd64:
Installed: (none)
Candidate: 1.4.1-0ubuntu1
Version table:
1.4.1-0ubuntu1 0
500 http://
wine1.5-i386:
Installed: (none)
Candidate: (none)
Version table:
wine1.0:
Installed: (none)
Candidate: (none)
Version table:
wine1.2:
Installed: (none)
Candidate: 1.4.1-0ubuntu1
Version table:
1.4.1-0ubuntu1 0
500 http://
wine1.3:
Installed: (none)
Candidate: 1.4.1-0ubuntu1
Version table:
1.4.1-0ubuntu1 0
500 http://
wine1.4:
Installed: (none)
Candidate: 1.4.1-0ubuntu1
Version table:
1.4.1-0ubuntu1 0
500 http://
wine1.5:
Installed: (none)
Candidate: 1.5.18-0ubuntu1
Version table:
1.
500 http://
wine1.4-common:
Installed: (none)
Candidate: 1.4.1-0ubuntu1
Version table:
1.4.1-0ubuntu1 0
500 http://
wine1.5-amd64:
Installed: (none)
Candidate: 1.5.18-0ubuntu1
Version table:
1.
500 http://
wine1.4-dbg:
Installed: (none)
Candidate: 1.4.1-0ubuntu1
Version table:
1.4.1-0ubuntu1 0
500 http://
wine1.4-dev:
Installed: (none)
Candidate: 1.4.1-0ubuntu1
Version table:
1.4.1-0ubuntu1 0
500 http://
wine1.2-gecko:
Installed: (none)
Candidate: (none)
Version table:
wine1.4-i386:
Installed: (none)
Candidate: (none)
Version table:
wine1.5-dbg:
Installed: (none)
Candidate: 1.5.18-0ubuntu1
Version table:
1.
500 http://
wine1.5-dev:
Installed: (none)
Candidate: 1.5.18-0ubuntu1
Version table:
1.
500 http://
ttf-symbol-
Installed: (none)
Candidate: (none)
Version table:
mike@ubuntu:~$
Revision history for this message
|
#11 |
I suggest you enable the multiverse and universe repo in software centre. It'll probably have what you need.
Revision history for this message
|
#12 |
@actionparsnip: multiverse and universe are enabled as shown in the apt-cache policy command above.
@Michael:
There are several bug reports about problems installing 32 bit packages in amd64 architecture.
One of the possible causes is wrong configuration of dpkg.
Please issue these two commands and copy/paste all output:
dpkg --print-
dpkg --print-
Revision history for this message
|
#13 |
mike@ubuntu:~$ dpkg --print-
amd64
mike@ubuntu:~$ dpkg --print-
mike@ubuntu:~$
Revision history for this message
|
#14 |
As my own system is 32 bit, I do not have the problems with 32/64 bit. I can only refer to documentation.
Several sources on the web tell that for multiarch support you need that dpkg --print-
I do not know why your system doesn't.
Do you have the package multiarch-support installed?
Some people wrote that after issuing the commands
sudo dpkg --add-architecture i386
sudo apt-get update
it worked for them, e.g. https:/
Revision history for this message
|
#15 |
Thanks Manfred Hampl, that solved my question.
Revision history for this message
|
#16 |
Thank you for your help! I was able to install from the software center thanks to your help.
For reference (yours as well as anyone else who comes here looking for help:
I did have multiarch-support installed.
Running the commands:
sudo dpkg --add-architecture i386
sudo apt-get update
... fixed the problem for me.
It should be noted that this problem was persistent for me through multiple reinstalls of Ubuntu. I installed each time from the windows based installer found on Ubuntu's website. I didn't have the chance to try installing from disc because I couldn't find any blank DVDs or thumbdrives in my house.
Thanks again for your help!
... and ActionParsnip's, too!