Ubuntu - problem z instalacją Wine


(paranoise) #1

Witam. Postanowiłem dzisiaj zainstalować Wine pod Ubuntu i mam pewien problem. Z tego co wiem, najnowsza wersja to 2.0. Postanowiłem postępować postępować wg instrukcji:

http://ubuntuhandbook.org/index.php/2017/01/install-wine-2-0-ubuntu-16-04-14-04-16-10/

No więc wbijam w terminalu:

sudo add-apt-repository ppa:wine/wine-builds

Otrzymuję:

!!! PLEASE NOTE THAT THIS REPOSITORY IS DEPRECATED !!!

For more information, please see:

    https://www.winehq.org/pipermail/wine-devel/2017-March/117104.html

The following commands can be used to add the new repository:

    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/'

 More info: https://launchpad.net/~wine/+archive/ubuntu/wine-builds
Press [ENTER] to continue or ctrl-c to cancel adding it

Wciskam Enter i otrzymuję:

gpg: keyring/tmp/tmpf6mfwpn3/secring.gpg’ created
gpg: keyring /tmp/tmpf6mfwpn3/pubring.gpg' created gpg: requesting key 77C899CB from hkp server keyserver.ubuntu.com gpg: /tmp/tmpf6mfwpn3/trustdb.gpg: trustdb created gpg: key 77C899CB: public key "Launchpad PPA for Wine" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK

Teraz wklejam komendy, które poleca mi bash tj:

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/'

Otrzymuję:

`--2017-10-31 17:07:03--  https://dl.winehq.org/wine-builds/Release.key
Resolving dl.winehq.org (dl.winehq.org)... 151.101.112.69

Connecting to dl.winehq.org (dl.winehq.org)|151.101.112.69|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 3122 (3,0K) [application/pgp-keys]
Saving to: ‘Release.key’

Release.key 100%[===================>] 3,05K --.-KB/s in 0s

2017-10-31 17:07:04 (73,3 MB/s) - ‘Release.key’ saved [3122/3122]

~$ sudo apt-key add Release.key
OK
~$ sudo apt-add-repository ‘https://dl.winehq.org/wine-builds/ubuntu/
`
Potem:

sudo apt-get update

Hit:2 http://ppa.launchpad.net/jonathonf/backports/ubuntu xenial InRelease     
Hit:3 http://archive.canonical.com/ubuntu xenial InRelease                     
Hit:4 http://ppa.launchpad.net/ricotz/unstable/ubuntu xenial InRelease         
Hit:5 https://repo.skype.com/deb stable InRelease                              
Hit:6 http://us.archive.ubuntu.com/ubuntu xenial InRelease                     
Hit:7 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease         
Hit:1 http://screenshots.getdeb.net xenial-getdeb InRelease                    
Hit:9 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial InRelease  
Reading package lists... Done 

~$ sudo apt-get install --install-recommends wine-staging/opt/wine-staging/bin/wine

I niby nie otrzymał żadnego komunikatu o błędzie, ale nie mam też zainstalowanego Wine’a albo nie mogę go znaleźć.


(RikoDEV) #2

Repozyta podane w poradniku nie są aktualne. Zainstaluj z tego poradnika: https://wiki.winehq.org/Ubuntu

komenda dla stabilnej wersji wine: sudo apt-get install --install-recommends winehq-stable


(paranoise) #3

Po podaniu komendy:

sudo apt-get install --install-recommends winehq-stable

otrzymuję informację:

    `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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 winehq-stable : Depends: wine-stable (= 2.0.3~xenial)
E: Unable to correct problems, you have held broken packages.`

(roobal) #4

Po co utrudniasz sobie życie? Zainstaluj wine, które masz w oficjalnych repozytoriach dystrybucji zamiast kombinować ze starymi poradnikami i nieaktualnymi repozytoriami. Musisz mieć najnowszą wersję? Coś nie działa na tej, którą oferuje Ubuntu?


(Aziczek) #5

Za @roobal, dodam tylko, że namieszane jest trochę w pakietach - na początek polecam to: http://ubuntu.pl/czytelnia/2008/10/12/9-sposobow-na-utrzymanie-czystosci-i-odchudzenie-naszego-ubuntu/
Punkt 3-ci z tej strony, potem Wine z Synaptic-a i powinno działać.


(dw343) #6

Pamiętaj, żeby usunąć wpis z /etc/apt/sources.list. Lepiej nie bałaganić :wink:


(MartinaNeumayer) #7

Najnowsza to właśnie wydana 3.0. A najłatwiej będzie sobie ostatnią dostępną zainstalować przez PlayOnLinux. Inne wersje także można, oraz łatwo nimi zarządzać.


Wine 3.0 RC1 wydano!
(Aziczek) #8

Edytując ręcznie można nieźle namieszać nie znając składni. Usunięcie jednego repozytorium może mieć różne skutki (spotkałem się z tym). Ja bym tego nie “ruszał”, lepiej polegałbym na apt.


(saturno) #9

Kiedy wyszło wine 3.0?
Pytam, bo nigdzie nie można go znaleźć.
Ani w pakietach ani nawet w źródłach!


(dw343) #10

Usunięcie jednej linijki ppa nie powinno spowodować wielu problemów. Ale masz rację - lepiej użyć apt.


(Aziczek) #11

No i warunek przy apt taki, że komp musi (choć nie zawsze) mieć łącze z siecią :slight_smile: Zresztą, pytania widzę można mnożyć - podzielić się nie da :wink:
Lecę na cmentarz, będę online późnym popołudniem :slight_smile:


(paranoise) #12

Jak to zrobić? Pytam poważnie, bo jeśli dobrze rozumiem, to są komendy dla instalacji Wine z oficjalnego repozytorium Wine:

sudo add-apt-repository ppa:ubuntu-wine/ppa sudo apt-get update

Tymczasem mam zainstalować te z repozytorium Ubuntu.

Dobra. Więc zrobiłem punkt trzeci. W Synapticu gdy wyszukuję Wine: pojawia mi się masa wyników:

wine-gecko
wine-stable
wine-stable-amd66
wine-stable-dbg

Razem wszyskiego chyba przynajmniej kilkanaście paczek. Spróbowałem wybrać: Wine 1.8. Synaptic automatycznie zaznaczył ją czerwonym wykrzyknikiem. Kiedy spróbowałem to zainstalować, pojawił się komunikat: Could not apply changes!
Fix broken packages first.

Ja tu nie jestem ekspertem, ale wydaje mi się, że większość porad, które mi tutaj udzielono nijak nie ma się do istoty problemu. Myślę, że gdyby problemem była wersja programu, to bym sobie z tym poradził już dawno. Może da się jakoś przywrócić domyślny zestaw paczek dla Ubuntu 16.04 bez reinstalacji całego systemu, o ile to o to chodzi. Wiele razy już wbijałem na różnych etapach:

sudo apt-get install -f
sudo apt-get update
sudo apt-get upgrade

itd., ale to nic nie dawało. Nie wiem czy to może mieć związek, ale jak ostatnio usuwałem Pidgina przez Synaptic, chciałem żeby usunęło dane osobiste przechowywane w aplikacji i wybrałem complete removal co jest chyba niezalecane i potem miałem wiele problemów z systemem.


(roobal) #13

PPA to nie są repozytoria dostarczane z systemem. To są repozytoria prywatne. Wywal wszystkie PPA i po prostu zainstaluj poleceniem.
apt install wine


(paranoise) #14

sudo apt install wine

Dostaję w odpowiedzi:

    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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine : Depends: wine1.6 or
                 wine1.8 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

A jak wywalić te wszystkie repozytoria prywatne?


(Aziczek) #15

Masz uszkodzone pakiety w systemie, może pomoże ten skrypt:
https://gist.github.com/stucka/0ced1cc71e1a5c374a18874471636d69
Skopiuj tekst, wklej do pliku i nadaj mu prawa wykonywalności (jak potrafisz). Prosto się to robi np. Midnight commander-em.


(paranoise) #16

Nie wiem czy tak można, ale zrobiłem sobie ten plik, prawym przyciskiem wybrałem properties - permission - dalej ustawiłem “read and write” dla każdego i oznaczyłem “allow executing file as a program”. W tej chwili dostęp do niego wygląda tak: -rwxrwxrwx po wpisaniu ls -l. No dobra, ale co powinienem z tym zrobić, bo wydaje mi się, że plik ze skryptem powinien uruchamiać skrypt po otworzeniu go. Tymczasem nic się nie dzieje.


(Aziczek) #17

Skopiowałeś tekst skryptu ze strony czy to, co na forum? Tu masz tylko kawałek…
Plik ma pełne prawa (aż za wysokie :slight_smile: ).
Edit: U mnie działa, z uprawnieniami admina.
Odpal konsolę i plik jak go nazwałeś uruchom: sudo ./Twoja_nazwa_pliku


(paranoise) #18

Teraz wkleiłem cały ten skrypt. I w terminalu zrobiłem tak:

sudo ./plikWykonalny2

Niby wszystko gra:

Attempting to install debsums package
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/42,0 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 239333 files and directories currently installed.)
Preparing to unpack .../archives/debsums_2.1.2_all.deb ...
Unpacking debsums (2.1.2) over (2.1.2) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up debsums (2.1.2) ...
.
.
.
Running debsums to look for bad files. This will take a while.
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/ASSEMBLY_EXCEPTION (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/THIRD_PARTY_README (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/bin/java (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/bin/jjs (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/bin/keytool (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/bin/orbd (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/bin/pack200 (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/bin/rmid (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/bin/rmiregistry (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/bin/servertool (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/bin/tnameserv (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/bin/unpack200 (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.activation.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.annotations.common.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.base.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.compact1.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.compact2.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.compact3.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.compiler.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.corba.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.datatransfer.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.desktop.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.httpclient.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.instrument.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.logging.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.management.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.naming.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.prefs.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.rmi.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.scripting.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.se.ee.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.se.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.security.jgss.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.security.sasl.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.smartcardio.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.sql.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.sql.rowset.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.transaction.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.xml.bind.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.xml.crypto.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.xml.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/java.xml.ws.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.accessibility.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.attach.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.charsets.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.compiler.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.crypto.ec.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.crypto.pkcs11.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.dynalink.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.hotspot.agent.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.httpserver.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.internal.le.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.internal.opt.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.jartool.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.javadoc.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.jcmd.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.jconsole.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.jdeps.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.jdi.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.jdwp.agent.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.jlink.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.jshell.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.jsobject.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.jvmstat.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.jvmstat.rmi.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.localedata.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.management.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.naming.dns.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.naming.rmi.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.pack200.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.policytool.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.rmic.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.scripting.nashorn.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.scripting.nashorn.shell.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.sctp.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.security.auth.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.security.jgss.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.unsupported.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.vm.ci.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.xml.bind.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.xml.dom.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.xml.ws.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jmods/jdk.zipfs.jmod (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/jrt-fs.jar (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/jli/libjli.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/jvm.cfg-default (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libattach.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libawt.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libawt_headless.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libawt_xawt.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libdt_socket.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libfontmanager.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libinstrument.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libj2gss.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libj2pcsc.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libj2pkcs11.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libjaas_unix.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libjava.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libjavajpeg.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libjawt.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libjdwp.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libjimage.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libjsig.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libjsound.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/liblcms.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libmanagement.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libmanagement_ext.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libmlib_image.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libnet.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libnio.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libprefs.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/librmi.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libsaproc.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libsctp.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libsunec.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libunpack.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libverify.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/libzip.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/server/Xusage.txt (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/server/libjsig.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/server/libjvm.so (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/classlist (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/ct.sym (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/jar.binfmt (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/jexec (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/modules (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/security/US_export_policy.jar (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/security/local_policy.jar (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/lib/tzdb.dat (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/ja_JP.UTF-8/man1/java.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/ja_JP.UTF-8/man1/jjs.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/ja_JP.UTF-8/man1/keytool.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/ja_JP.UTF-8/man1/orbd.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/ja_JP.UTF-8/man1/pack200.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/ja_JP.UTF-8/man1/rmid.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/ja_JP.UTF-8/man1/rmiregistry.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/ja_JP.UTF-8/man1/servertool.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/ja_JP.UTF-8/man1/tnameserv.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/ja_JP.UTF-8/man1/unpack200.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/man1/java.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/man1/jjs.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/man1/keytool.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/man1/orbd.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/man1/pack200.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/man1/rmid.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/man1/rmiregistry.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/man1/servertool.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/man1/tnameserv.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/jvm/java-9-openjdk-amd64/man/man1/unpack200.1.gz (from openjdk-9-jre-headless:amd64 package)
debsums: missing file /usr/lib/rhythmbox/plugins/rbzeitgeist/__pycache__/rbzeitgeist.cpython-35.opt-1.pyc (from rhythmbox-plugin-zeitgeist package)
debsums: missing file /usr/lib/rhythmbox/plugins/rbzeitgeist/__pycache__/rbzeitgeist.cpython-35.pyc (from rhythmbox-plugin-zeitgeist package)
.
.
.
Running dpkg to look for the packages that have the bad files. This will also take a while.
.
.
.
Quick housekeeping.
.
.
.
Run ./fixbadpackages.sh if you trust it. Read it first, will ya?
After it is done, you may wish to run it again and see what's still messed up.
This program isn't built to deal with missing files.
.
And after that, if everything seems great for DAYS, ...
... consider running apt-get autoremove; apt-get clean; apt-get update; apt-get upgrade

sudo apt install wine

i otrzymuję:

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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine : Depends: wine1.6 or
                 wine1.8 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

(pocolog) #19

Tylko coraz bardziej mieszacie w tym systemie i niedługo nie będzie wiadomo jak się za niego zabrać zdalnie.

Najpierw usuń wszystkie dodane zewnętrzne PPA, bo to tylko stwarza niewiadome problemy.
Pod Ubuntu jest chyba w repozytorium paczka ppa-purge. Zainstaluj ją sudo apt install ppa-purge i przy jej pomocy wywal repozytoria (polecenie sudo ppa-purge nazwa-ppa). Zewnętrzne repozytoria masz w katalogu /etc/apt/sources.list.d/ więc tam znajdziesz ich nazwy. To polecenie powinno też odinstalować paczki, które z tych repo zostały pobrane, ale jeśli tak się nie stanie to odinstaluj je ręcznie sudo apt purge wine.

Teraz zainstaluj PlayOnLinux (sudo apt install playonlinux) i przy jego pomocy instaluj oprogramowanie z Windowsa. Do dużej części oprogramowania i gier są gotowe skrypty, dla pozostałych można w łatwy sposób dostosować środowisko z poziomu GUI.
W menu narzędzia playonlinux masz opcję ‘zarządzaj wersjami wine’ i tutaj w łatwy sposób możesz instalować i usuwać wszystkie dostępne wersje przenosząc je z jednej strony na drugą.


(paranoise) #20

OK. Pousuwałem te PPA. Tyle że nie przez terminal, ale przez software and updates - other software i tam usunąłem te pakiety, które miały w nazwie Wine. Wszystkich nie usunąłem bo wydaje mi się, że Skype mi nie ruszy bez tego. Zainstalowałem PlayONLinux. Wybieram - install a program - Office - Microsoft Office 2007 - next - ponieważ podchodzę do tego, któryś raz to pisze, że “The target virtual drive Office2007 already exists:”. Wybieram overwrite i dostaję komunikat:

 PlayOnLinux has encountered an error. If the program you are installing does not work correctly, it might be the cause of the problem. Error in POL_Wine
Wine seems to have crashed

If your program is running, just ignore this message