Installing Wine on Ubuntu 8.04

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Rafal07BC
Newbie
Newbie
Posts: 3
Joined: Sun Jun 29, 2008 5:41 am

Installing Wine on Ubuntu 8.04

Post by Rafal07BC »

I am trying install wine 1.0 on Ubuntu 8.04.

I have fallowed instruction on this site:
http://www.winehq.org/site/download-deb

But now when I try to install wine 1.0 i get dependency error:

Code: Select all

wine:
 Depends: libldap2 (>=2.1.17-1) but it is not installable
There is no libldap2 for Hardy Heron. There is libldap-2.4-2 and I have it installed.

How can I resolve this problem?
Forester
Level 2
Level 2
Posts: 35
Joined: Sun Jun 22, 2008 2:39 pm

Post by Forester »

I too have an Ubunru 8.04 derivate but I have sucessfully installed Wine 1.0. My install uses libldap-2.4.2 and that is what the dependencies tell me it needs.

Which Ubuntu deriviate do you have (I have Kubuntu, Mythbuntu and Xubuntu but not plain Ubuntu) ?

Which package manager are you using ? (adept, synaptic, plain apt ?).

First try the

sudo apt-get update

step again - past the command into a console window and try installing wine again. Check that it is trying to install Wine 1.0 and not the older 0.9.59 from the Ubuntu repositories.

If that still fails, report back with the output of

ls -lR /etc/apt

and

cat /etc/apt/sources.list.d/winehq.list
Rafal07BC
Newbie
Newbie
Posts: 3
Joined: Sun Jun 29, 2008 5:41 am

Post by Rafal07BC »

I have Xubuntu.

I use apt-get or synaptic.

I have made update and tried to install wine using apt-get this time, still the same error.

Output of requested commands:

Code: Select all

/etc/apt:
total 36
drwxr-xr-x 2 root root 4096 2008-05-31 21:45 apt.conf.d
-rw------- 1 root root    0 2008-04-22 21:31 secring.gpg
-rw-r--r-- 1 root root 2804 2008-06-26 22:01 sources.list
drwxr-xr-x 2 root root 4096 2008-06-29 11:40 sources.list.d
-rw-r--r-- 1 root root 2806 2008-06-26 22:01 sources.list.save
-rw------- 1 root root 1200 2008-04-22 21:31 trustdb.gpg
-rw-r--r-- 1 root root 7889 2008-06-29 11:39 trusted.gpg
-rw-r--r-- 1 root root 6713 2008-04-22 21:31 trusted.gpg~

/etc/apt/apt.conf.d:
total 40
-rw-r--r-- 1 root root  40 2008-05-31 21:38 00trustcdrom
-rw-r--r-- 1 root root 278 2008-04-22 17:20 01autoremove
-rw-r--r-- 1 root root 149 2008-04-22 17:20 01ubuntu
-rw-r--r-- 1 root root 157 2008-04-04 11:56 05aptitude
-rw-r--r-- 1 root root 129 2008-01-08 15:13 10periodic
-rw-r--r-- 1 root root 110 2008-02-01 16:55 15update-stamp
-rw-r--r-- 1 root root  85 2006-12-12 11:02 20archive
-rw-r--r-- 1 root root 595 2008-03-10 15:07 50unattended-upgrades
-rw-r--r-- 1 root root 182 2008-03-11 16:51 70debconf
-rw-r--r-- 1 root root 116 2006-12-12 11:02 99update-notifier

total 4
-rw-r--r-- 1 root root 160 2007-05-26 21:49 winehq.list

Code: Select all

deb http://wine.budgetdedicated.com/apt etch main #WineHQ - Debian 4.0 "Etch"
deb-src http://wine.budgetdedicated.com/apt etch main #WineHQ - Debian 4.0 "Etch"
Thanks for your help.
Forester
Level 2
Level 2
Posts: 35
Joined: Sun Jun 22, 2008 2:39 pm

Post by Forester »

Hmm ... it seems you are trying to install the Debain package, not the Ubunutu package.

In /etc/apt/sources.list.d/winehq.list you have:

Code: Select all

deb http://wine.budgetdedicated.com/apt etch main #WineHQ - Debian 4.0 "Etch"
deb-src http://wine.budgetdedicated.com/apt etch main #WineHQ - Debian 4.0 "Etch" 
while I have

Code: Select all

deb http://wine.budgetdedicated.com/apt hardy main #WineHQ - Ubuntu 8.04 "Hardy Heron"
#deb-src http://wine.budgetdedicated.com/apt hardy main #WineHQ - Ubuntu 8.04 "Hardy Heron"
I suspect you didn't find the instructions on http://www.winehq.org/site/download-deb clear enough.

I guess you followed:
For Debian Etch (4.0):
sudo wget http://wine.budgetdedicated.com/apt/sou ... /etch.list -O /etc/apt/sources.list.d/winehq.list
when you need to follow:
For Ubuntu Hardy (8.04):
sudo wget http://wine.budgetdedicated.com/apt/sou ... hardy.list -O /etc/apt/sources.list.d/winehq.list
Copy/paste mistakes are easily made. :wink:

Try the 'right' sudo wget command again and see if your Wine install works now.
Rafal07BC
Newbie
Newbie
Posts: 3
Joined: Sun Jun 29, 2008 5:41 am

Post by Rafal07BC »

Wow what a stupid mistake to make. Thank you very much, it works now.
Locked