Problems with Wine on Debian

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
ThomasM
Newbie
Newbie
Posts: 2
Joined: Tue Nov 04, 2008 11:46 am

Problems with Wine on Debian

Post by ThomasM »

Hello all,

I am fairly new to Linux, so I hope that the following problem is not just me being ... new to Linux.

I have been trying to install Wine on Debian (Etch 4.09 I think it is called). I first tried to use the

apt-get install Wine

command followed by the winecfg (creating the .wine folder), but when I tried to run the notepad.exe (i.e. with the command wine /home/thomas/.wine/drive_c/windows/notepad.exe) I get the error message

"module not found" (error number126)

I tried then to follow the tutorial on the blog:
TuxArena: Running Google Chrome Under Wine 1.1.6 in Debian

But then "apt-get update" gives me this

Code: Select all

debian-502:/home/thomas# sudo apt-get update
Ign cdrom://[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 NETINST Binary-1 20080804-15:10] etch Release.gpg
Ign cdrom://[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 NETINST Binary-1 20080804-15:10] etch Release
Ign cdrom://[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 NETINST Binary-1 20080804-15:10] etch/contrib Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 NETINST Binary-1 20080804-15:10] etch/main Packages/DiffIndex
Get:1 http://ftp.us.debian.org etch Release.gpg [386B]
Hit http://ftp.us.debian.org etch Release
Get:2 http://wine.budgetdedicated.com hardy Release.gpg [191B]
Get:3 http://security.debian.org etch/updates Release.gpg [189B]
Ign http://ftp.us.debian.org etch/main Packages/DiffIndex
Hit http://wine.budgetdedicated.com hardy Release
Ign http://ftp.us.debian.org etch/main Sources/DiffIndex
Hit http://security.debian.org etch/updates Release
Hit http://ftp.us.debian.org etch/main Packages
Ign http://wine.budgetdedicated.com hardy/main Packages/DiffIndex
Hit http://ftp.us.debian.org etch/main Sources
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://wine.budgetdedicated.com hardy/main Sources/DiffIndex
Ign http://wine.budgetdedicated.com hardy/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Sources/DiffIndex
Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex
Ign http://wine.budgetdedicated.com hardy/main Packages
Hit http://security.debian.org etch/updates/main Packages
Hit http://security.debian.org etch/updates/contrib Packages
Hit http://wine.budgetdedicated.com hardy/main Sources
Hit http://security.debian.org etch/updates/main Sources
Ign http://wine.budgetdedicated.com hardy/main Packages
Hit http://security.debian.org etch/updates/contrib Sources
Get:4 http://wine.budgetdedicated.com hardy/main Packages [1092B]
99% [4 Packages gzip 0] [Waiting for headers]
gzip: stdin: not in gzip format
Err http://wine.budgetdedicated.com hardy/main Packages
  Sub-process gzip returned an error code (1)
Get:5 http://wine.budgetdedicated.com hardy/main Packages [1092B]
99% [5 Packages gzip 0]
gzip: stdin: not in gzip format
Err http://wine.budgetdedicated.com hardy/main Packages
  Sub-process gzip returned an error code (1)
Fetched 5B in 1s (4B/s)
Failed to fetch http://wine.budgetdedicated.com/apt/dists/hardy/main/binary-i386/Packages.gz  Sub-process gzip returned an error code (1)
Failed to fetch http://wine.budgetdedicated.com/apt/dists/hardy/main/binary-i386/Packages.gz  Sub-process gzip returned an error code (1)
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.
I then tried to install wine anyway (using apt-get install wine) and I got:

Code: Select all

Reading package lists... Done
Building dependency tree... 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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  wine: Depends: libasound2 (> 1.0.14) but 1.0.13-2 is to be installed
        Depends: libc6 (>= 2.4) but 2.3.6.ds1-13etch7 is to be installed
        Depends: libgphoto2-2 (>= 2.4.0) but 2.2.1-16 is to be installed
        Depends: libgphoto2-port0 (>= 2.4.0) but 2.2.1-16 is to be installed
        Depends: libldap-2.4-2 (>= 2.4.7) but it is not installable
        Depends: libxslt1.1 (>= 1.1.20) but 1.1.19-3 is to be installed
        PreDepends: dpkg (>= 1.14.12ubuntu3) but 1.13.25 is to be installed
E: Broken packages
What am I to do?

Thomas
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Problems with Wine on Debian

Post by vitamin »

ThomasM wrote:What am I to do?
Search for help on Debian forum. They will be able to better answer your questions.
ThomasM
Newbie
Newbie
Posts: 2
Joined: Tue Nov 04, 2008 11:46 am

Post by ThomasM »

vitamin wrote: Search for help on Debian forum. They will be able to better answer your questions.
I actually already tried the forum: http://www.linuxforums.org/ , but it was suggested me to try and ask here.

Thomas
Gert van den Berg

Problems with Wine on Debian

Post by Gert van den Berg »

On Tue, Nov 4, 2008 at 8:19 PM, ThomasM <[email protected]> wrote:
Hello all,

I am fairly new to Linux, so I hope that the following problem is not just me being ... new to Linux.

I have been trying to install Wine on Debian (Etch 4.09 I think it is called). I first tried to use the

Ign http://wine.budgetdedicated.com hardy/main Packages/DiffIndex
Ign http://wine.budgetdedicated.com hardy/main Sources/DiffIndex
Ign http://wine.budgetdedicated.com hardy/main Packages/DiffIndex
The following packages have unmet dependencies:
wine: Depends: libasound2 (> 1.0.14) but 1.0.13-2 is to be installed
Depends: libc6 (>= 2.4) but 2.3.6.ds1-13etch7 is to be installed
Depends: libgphoto2-2 (>= 2.4.0) but 2.2.1-16 is to be installed
Depends: libgphoto2-port0 (>= 2.4.0) but 2.2.1-16 is to be installed
Depends: libldap-2.4-2 (>= 2.4.7) but it is not installable
Depends: libxslt1.1 (>= 1.1.20) but 1.1.19-3 is to be installed
PreDepends: dpkg (>= 1.14.12ubuntu3) but 1.13.25 is to be installed
E: Broken packages
You probably should not have ubuntu sources in your sources.list. The
package format is the same, the naming, etc. not...

http://www.winehq.org/site/download-deb have the correct lines for
Debian.... (You might need to upgrade in order to use a recent
wine...) (The lenny lines will probably give similar problems....)

Gert
Cai

Problems with Wine on Debian

Post by Cai »

ThomasM wrote:
Hello all,

I am fairly new to Linux, so I hope that the following problem is not just me being ... new to Linux.

I have been trying to install Wine on Debian (Etch 4.09 I think it is called). I first tried to use the

apt-get install Wine

command followed by the winecfg (creating the .wine folder), but when I tried to run the notepad.exe (i.e. with the command wine /home/thomas/.wine/drive_c/windows/notepad.exe) I get the error message

"module not found" (error number126)

I tried then to follow the tutorial on the blog:
TuxArena: Running Google Chrome Under Wine 1.1.6 in Debian (http://tuxarena.blogspot.com/2008/10/ru ... 16-in.html)

But then "apt-get update" gives me this

Code:

debian-502:/home/thomas# sudo apt-get update
Ign cdrom://[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 NETINST Binary-1 20080804-15:10] etch Release.gpg
Ign cdrom://[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 NETINST Binary-1 20080804-15:10] etch Release
Ign cdrom://[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 NETINST Binary-1 20080804-15:10] etch/contrib Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 NETINST Binary-1 20080804-15:10] etch/main Packages/DiffIndex
Get:1 http://ftp.us.debian.org etch Release.gpg [386B]
Hit http://ftp.us.debian.org etch Release
Get:2 http://wine.budgetdedicated.com hardy Release.gpg [191B]
Get:3 http://security.debian.org etch/updates Release.gpg [189B]
Ign http://ftp.us.debian.org etch/main Packages/DiffIndex
Hit http://wine.budgetdedicated.com hardy Release
Ign http://ftp.us.debian.org etch/main Sources/DiffIndex
Hit http://security.debian.org etch/updates Release
Hit http://ftp.us.debian.org etch/main Packages
Ign http://wine.budgetdedicated.com hardy/main Packages/DiffIndex
Hit http://ftp.us.debian.org etch/main Sources
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://wine.budgetdedicated.com hardy/main Sources/DiffIndex
Ign http://wine.budgetdedicated.com hardy/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Sources/DiffIndex
Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex
Ign http://wine.budgetdedicated.com hardy/main Packages
Hit http://security.debian.org etch/updates/main Packages
Hit http://security.debian.org etch/updates/contrib Packages
Hit http://wine.budgetdedicated.com hardy/main Sources
Hit http://security.debian.org etch/updates/main Sources
Ign http://wine.budgetdedicated.com hardy/main Packages
Hit http://security.debian.org etch/updates/contrib Sources
Get:4 http://wine.budgetdedicated.com hardy/main Packages [1092B]
99% [4 Packages gzip 0] [Waiting for headers]
gzip: stdin: not in gzip format
Err http://wine.budgetdedicated.com hardy/main Packages
Sub-process gzip returned an error code (1)
Get:5 http://wine.budgetdedicated.com hardy/main Packages [1092B]
99% [5 Packages gzip 0]
gzip: stdin: not in gzip format
Err http://wine.budgetdedicated.com hardy/main Packages
Sub-process gzip returned an error code (1)
Fetched 5B in 1s (4B/s)
Failed to fetch http://wine.budgetdedicated.com/apt/dis ... ackages.gz Sub-process gzip returned an error code (1)
Failed to fetch http://wine.budgetdedicated.com/apt/dis ... ackages.gz Sub-process gzip returned an error code (1)
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.



I then tried to install wine anyway (using apt-get install wine) and I got:


Code:
Reading package lists... Done
Building dependency tree... 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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
wine: Depends: libasound2 (> 1.0.14) but 1.0.13-2 is to be installed
Depends: libc6 (>= 2.4) but 2.3.6.ds1-13etch7 is to be installed
Depends: libgphoto2-2 (>= 2.4.0) but 2.2.1-16 is to be installed
Depends: libgphoto2-port0 (>= 2.4.0) but 2.2.1-16 is to be installed
Depends: libldap-2.4-2 (>= 2.4.7) but it is not installable
Depends: libxslt1.1 (>= 1.1.20) but 1.1.19-3 is to be installed
PreDepends: dpkg (>= 1.14.12ubuntu3) but 1.13.25 is to be installed
E: Broken packages




What am I to do?

Thomas








I think you should install Wine from source code. It's easy and and can
avoid some dependency problems.
Locked