LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-02-2007, 03:32 PM   #1
Barnes
Member
 
Registered: Jun 2007
Location: Halifax, NS, Canada
Distribution: Debian
Posts: 30

Rep: Reputation: 15
Trouble Installing Wine


This is the error I get:

WARNING: The following packages cannot be authenticated!
wine
Install these packages without verification [y/N]? y
(Reading database ... 70230 files and directories currently installed.)
Unpacking wine (from .../wine_0.9.40~winehq0~debian~4.0-1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/wine_0.9.40~winehq0~debian~4.0-1_i386.deb (--unpack):
trying to overwrite `/usr/lib/wine/mapi32.dll.so', which is also in package libwine
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/wine_0.9.40~winehq0~debian~4.0-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

What does this mean, and how do I fix it?

Barnes.
 
Old 07-02-2007, 11:58 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960
The first "not authenticated" warning means that you don't have the proper gpg key set up. The winehq debian/ubuntu download page explains how to do that.

But your main problem is clearly stated in the message. "trying to overwrite `/usr/lib/wine/mapi32.dll.so', which is also in package libwine". This probably means you have the debian repository version of libwine installed. You don't need it if you install the winehq package because it installs its own version of libwine. Try uninstalling all current wine and libwine packages, then try again.
 
Old 07-03-2007, 01:16 AM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
It is easier to compile WINE. Usually the maintainer uses old versions, so you are not using up to date versions that may work better. IMHO, do not waste your time with WINE. Use VMware Server instead.
 
Old 07-03-2007, 08:00 AM   #4
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960
Sorry Electro, I have to disagree with you. First of all the package mentioned above, version 0.9.40, IS the latest, hot-off-the-presses version of wine, obtained directly from winehq and not from the debian distro repositories (which I agree can often be a few versions out of date). And installing a package is nearly always easier than compiling from source. If you can't get a precompiled binary to run, you're likely to have even more trouble compiling.

Second, there are very good reasons to choose wine over a VM. The biggest of course is that you need a licensed Windows OS to run in the VM. But there's also added complexity and computer overhead involved in a virtual machine. If you only have one or two apps to run, and wine supports them satisfactorily, then it's often the most convenient and reasonable solution. It certainly runs the few apps I use satisfactorily.
 
Old 07-03-2007, 03:20 PM   #5
Barnes
Member
 
Registered: Jun 2007
Location: Halifax, NS, Canada
Distribution: Debian
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks, wine is installed. But iTunes won't run. Got it installed, saw a few fixme messages run through, this is what I get when I try to run Wine.

barnes@Barnes:~/Desktop$ wine iTunes
wine: could not load L"c:\\windows\\system32\\iTunes.exe": Module not found
barnes@Barnes:~/Desktop$

What am I missing?


Barnes

Last edited by Barnes; 07-03-2007 at 07:09 PM.
 
Old 07-03-2007, 09:20 PM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You have to specify the full path where you intalled iTunes. iTunes does not work easily in WINE because all the copyright and drm crap that checks for every file. WINE may crash during the use of iTunes.

Quote:
Originally Posted by David the H.
Sorry Electro, I have to disagree with you. First of all the package mentioned above, version 0.9.40, IS the latest, hot-off-the-presses version of wine, obtained directly from winehq and not from the debian distro repositories (which I agree can often be a few versions out of date). And installing a package is nearly always easier than compiling from source. If you can't get a precompiled binary to run, you're likely to have even more trouble compiling.

Second, there are very good reasons to choose wine over a VM. The biggest of course is that you need a licensed Windows OS to run in the VM. But there's also added complexity and computer overhead involved in a virtual machine. If you only have one or two apps to run, and wine supports them satisfactorily, then it's often the most convenient and reasonable solution. It certainly runs the few apps I use satisfactorily.
Not true. Installing packages is not always easy even with tools to minimize dependency problems. WINE does not run Windows applications as easily as running them in a virtual machine running Windows. I do not think you ever tried VMware. I have used VMware several times, it does not have a high overhead like you said. To use Windows programs with ease in Linux, I strongly recommend using VMware. IMHO, WINE is a useless project and it will never be reliable and stable for any environment.

I have used VMware playing a Windows game while capturing video with minimal lag. The computer is using an AMD 700 MHz 'Classic' with 512 MB of RAM.
 
Old 07-04-2007, 06:44 PM   #7
Barnes
Member
 
Registered: Jun 2007
Location: Halifax, NS, Canada
Distribution: Debian
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Electro
You have to specify the full path where you intalled iTunes. iTunes does not work easily in WINE because all the copyright and drm crap that checks for every file. WINE may crash during the use of iTunes.


Not true. Installing packages is not always easy even with tools to minimize dependency problems. WINE does not run Windows applications as easily as running them in a virtual machine running Windows. I do not think you ever tried VMware. I have used VMware several times, it does not have a high overhead like you said. To use Windows programs with ease in Linux, I strongly recommend using VMware. IMHO, WINE is a useless project and it will never be reliable and stable for any environment.

I have used VMware playing a Windows game while capturing video with minimal lag. The computer is using an AMD 700 MHz 'Classic' with 512 MB of RAM.
So, I can run iTunes in VMware with only Lilnux installed on my computer?

Barnes
 
Old 07-05-2007, 03:47 AM   #8
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
VMware runs on either Windows or Linux as the host, so yes VMware can run. VMware creates a virtual machine which is another computer. If you have a 1 GHz or faster processor, sound should work fine. I recommend at least 512 MB of RAM to share the memory between the host OS and the guest OS. There is one problem, the virtual machine needs an installation of Windows. To save space on your virtual disk image that VMware creates after a Windows installation, use the software from litepc.com.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble installing obscure software in WINE Bazbo Linux - Software 14 05-03-2007 11:21 PM
trouble installing WINe sp00kri0t Linux - Newbie 2 11-22-2005 08:34 PM
trouble installing a game through wine syphoncode.32 Linux - Newbie 1 10-21-2004 06:15 AM
Trouble installing Wine jkt Linux - Software 16 11-05-2003 08:43 PM
Trouble installing/configuring wine and freetype jerrymc Linux - Software 2 06-27-2002 09:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration