This forum has been archived. All content is frozen. Please use KDE Discuss instead.

I cannot install wine correctly in KDE plasma 5??

Tags: None
(comma "," separated)
User avatar
MadBot
Registered Member
Posts
1
Karma
0
$ sudo apt install wine64

Reading package lists... Done
Building dependency tree
Reading state information... Done
wine64 is already the newest version (5.0-3ubuntu1).
wine64 set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
crossover : Depends: libc6-i386 (>= 2.23) but it is not going to be installed
Depends: lib32z1 but it is not going to be installed
Depends: gir1.2-vte-2.91 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
----------------------------------------------------------------------------------------------------------------------------------------------------------

and

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
Get:1 file:/var/lib/preinstalled-pool focal InRelease
Ign:1 file:/var/lib/preinstalled-pool focal InRelease
Get:2 file:/var/lib/preinstalled-pool focal Release [3,949 B]
Get:2 file:/var/lib/preinstalled-pool focal Release [3,949 B]
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Get:5 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:6 http://deb.playonlinux.com cosmic InRelease
Ign:7 http://repo.vivaldi.com/stable/deb stable InRelease
Hit:8 http://repo.vivaldi.com/stable/deb stable Release
Get:10 http://archive.neon.kde.org/user focal InRelease [161 kB]
Err:11 http://security.ubuntu.com/ubuntu focal-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Hit:12 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu focal InRelease
Err:13 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Temporary failure resolving 'dl.winehq.org'
Hit:14 https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease
Hit:15 https://dl.winehq.org/wine-builds/ubuntu disco InRelease
Get:16 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease [6,259 B]
Get:17 https://dl.winehq.org/wine-builds/ubuntu bionic/main i386 Packages [867 kB]
Get:18 https://dl.winehq.org/wine-builds/ubuntu bionic/main amd64 Packages [830 kB]
Fetched 1,979 kB in 40s (49.0 kB/s)
Reading package lists... Done
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists ... /InRelease Temporary failure resolving 'security.ubuntu.com'
W: Failed to fetch https://dl.winehq.org/wine-builds/ubunt ... /InRelease Temporary failure resolving 'dl.winehq.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
--------------------------------------------------------------------------------------------------------------------------------------------------

$ sudo apt install wine32

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
crossover : Depends: libc6-i386 (>= 2.23) but it is not going to be installed
Depends: lib32z1 but it is not going to be installed
Depends: gir1.2-vte-2.91 but it is not going to be installed
wine32:i386 : Depends: libc6:i386 (>= 2.28) but it is not going to be installed
Depends: libwine:i386 (= 5.0-3ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
---------------------------------------------------------------------------------------------------------------------------------------------


lscpu

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 39 bits physical, 48 bits virtual
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 1
Core(s) per socket: 8
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 158
Model name: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
Stepping: 13
CPU MHz: 4600.047
CPU max MHz: 4900.0000
CPU min MHz: 800.0000
BogoMIPS: 7200.00
Virtualization: VT-x
L1d cache: 256 KiB
L1i cache: 256 KiB
L2 cache: 2 MiB
L3 cache: 12 MiB
NUMA node0 CPU(s): 0-7
Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Enhanced IBRS, IBPB conditional, RSB filling
Vulnerability Srbds: Mitigation; TSX disabled
Vulnerability Tsx async abort: Mitigation; TSX disabled
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe sy
scall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni
pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_
deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp ibrs_en
hanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx sm
ap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_cle
ar flush_l1d arch_capabilities
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

sudo apt-get update
Get:1 file:/var/lib/preinstalled-pool focal InRelease
Ign:1 file:/var/lib/preinstalled-pool focal InRelease
Get:2 file:/var/lib/preinstalled-pool focal Release [3,949 B]
Get:2 file:/var/lib/preinstalled-pool focal Release [3,949 B]
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Get:5 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:6 http://archive.neon.kde.org/user focal InRelease [161 kB]
Ign:7 http://repo.vivaldi.com/stable/deb stable InRelease
Hit:8 http://repo.vivaldi.com/stable/deb stable Release
Hit:10 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu focal InRelease
Hit:11 http://deb.playonlinux.com cosmic InRelease
Err:12 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Temporary failure resolving 'dl.winehq.org'
Err:13 http://security.ubuntu.com/ubuntu focal-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Hit:14 https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease
Hit:15 https://dl.winehq.org/wine-builds/ubuntu disco InRelease
Hit:16 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
Fetched 274 kB in 21s (13.1 kB/s)
Reading package lists... Done
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists ... /InRelease Temporary failure resolving 'security.ubuntu.com'
W: Failed to fetch https://dl.winehq.org/wine-builds/ubunt ... /InRelease Temporary failure resolving 'dl.winehq.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
------------------------------------------------------------------------------------------------------------------------------------------------------

wine --version
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
wine-5.0 (Ubuntu 5.0-3ubuntu1)
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
Not a KDE issue in any way whatsoever, nor a Konsole one either.

Code: Select all
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'


You added a repo that is specifically for *buntu Bionic 18.04 on a Focal 20.04 system, which causes conflicts as there are different dependencies between distro versions.

Here are the correct and official instructions for adding the WineHQ repos, and also for properly installing wine:
https://wiki.winehq.org/Ubuntu
Note there is no mention of 'wine64', as this is but one component of many that are installed when following the fairly simple directions given on that page.
You will need to remove the incorrect repo you added.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]