Wine installation help

smith_

Honorable
Oct 26, 2013
83
0
10,640
Hello,

Im dualbooting chromium (or crouton, im not 100% sure lol, both have ubuntu unity desktops) from chrome os on my chromebook.

Im trying to download wine, so i can run some .exes from my usb...but im having issues.

I went on the winehq site (http://www.winehq.org/) and read the instructions for ubuntu derivatives.

So...this repository is supposed to be downloaded (https://launchpad.net/~ubuntu-wine/+archive/ppa), using ->(sudo add-apt-repository ppa:ubuntu-wine/ppa).

Then i sudo apt-get update...

Next, when i do( sudo apt-get install wine(1.6 or 1.7))
i get this error
->(E: unable to locate package, E:couldn't find any package by regx 'wine1.6').

Any ideas?
 


I repeated all the steps then did (sudo apt-get install wine)...then the message below.

"package wine is not available, but is refered to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source.

E: Package 'wine' has no installation candidate"
 
The error:
E: unable to locate package usually means that the version of the program in the repositories has changed...
Just run

sudo apt-get update
sudo apt-get install wine


Not every windows program will work on wine, a list of apps and programs can be found at wine HQ:

http://www.winehq.org/

Hope that helps:
 


I did those commands many times and am still getting the error. I think because im running ubuntu from a local host there is a conflict in getting the package. I am not sure =[
 


Here are the results:

libkwineffects1abi3
playonlinux
gnome-colors
gnome-exe-thumnailer
gnome-wine-icon-theme
q4wine
shiki-colors
shiki-wine-theme
tellico
tellico-data
tellico-scripts
unmass
wine1.4-common
winefish
wine-mono0.0.4
wine-mono0.0.8
wine-mono4.5.0
wine-mono4.5.2

(none of which are the latest wine version..from the ppa...)
 


sudo add-apt-respository ppa:ubuntu-wine/ppa
->No trusted keys found.
->Imported 1 (RSA 1).

And then i repeated the search and the list is the same..

For refrence, i am running ubuntu from chrome os developer shell...if that matters at all. (i am connected to the internet via wifi)
 

Not that i know of...its a 700ish kb download. (idk if thats normal, my linux is pretty bare bones)

Ps: is there a way to scroll up and down or copy and paste in xterm?
 
ok well without knowing more information... hard to tell why it doesnt work. just know that ppa is not adding correctly. assume it is something to do with your niche installation method.

Advise you to set up manually the apt sources.
add these to file "/etc/apt/sources.list" you will need to be root (use su or sudo) to edit this file.
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu YOUR_UBUNTU_VERSION_HERE main
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu YOUR_UBUNTU_VERSION_HERE main
Ubuntu version can be "precise","quantal","raring","saucy"...(aka 12.04,12.10,13.04,13.10)...without quotes.
then apt-get update
 
A few quick questions..

1)Is there a way to find out what Ubuntu distro i have via the terminal?

2) To manually set up the apt sources i do commands below correct?,

->sudo deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu (ubuntu version here) main
->sudo deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu (ubuntu version here) main
-> sudo apt-get update

3) How exactly do i pipe '|' to turn on scrolling or copy/paste features? (im a bit confused)

I tried dmesg | less, but then i couldn't enter any commands to test the scroll feature.
 


No, you have to edit /etc/apt/sources.list
since it is a systems file so to speak you need to be root AKA administrator

sudo gedit /etc/apt/sources.list

This will open the file sources.list in a basic editor like notepad

Add these lines to the list

deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu YOUR_UBUNTU_VERSION_HERE main
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu YOUR_UBUNTU_VERSION_HERE main

you can see what version you have by looking at the other lines in the list as long as you are there. ubuntu raring main for example.

Save the file.

sudo apt-get update

sudo apt-get install wine winetricks playonlinux




 
Alright, there was problems..

heres lines from gedit sources.list

"deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ precise-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ precise main restricted universe multiverse"

I added the two ppa lines exactly with percise as version, but when i apt-get update, it reads packages then says there is a duplicate "W: Duplicate sources.list entry, run apt-get update to fix this problem."

Then i do 'apt-get update' again and do 'apt-cache search wine' and both don't change.
 


I am not sure how to copy / paste from terminal.
 

Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ports.ubuntu.com precise-security Release.gpg
Hit http://ports.ubuntu.com precise Release.gpg
Hit http://us.archive.ubuntu.com precise Release.gpg
Get:1 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:2 http://us.archive.ubuntu.com precise-security Release.gpg [198 B]
Hit http://ports.ubuntu.com precise-security Release
Hit http://ppa.launchpad.net precise Release
Hit http://us.archive.ubuntu.com precise Release
Get:3 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
Hit http://ports.ubuntu.com precise Release
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ports.ubuntu.com precise-security/main armhf Packages
Hit http://ports.ubuntu.com precise-security/restricted armhf Packages
Hit http://ports.ubuntu.com precise-security/universe armhf Packages
Hit http://ports.ubuntu.com precise-security/multiverse armhf Packages
Hit http://ports.ubuntu.com precise-security/main TranslationIndex
Hit http://ports.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://ports.ubuntu.com precise-security/restricted TranslationIndex
Hit http://ports.ubuntu.com precise-security/universe TranslationIndex
Hit http://ppa.launchpad.net precise/main armhf Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Get:4 http://us.archive.ubuntu.com precise-security Release [49.6 kB]
Hit http://ports.ubuntu.com precise/main armhf Packages
Hit http://ports.ubuntu.com precise/restricted armhf Packages
Hit http://ports.ubuntu.com precise/universe armhf Packages
Hit http://ports.ubuntu.com precise/multiverse armhf Packages
Hit http://ports.ubuntu.com precise/main TranslationIndex
Hit http://ports.ubuntu.com precise/multiverse TranslationIndex
Hit http://ports.ubuntu.com precise/restricted TranslationIndex
Hit http://ports.ubuntu.com precise/universe TranslationIndex
Hit http://ports.ubuntu.com precise-security/main Translation-en
Hit http://ports.ubuntu.com precise-security/multiverse Translation-en
Hit http://ports.ubuntu.com precise-security/restricted Translation-en
Hit http://ports.ubuntu.com precise-security/universe Translation-en
Hit http://ports.ubuntu.com precise/main Translation-en
Hit http://ports.ubuntu.com precise/multiverse Translation-en
Hit http://ports.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://ports.ubuntu.com precise/universe Translation-en
Get:5 http://us.archive.ubuntu.com precise-updates/main Sources [432 kB]
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Get:6 http://us.archive.ubuntu.com precise-updates/restricted Sources [7,039 B]
Get:7 http://us.archive.ubuntu.com precise-updates/universe Sources [101 kB]
Get:8 http://us.archive.ubuntu.com precise-updates/multiverse Sources [8,468 B]
Get:9 http://us.archive.ubuntu.com precise-security/main Sources [95.1 kB]
Get:10 http://us.archive.ubuntu.com precise-security/restricted Sources [2,494 B]
Get:11 http://us.archive.ubuntu.com precise-security/universe Sources [29.9 kB]
Get:12 http://us.archive.ubuntu.com precise-security/multiverse Sources [1,792 B]
Fetched 777 kB in 5s (149 kB/s)
Reading package lists...
W: duplicate source.list entry..http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/precise/main armhf packages (/var/lib/apt/lists/ppa.launchpad.net_ubuntu-win_ppa_ubuntu_dists_precise_main_binary-armhf_packages)
W: you may want to run apt-get update to correct these problems.

 
Until skittle creates some magic, have you tried opening synaptic and installing wine from there? If you don't have synaptic installed
sudo apt-get install synaptic
1.4 is the newest version in the repositories, they do tend to lag some. If you see 1.6 then your ppa worked.
 


Idk why ppa isnt working, but is wine 1.4 sufficient enough for .exes?
 
First try
sudo dpkg --configure -a
This will gently try to install packages that didn't completely install
if you still get the error then try
sudo apt-get install -f
This will insist on installing packages that didn't completely install
 

TRENDING THREADS