PDA

View Full Version : Need help installing wine on debian sarge


Wraithfire
26th September 2006, 10:14
Hi guys, I'd like to know if anyone could point me to a good tutorial on installing wine on debian sarge (stable). I found a few on the web, but they all involved using apt to install wine. When I try this, i keep getting a message saying that
Package wine 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
I added deb http://wine.sourceforge.net/apt/ binary/ to /etc/apt/sources.list and updated my packages but i get the same message. Is wine only available for testing on debian?

falko
27th September 2006, 21:18
Is wine only available for testing on debian?
No, it's also in stable.
What's in /etc/apt/sources.list? Maybe you mixed up some repositories...

Wraithfire
28th September 2006, 05:46
Here is what's in my /etc/apt/sources.list :

#deb file:///cdrom/ sarge main

#Stable
deb http://mirror.espri.arizona.edu/debian-amd64/debian/ stable main contrib no$deb-src http://mirror.espri.arizona.edu/debian-amd64/debian/ stable main contri$deb http://security.debian.org/ sarge/updates main contrib non-free
deb-src http://security.debian.org/ sarge/updates main contrib non-free

#Testing
deb http://ftp.us.debian.org/debian etch main non-free contrib
#deb http://non-us.debian.org/debian-non-US etch/non-US main contrib non-free
deb-src http://ftp.us.debian.org/debian etch main non-free contrib
#deb-src http://non-us.debian.org/debian-non-US etch/non-US main contrib non-fr$#deb-src http://security.debian.org etch/updates main contrib non-free

deb http://www.backports.org/debian/ sarge-backports main

#http://www.us.kernel.org/pub/
deb ftp://ftp.tux.org/java/debian/ sarge non-free

I added the testing section last night to see if I wanted any packages out of there. I'm interested in installing wine or cedega on my system, but it seems not all of the needed needed packages are available to me on debian sarge. When I tried
sudo dpkg -i python2.4-dbus_0.62-4_amd64.deb
this was returned:
dpkg: dependency problems prevent configuration of python2.4-dbus:
python2.4-dbus depends on libc6 (>= 2.3.5-1); however:
Version of libc6 on system is 2.3.2.ds1-22.
python2.4-dbus depends on libdbus-1-2 (>= 0.62); however:
Package libdbus-1-2 is not installed.
python2.4-dbus depends on libdbus-glib-1-2 (>= 0.62); however:
Package libdbus-glib-1-2 is not installed.
python2.4-dbus depends on python2.4-libxml2; however:
Package python2.4-libxml2 is not installed.
dpkg: error processing python2.4-dbus (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python2.4-dbus

Now I did not check each package, but I know that some of these it says I'm missing I have installed and updated to the latest available package, such as libc6. Unless it's a problem with my sources.list file, or maybe because I'm running 64bit? Not really sure.

falko
29th September 2006, 14:48
#deb file:///cdrom/ sarge main

#Stable
deb http://mirror.espri.arizona.edu/debian-amd64/debian/ stable main contrib no$deb-src http://mirror.espri.arizona.edu/debian-amd64/debian/ stable main contri$deb http://security.debian.org/ sarge/updates main contrib non-free
deb-src http://security.debian.org/ sarge/updates main contrib non-free
You have lost some line breaks in your sources.list. Each repository should go in a line of its own...

Wraithfire
30th September 2006, 04:10
hmm, not sure how I got it looking like that, but I had it correct. Must have copied it wrong before. This is how it looks:

#deb file:///cdrom/ sarge main

#Stable
deb http://mirror.espri.arizona.edu/debian-amd64/debian/ stable main contrib non-free
deb-src http://mirror.espri.arizona.edu/debian-amd64/debian/ stable main contrib non-free
deb http://security.debian.org/ sarge/updates main contrib non-free
deb-src http://security.debian.org/ sarge/updates main contrib non-free

#Testing
deb http://ftp.us.debian.org/debian etch main non-free contrib
#deb http://non-us.debian.org/debian-non-US etch/non-US main contrib non-free
deb-src http://ftp.us.debian.org/debian etch main non-free contrib
#deb-src http://non-us.debian.org/debian-non-US etch/non-US main contrib non-free
#deb-src http://security.debian.org etch/updates main contrib non-free

deb http://www.backports.org/debian/ sarge-backports main

#http://www.us.kernel.org/pub/
deb ftp://ftp.tux.org/java/debian/ sarge non-free
deb http://wine.sourceforge.net/apt/ binary/
deb-src http://wine.sourceforge.net/apt/ source/

sjau
30th September 2006, 11:11
There's a really nice howto for Ubuntu:

http://www.ubuntuforums.org/showthread.php?t=149585

I guess with one or two modifications you could use the same for Debian...

falko
1st October 2006, 13:57
I guess you wouldn't have jad problems with wine if you only had

#Stable
deb http://mirror.espri.arizona.edu/debian-amd64/debian/ stable main contrib non-free
deb-src http://mirror.espri.arizona.edu/debian-amd64/debian/ stable main contrib non-free
deb http://security.debian.org/ sarge/updates main contrib non-free
deb-src http://security.debian.org/ sarge/updates main contrib non-free

in sources.list from the beginning.

Wraithfire
1st October 2006, 20:19
Well I guess it doesn't matter to much now, i tried to update the available packets from testing and when i was installing one, I totally broke gnome and evolution. I tried removing the broken packages to no avail. After a few hours of trying to fix it, I ended up installing fedora core 5. I refuse to go back to using windows...
BTW, does anyone know how to change the default movie player in fedora 5?

sjau
2nd October 2006, 00:14
As desktop I can recommend Ubuntu... currently I'm on Kubuntu 6.10 Edgy :)
The wine installation I linked to above was made for 6.06 Dapper

falko
2nd October 2006, 14:06
Well I guess it doesn't matter to much now, i tried to update the available packets from testing and when i was installing one, I totally broke gnome and evolution. I tried removing the broken packages to no avail.
Now you know that it's a good idea to be very conservative with changing your sources.list. ;)

Wraithfire
3rd October 2006, 00:26
Lol yeah, no kidding. I'll keep that in mind. In any event Fedora seems to be working well. A lot of the packages I was having trouble installing on Debian seem to be easier to set up in Fedora. Although I do miss apt :( . And Debian seemed to have better wallpaper too. There's just something sweet about that swirl...

sjau
3rd October 2006, 00:33
Well Debian has slow release cycles but you get stable stable packages... not "testing" stable ones...
I think Debian is perfectly suited as webserver but if you want wine and a desktop use Mepis, Ubuntu, FC, Suse, ....