problem with installing wine with ubuntu7.10

Asked by ktym08

I am trying to install wine with ubuntu7.10. But it got error in the last step of the install.
The error message are attached below. Would appreciate if anyone could help.
Thank you.

$ sudo apt-get install wine
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package wine
kittymama@ktym:~/programs/simiondemo-8.0.4-20080101$ sudo apt-get update
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/main Translation-en_CA
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/restricted Translation-en_CA
Get:1 http://wine.budgetdedicated.com gutsy Release.gpg [191B]
Ign http://wine.budgetdedicated.com gutsy/main Translation-en_CA
Get:2 http://wine.budgetdedicated.com gutsy Release [1005B]
Ign http://wine.budgetdedicated.com gutsy/main Packages
Get:3 http://wine.budgetdedicated.com gutsy/main Sources [917B]
Get:4 http://wine.budgetdedicated.com gutsy/main Packages [1139B]
Fetched 3252B in 1s (2529B/s)
Reading package lists... Done

$ sudo apt-get install wine
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.

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 resolve the situation:

The following packages have unmet dependencies:
  wine: Depends: binfmt-support (>= 1.1.2) but it is not installable
        Depends: libaudio2 but it is not installable
E: Broken packages

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu wine Edit question
Assignee:
No assignee Edit question
Solved by:
Pramod Dematagoda
Solved:
Last query:
Last reply:
Revision history for this message
Best Pramod Dematagoda (pmdematagoda) said :
#1

Your problem may be with disabled repositories, open Software Sources in System>Administration>Software Sources and enable all the choices except for the CD-ROM in the Ubuntu Software tab, after that is done, close the window, you will be asked to reload the sources list, do that and then do:-

sudo apt-get install -f

and

sudo dpkg --configure -a

Revision history for this message
Scott Ritchie (scottritchie) said :
#2

It seems like Ubuntu is only looking on your CDs and the winehq repository for updated packages, possibly due to a selection at install time. You need to go to System->Administration->Synaptic Package Manager, select Settings->Repositories, and then check the boxes for downloading from the internet.

Revision history for this message
ktym08 (kittymama) said :
#3

Thanks to both Pramod Dematagoda and Scott Ritchie for pointing to the root cause. The problem is solved now.

Here is what I did exactly:
(1)System->software source->ubuntu software,
check all boxes except “software restricted by copy right and legal issue”,
(2)System->Update manager, down load and double "check" all updates
(3) run the following commands in the terminal:
 wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
 sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/winehq.list
sudo apt-get update
 sudo apt-get install wine

now the wine is running

Revision history for this message
ktym08 (kittymama) said :
#4

Thanks Pramod Dematagoda, that solved my question.

Revision history for this message
mb (mbakaya-yahoo) said :
#5

I did exactly as above. Under Application I got wine - Browse C:\Drive, but after downloading msworks from a cd provided by microsoft, I am unable to install msworks. After opening the setup file with wine windows emulator or wine-auto, the file does not open or run and no installation takes place.

Revision history for this message
ktym08 (kittymama) said :
#6

Sorry, I am not sure why msworks does not work with wine. Did you check wine web site to see if it is compatible?

http://www.winehq.org/site/download-deb

there is a list of SW names you can check the status. Maybe MS made it intentionally not compatible.

For me, I am fed up with the crap made by microsoft, and that's the reason I am switching to linux.
Ubuntu comes with all office utlities much better than MS (except their fonts). It took a little while to
get used to, but worth it.

Revision history for this message
ktym08 (kittymama) said :
#7

also I forgot to mention - I am using wine not for MS, but for a simulation program which was written for a window OS.

Revision history for this message
Loye Young (loyeyoung) said :
#8

Two things you should do before installing MSWorks.
First, install winefix. See http://ubuntuforums.org/showthread.php?t=533257
Next, run winecfg from a terminal. Go to Drives tab and autodetect drives. Note which drive letter is your CD.

Now install MSWorks:
Insert your MSWorks CD. Run from a console:
# wineconsole cmd

A DOS emulator window will open:
C:\

Type the letter of your CD drive followed by a colon. If your CD is d:\,
C:\ d:

It should respond by changing to:
D:\

Now run setup:
D:\setup.exe

That should give you better results.

Happy Trails,

Loye Young
Isaac & Young Computer Company
Laredo, Texas
http://www.iycc.biz

Revision history for this message
mb (mbakaya-yahoo) said :
#9

Thanks. I get stuck up at F:/.setup.exe (my drive is f) as no file is found. Even for other drives, same answer.
I tried opening setup.exe directly from cdrom with wine-auto. It says: "Works installed some files that will require a reboot. Please save your work before pressing OK. Setup will restart automatically." But does not reboot automatically nor any progress on manual rebooting. Where have I gone wrong?

Revision history for this message
Dan Kegel (dank) said :
#10

Was that a typo? Presumably you should have typed f:\setup.exe, not f:/.setup.exe.
(Or more likely,
  f:
  dir
  setup.exe
on two lines; the first line changes to the cd-rom drive,
the second line to verify there's a setup.exe in the current
directory (if you don't see one, something's wrong),
and the third line to run it.)

You were probably right on when you got setup.exe to run.
Note that when wine reboots, the system doesn't, so
perhaps everything is fine. Did you look in the system
menus for your app? E.g. Applications / Wine / Programs / Microsoft Works.

Revision history for this message
Loye Young (loyeyoung) said :
#11

mb,

When wine-auto works, it rocks, but it doesn't handle every case. Dan's suggestions are spot-on-target. (Great minds think alike!) Run "wineconsole cmd" to get to a DOS prompt and then follow the procedure Dan suggests.

If it's still not working for you, try:

# winefix f:\setup.exe

(which assumes you have already installed winefix as I suggested above).

Report back how it turns out.

Revision history for this message
mb (mbakaya-yahoo) said :
#12

dankegel - it is a a typo
I could install Microsoft Money, using both approaches. After installation, the file does appear in wine - Programs. When started either from this place or from the icon on desktop, I get: Microsoft Money has encountered a problem and needs to close down. There are two icons - one for restart and another to debug. Restarting leads to the same warning. Debug does not respond.
Another problem also crops up. If I try to eject the cd, it says an application is preventing the volume"MONEY" from being unmounted. I had to uninstall the application to eject the cd.
For msworks the setup.exe could not be found in the specified directory and nothing on wine Programs. Same result with winefix. Any alternative suggestions.

Revision history for this message
Dan Kegel (dank) said :
#13

To eject a CD, try giving the command "wine eject" from a terminal window.

For msworks, you'll need to look around on the cd-rom
for the installer executable. Which version of ms works is it?
http://support.microsoft.com/kb/279632 says that
for Works 6 or Works Suite 2001 the installer is setup.exe

Revision history for this message
Dan Kegel (dank) said :
#14

Oh, and which version of Microsoft Money?
http://appdb.winehq.org/objectManager.php?sClass=application&iId=79
says that most versions don't work with Wine yet.

Revision history for this message
mb (mbakaya-yahoo) said :
#15

The package does not give installer executable, as both came along with windowsxp, which unfortunately got wiped when installing ubuntu.
MSWorks 7.0 and Microsoft Money Standard are good versions and should have run with wine.

Revision history for this message
Loye Young (loyeyoung) said :
#16

> MSWorks 7.0 and Microsoft Money Standard are good versions and should have run with wine.

In a perfect world, every Windows program would work with Wine, but a perfect world has not yet been achieved. Even when Wine perfectly adheres to the documented Windows API, some programs won't work because Windows itself does not perfectly adhere to the Windows API.

Many programs (especially those written by Microsoft) actually depend upon the design flaws of various Windows libraries in order to function, sometimes by design and sometimes by inadvertance. Because both Windows and the programs designed for it are closed and proprietary, discovering and overcoming such design flaws are often difficult. This is the inherent difficulty when using legacy technology and proprietary licenses.

>The package does not give installer executable, as both came along with windowsxp.

If Works and Money came with Windows XP as part of the OEM install of the OS, you should also have a Windows recovery CD that allows you to reinstall the software you want. You may need to copy the installer from the Windows recovery CD to a subdirectory of ~/.wine/drive_c/windows.

> which unfortunately got wiped when installing ubuntu

The water is under the bridge, but here are a couple of lessons to be remembered for the future:
(1) Before installing another operating system or changing the partition tables, make a backup if you will need anything on the computer.
(2) Accept the defaults unless you really know what you are doing. The default behavior of the ubuntu installer is to shrink the Windows partition to create room for a new partition, which preserves the legacy OS. If the ubuntu installer doesn't default to that behavior, the Windows partition or the master boot record is so damaged or corrupted that it couldn't detect the presence of the legacy software. In that case, Windows was almost certainly hosed up anyway. The other options of the ubuntu installer use the entire disk. Using the entire disk will of course wipe out everything on the drive.

Your long term solution will be to use open source software wherever possible. The sooner one makes the transition to modern software, the easier life will be. Again, in a perfect world, we'd always have an open-source alternative, but we don't live in a perfect world. Thus, wine (both the program and at times it seems the beverage) is by design a crutch to ease the transition to open source, but it's not a panacea.

Revision history for this message
Loye Young (loyeyoung) said :
#17

>Microsoft Money has encountered a problem and needs to close down.

By the way, if you are running the MSMoney using wineconsole, the console window may have debugging messages that will give you a clue on why MSMoney crashed.