Can't install Wine in Ubuntu 16.04 64 bits

Questions about Wine on Linux
Locked
teimcrr
Newbie
Newbie
Posts: 2
Joined: Mon Apr 24, 2017 8:17 am

Can't install Wine in Ubuntu 16.04 64 bits

Post by teimcrr »

Hi,
I'm following the official instruction, so I did

Code: Select all

sudo dpkg --add-architecture i386 
wget https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
sudo apt-get update
However, when I try to install any of the branches, I get an error.
For example

Code: Select all

sudo apt-get install --install-recommends winehq-staging
gives me the following:

Code: Select all

Alcuni pacchetti non possono essere installati. Questo può voler dire
che è stata richiesta una situazione impossibile oppure, se si sta
usando una distribuzione in sviluppo, che alcuni pacchetti richiesti
non sono ancora stati creati o sono stati rimossi da Incoming.
Le seguenti informazioni possono aiutare a risolvere la situazione:

I seguenti pacchetti hanno dipendenze non soddisfatte:
 winehq-staging : Dipende: wine-staging (= 2.6.0~xenial)
E: Impossibile correggere i problemi, ci sono pacchetti danneggiati bloccati.
It says there are depencency problems (in italian, sorry) and broken packages, however there are no broken packages in the system.

Thank you in advance for helping me.
Ciao,
Marco
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Can't install Wine in Ubuntu 16.04 64 bits

Post by Bob Wya »

teimcrr wrote:...
gives me the following:

Code: Select all

Alcuni pacchetti non possono essere installati. Questo può voler dire
che è stata richiesta una situazione impossibile oppure, se si sta
usando una distribuzione in sviluppo, che alcuni pacchetti richiesti
non sono ancora stati creati o sono stati rimossi da Incoming.
Le seguenti informazioni possono aiutare a risolvere la situazione:

I seguenti pacchetti hanno dipendenze non soddisfatte:
 winehq-staging : Dipende: wine-staging (= 2.6.0~xenial)
E: Impossibile correggere i problemi, ci sono pacchetti danneggiati bloccati.
It says there are depencency problems (in italian, sorry) and broken packages, however there are no broken packages in the system.
..
Hiya teimcrr,
  • I totally called that!! So it's Ubuntu(ish)...
    You may run into problems if the Zorin guys use their own repositories - and these then clash with packages in the main Ubuntu repositories...
    IMHO it's always safest to use "pure distributions"...
  • Google Traduttore !! It's your friend... 8)
  • Let my Google that for you... :roll:
    Try following the steps from Ask Ubuntu: How do I resolve unmet dependencies after adding a PPA?
    The (cough) first hit from a simple Google search...
    Carefully follow the suggested steps in the main / first (upvoted) posting...
    These look like reasonable steps to me...
    You've probably not upgraded your distribution for a while - so you might need to clear out the apt-cache and then upgrade first say...
    Also the suggestion to run:

    Code: Select all

    sudo apt-get -f install
    has often resolved Debian package dependencies for me.
OT re broken systems...
I personally like to image my laptop drives - on a monthly basis - because things break from time-to-time!! Backups are a good thing!
Any live CD/DVD - with Clonezilla or fsarchiver say - will let you do this quite easily...

Bob
teimcrr
Newbie
Newbie
Posts: 2
Joined: Mon Apr 24, 2017 8:17 am

[Solved] Can't install Wine in Ubuntu 16.04 64 bits

Post by teimcrr »

Solved.
The problem was in my system, which had two shared libraries
libpng12-0
liblcms2-2
screwed up by an unofficial ppa.
I managed to find them thanks to aptitude. ppa-purge did the trick.

Thanks,
Marco
Locked