Witaj na Forum Linuxiarzy
Zanim zalogujesz się, by pisać na naszym forum, zapoznaj się z kilkoma zasadami savoir-vivre'u w dziale Administracja.
Wiadomości z problemami zamieszczone w wątku "Przywitaj się" oraz wszelkie reklamy na naszym forum będą usuwane.

Wine - nie można zainstalować.

Zaczęty przez atom, Wrzesień 18, 2018, 05:41:41 PM

Poprzedni wątek - Następny wątek

lami07

Sparky 32 czy 64 bit ? Jeśli 64 to czy masz aktywny multiarch ?
https://wiki.debian.org/Wine#Step_1:_Enable_multiarch
IRC - #linuxiarze.pl w sieci [url="//libera.chat"]libera.chat[/url]
Matrix - #linuxiarze.pl w sieci [url="//matrix.org"]matrix.org[/url]

TataPingu

atom
- jak już lami07 zasugerował, brakuje Ci 32-bitowej architektury.

Albo postąp wg linka, albo wtypuj w terminalu:



sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install ia32-libs

Po tym ostatnim dostaniesz komunikat o braku ia32-libs, ale tym się nie przejmuj.

Jeszcze raz rozwiń:

sudo apt-get update

i na końcu:

sudo apt-get install wine

Wszystko....

pavroo

Ze zrzutu wynik, że próbujesz zainstalować nieistniejąca wersję pakietu.
Przed wykonaniem instalacji lub aktualizacji należy odświeżyć listę pakietów.
Czasami lepiej trzymać usta zamknięte i być traktowany jak idiota, niż je otworzyć i rozwiać wszelkie wątpliwości. Mark Twain

atom

Przed wykonaniem podanych poleceń postanowiłem odświeżywszy listę, a tu taki błąd:

pavroo

Zamknij Synaptic i spróbuj w terminalu:
sudo apt update
Jeśli pojawi się błąd to wynik wrzuć na forum.
Czasami lepiej trzymać usta zamknięte i być traktowany jak idiota, niż je otworzyć i rozwiać wszelkie wątpliwości. Mark Twain

atom


pavroo

#7
Pokaż wyniki poleceń:
cat /etc/apt/sources.list
ls /etc/apt/sources.list.d
df --si


p.s.
Skopiuj tekst z terminala i wklej na forum zamiast zrzutu; jest lepiej widoczny.
Czasami lepiej trzymać usta zamknięte i być traktowany jak idiota, niż je otworzyć i rozwiać wszelkie wątpliwości. Mark Twain

atom

Proszę:

atom@atom-pc:~$ cat /etc/apt/sources.list
deb http://ftp.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.debian.org/debian/ stretch main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free
deb http://www.deb-multimedia.org stretch main non-free

## Other repos can be found in /etc/apt/sources.list.d directory ##
atom@atom-pc:~$ ls /etc/apt/sources.list.d
google-chrome.list  pipelight.list    sparky-stable.list    virtualbox.list
google.list         playonlinux.list  sparky-testing.list   wine-staging.list
liquorix.list       sid.list          sparky-unstable.list
atom@atom-pc:~$ df --si
System plików  rozm. użyte dost. %uż. zamont. na
udev            2,1G     0  2,1G   0% /dev
tmpfs           415M  6,4M  409M   2% /run
/dev/sda1        26G  5,4G   19G  23% /
tmpfs           2,1G   71M  2,1G   4% /dev/shm
tmpfs           5,3M  4,1k  5,3M   1% /run/lock
tmpfs           2,1G     0  2,1G   0% /sys/fs/cgroup
/dev/sda3        53G   19G   32G  37% /home
tmpfs           415M  8,2k  415M   1% /run/user/1000


pavroo

W takim razie spróbuj:
sudo mv /var/cache/apt/pkgcache.bin /var/cache/apt/pkgcache.bin.backup
sudo mv /var/cache/apt/srcpkgcache.bin /var/cache/apt/srcpkgcache.bin.backup
sudo apt-get update
Czasami lepiej trzymać usta zamknięte i być traktowany jak idiota, niż je otworzyć i rozwiać wszelkie wątpliwości. Mark Twain

atom

Oto wynik:

atom@atom-pc:~$ sudo mv /var/cache/apt/pkgcache.bin /var/cache/apt/pkgcache.bin.backup
[sudo] hasło użytkownika atom:
atom@atom-pc:~$ sudo mv /var/cache/apt/srcpkgcache.bin /var/cache/apt/srcpkgcache.bin.backup
atom@atom-pc:~$ sudo apt-get update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:2 http://ftp.debian.org/debian stretch InRelease                           
Stary:3 http://security.debian.org stretch/updates InRelease                   
Stary:4 http://www.deb-multimedia.org stretch InRelease                       
Stary:6 http://dl.google.com/linux/chrome/deb stable Release                   
Stary:7 https://sparkylinux.org/repo stable InRelease   
Pobieranie:5 http://ftp.debian.org/debian stretch Release [118 kB]
Stary:8 https://sparkylinux.org/repo testing InRelease   
Pobieranie:9 http://ftp.debian.org/debian stretch Release.gpg [2434 B]
Pobieranie:11 http://ftp.debian.org/debian stretch/non-free Sources [79,7 kB]
Pobieranie:12 http://ftp.debian.org/debian stretch/main Sources [6758 kB]
Pobieranie:13 http://ftp.debian.org/debian stretch/contrib Sources [44,7 kB]
Pobieranie:14 http://ftp.debian.org/debian stretch/main i386 Packages [7078 kB]
Pobieranie:15 http://ftp.debian.org/debian stretch/main amd64 Packages [7099 kB]
Pobieranie:16 http://ftp.debian.org/debian stretch/main Translation-en [5393 kB]
Pobieranie:17 http://ftp.debian.org/debian stretch/main Translation-pl [522 kB]
Pobieranie:17 http://ftp.debian.org/debian stretch/main Translation-pl [522 kB]
Pobieranie:17 http://ftp.debian.org/debian stretch/main Translation-pl [522 kB]
Pobieranie:17 http://ftp.debian.org/debian stretch/main Translation-pl [522 kB]
Pobieranie:17 http://ftp.debian.org/debian stretch/main Translation-pl [522 kB]
Pobieranie:17 http://ftp.debian.org/debian stretch/main Translation-pl [522 kB]
Stary:17 http://ftp.debian.org/debian stretch/main Translation-pl
Ign:17 http://ftp.debian.org/debian stretch/main Translation-pl
Stary:17 http://ftp.debian.org/debian stretch/main Translation-pl
Ign:17 http://ftp.debian.org/debian stretch/main Translation-pl
Błąd:17 http://ftp.debian.org/debian stretch/main Translation-pl
  BZ2_bzread: /var/lib/apt/lists/partial/ftp.debian.org_debian_dists_stretch_main_i18n_Translation-pl.bz2 Błąd odczytu (-5: DATA_ERROR_MAGIC)
Pobrano 120 kB w 5s (22,7 kB/s)
Czytanie list pakietów... Gotowe
E: Nie udało się pobrać http://ftp.debian.org/debian/dists/stretch/main/i18n/Translation-pl  BZ2_bzread: /var/lib/apt/lists/partial/ftp.debian.org_debian_dists_stretch_main_i18n_Translation-pl.bz2 Błąd odczytu (-5: DATA_ERROR_MAGIC)
E: Nie udało się pobrać niektórych plików indeksu, zostały one zignorowane lub użyto ich starszej wersji.
atom@atom-pc:~$

pavroo

ok, to spróbuj jeszcze wyczyścić listy:
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get update
Czasami lepiej trzymać usta zamknięte i być traktowany jak idiota, niż je otworzyć i rozwiać wszelkie wątpliwości. Mark Twain

atom

Czy ten wynik oznacza, że teraz jest wszystko dobrze?

atom@atom-pc:~$ sudo rm -rf /var/lib/apt/lists/*
[sudo] hasło użytkownika atom:
atom@atom-pc:~$ sudo apt-get update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Pobieranie:2 http://www.deb-multimedia.org stretch InRelease [33,4 kB]         
Pobieranie:3 http://dl.google.com/linux/chrome/deb stable Release [1189 B]     
Ign:4 http://ftp.debian.org/debian stretch InRelease                           
Pobieranie:5 http://security.debian.org stretch/updates InRelease [94,3 kB]   
Pobieranie:6 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B] 
Pobieranie:7 http://ftp.debian.org/debian stretch Release [118 kB]             
Pobieranie:8 https://sparkylinux.org/repo stable InRelease [3573 B]           
Pobieranie:9 https://sparkylinux.org/repo testing InRelease [3603 B]           
Pobieranie:10 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1376 B]
Pobieranie:11 http://ftp.debian.org/debian stretch Release.gpg [2434 B]       
Pobieranie:12 http://www.deb-multimedia.org stretch/main i386 Packages [154 kB]
Pobieranie:13 https://sparkylinux.org/repo stable/main Sources [10,5 kB]
Pobieranie:14 https://sparkylinux.org/repo stable/main i386 Packages [9770 B] 
Pobieranie:15 https://sparkylinux.org/repo stable/main amd64 Packages [9751 B]
Pobieranie:16 http://www.deb-multimedia.org stretch/main amd64 Packages [152 kB]
Pobieranie:17 http://www.deb-multimedia.org stretch/main Translation-en [46,7 kB]
Pobieranie:18 http://www.deb-multimedia.org stretch/non-free amd64 Packages [2144 B]
Pobieranie:19 http://www.deb-multimedia.org stretch/non-free i386 Packages [4956 B]
Pobieranie:20 http://www.deb-multimedia.org stretch/non-free Translation-en [338 B]
Pobieranie:21 https://sparkylinux.org/repo testing/main Sources [88,0 kB]     
Pobieranie:22 https://sparkylinux.org/repo testing/main i386 Packages [101 kB]
Pobieranie:23 https://sparkylinux.org/repo testing/main amd64 Packages [103 kB]
Pobieranie:24 http://security.debian.org stretch/updates/main Sources [177 kB]
Pobieranie:25 http://security.debian.org stretch/updates/non-free Sources [1216 B]
Pobieranie:26 http://security.debian.org stretch/updates/contrib Sources [1384 B]
Pobieranie:27 http://security.debian.org stretch/updates/main i386 Packages [442 kB]
Pobieranie:28 http://ftp.debian.org/debian stretch/main Sources [6758 kB]     
Pobieranie:29 http://security.debian.org stretch/updates/main amd64 Packages [440 kB]
Pobieranie:30 http://security.debian.org stretch/updates/main Translation-en [190 kB]
Pobieranie:31 http://security.debian.org stretch/updates/contrib i386 Packages [1760 B]
Pobieranie:32 http://security.debian.org stretch/updates/contrib amd64 Packages [1760 B]
Pobieranie:33 http://security.debian.org stretch/updates/contrib Translation-en [1759 B]
Pobieranie:34 http://security.debian.org stretch/updates/non-free i386 Packages [1600 B]
Pobieranie:35 http://security.debian.org stretch/updates/non-free amd64 Packages [1600 B]
Pobieranie:36 http://security.debian.org stretch/updates/non-free Translation-en [691 B]
Pobieranie:37 http://ftp.debian.org/debian stretch/contrib Sources [44,7 kB]
Pobieranie:38 http://ftp.debian.org/debian stretch/non-free Sources [79,7 kB]
Pobieranie:39 http://ftp.debian.org/debian stretch/main i386 Packages [7078 kB]
Pobieranie:40 http://ftp.debian.org/debian stretch/main amd64 Packages [7099 kB]
Pobieranie:41 http://ftp.debian.org/debian stretch/main Translation-en [5393 kB]
Pobieranie:42 http://ftp.debian.org/debian stretch/main Translation-pl [522 kB]
Pobieranie:43 http://ftp.debian.org/debian stretch/contrib amd64 Packages [50,9 kB]
Pobieranie:44 http://ftp.debian.org/debian stretch/contrib i386 Packages [48,0 kB]
Pobieranie:45 http://ftp.debian.org/debian stretch/contrib Translation-en [45,9 kB]
Pobieranie:46 http://ftp.debian.org/debian stretch/non-free i386 Packages [69,7 kB]
Pobieranie:47 http://ftp.debian.org/debian stretch/non-free amd64 Packages [78,7 kB]
Pobieranie:48 http://ftp.debian.org/debian stretch/non-free Translation-en [80,6 kB]
Pobrano 29,6 MB w 5s (4993 kB/s)                             
Czytanie list pakietów... Gotowe
atom@atom-pc:~$

pavroo

Czasami lepiej trzymać usta zamknięte i być traktowany jak idiota, niż je otworzyć i rozwiać wszelkie wątpliwości. Mark Twain

atom

Wspaniale. Bardzo dziękuję za pomoc.

Zobacz najnowsze wiadomości na forum