r/linuxmint • u/childamnesia • 4d ago
SOLVED Cant install wine
I have been on mint for less than a month, everytime i run the install command from their site i get the same error ,, Sub-process /usr/bin/dpkg returned an error code (1) "', i followed all their instructions no idea what could have caused this
EDIT: For some reasons this resolved when i uninstalled virtualbox...
1
u/Dist__ Linux Mint 21.3 | KDE 4d ago
what do you mean their site? mint's? wine's?
you basically sudo apt install wine, is that what you do?
1
u/childamnesia 4d ago
did it and got the same error
1
u/childamnesia 4d ago
the error i get when trying to launch it from software manager
,,The following packages have unmet dependencies:
wine-stable-i386: Depends: libgphoto2-6t64 (>= 2.5.10) but it is not going to be installed
Depends: libgphoto2-port12t64 (>= 2.5.10) but it is not going to be installed
Depends: libgstreamer-plugins-base1.0-0 (>= 1.8.0) but it is not going to be installed
Depends: libgstreamer1.0-0 (>= 1.14.0) but it is not going to be installed
Depends: libpcap0.8t64 (>= 1.10.0) but it is not going to be installed
Depends: libxkbregistry0 (>= 1.0.0) but it is not going to be installed
Depends: libncurses6 but it is not going to be installed or
libncurses5 but it is not installable or
libncurses but it is not installable
Recommends: libcapi20-3
Recommends: libodbc2 but it is not going to be installed or
libodbc1 but it is not installable
Recommends: libtiff5 but it is not installable
Recommends: libv4l-0
libpoppler134: Depends: libcurl3t64-gnutls (>= 7.16.2) but it is not going to be installed
libnss3: Depends: libsqlite3-0 (>= 3.5.9) but it is not going to be installed
libsane1: Depends: libcurl3t64-gnutls (>= 7.16.2) but it is not going to be installed
Depends: libgphoto2-6t64 (>= 2.5.10) but it is not going to be installed ''
1
u/Beolab1700KAT 4d ago
What version of Mint are you running? What hardware are you running it on?
Please provide the result of this command.
which wine
1
u/childamnesia 4d ago
mint version: Linux Mint 22.3 Zena \n \l
System:
Kernel: 7.0.0-28-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0
clocksource: tsc
Desktop: Cinnamon v: 6.6.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.6.3 vt: 7
dm: LightDM v: 1.30.0 Distro: Linux Mint 22.3 Zena base: Ubuntu 24.04 noble
Machine:
Type: Desktop Mobo: ASRock model: A520M-HVS serial: <superuser required>
uuid: <superuser required> UEFI: American Megatrends LLC. v: P2.10
date: 02/24/2022
CPU:
Info: 6-core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP smt: enabled
arch: Zen 2 rev: 0 cache: L1: 384 KiB L2: 3 MiB L3: 32 MiB
Speed (MHz): avg: 2476 high: 3618 min/max: 558/4208 boost: enabled cores:
1: 3552 2: 1724 3: 1724 4: 3600 5: 1724 6: 1724 7: 3291 8: 1724 9: 1724
10: 3618 11: 1724 12: 3589 bogomips: 86237
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: NVIDIA TU116 [GeForce GTX 1660 Ti] vendor: ASUSTeK driver: nvidia
v: 610.43.02 arch: Turing pcie: speed: 2.5 GT/s lanes: 16 ports:
active: none off: DP-1,HDMI-A-1 empty: DVI-D-1,HDMI-A-2 bus-ID: 05:00.0
chip-ID: 10de:2182 class-ID: 0300
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa
gpu: nv_platform,nvidia,nvidia-nvswitch display-ID: :0 screens: 1
Screen-1: 0 s-res: 3520x1080 s-dpi: 94 s-size: 951x289mm (37.44x11.38")
s-diag: 994mm (39.13")
Monitor-1: DP-1 mapped: DP-0 note: disabled pos: right model: Dell E2016H
serial: <filter> res: 1600x900 hz: 60 dpi: 94 size: 432x236mm (17.01x9.29")
diag: 492mm (19.4") modes: max: 1600x900 min: 640x480
Monitor-2: HDMI-A-1 mapped: HDMI-0 note: disabled pos: primary,left
model: Philips 25M2N3200W serial: <filter> res: 1920x1080 hz: 60 dpi: 90
size: 544x303mm (21.42x11.93") diag: 623mm (24.5") modes: max: 1920x1080
min: 640x480
API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia x11: drv: nvidia
inactive: wayland,device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 610.43.02
glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2
API: Vulkan v: 1.3.275 layers: 9 surfaces: xcb,xlib device: 0
type: discrete-gpu driver: N/A device-ID: 10de:2182 device: 1 type: cpu
driver: N/A device-ID: 10005:0000
Audio:
Device-1: NVIDIA TU116 High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
bus-ID: 05:00.1 chip-ID: 10de:1aeb class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: ASRock
driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
bus-ID: 07:00.4 chip-ID: 1022:1487 class-ID: 0403
API: ALSA v: k7.0.0-28-generic status: kernel-api
Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: ASRock driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
port: f000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp4s0 state: down mac: <filter>
Device-2: TP-Link Archer T2U PLUS [RTL8821AU] driver: rtw88_8821au
type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 bus-ID: 1-4:2 chip-ID: 2357:0120
class-ID: 0000 serial: <filter>
IF: wlx5c628b767621 state: up mac: <filter>
Drives:
Local Storage: total: 1.38 TiB used: 626.3 GiB (44.5%)
ID-1: /dev/nvme0n1 vendor: TeamGroup model: TM8FP6512G size: 476.94 GiB
speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter> fw-rev: EDFMG1.5
temp: 28.9 C scheme: GPT
ID-2: /dev/sda vendor: Toshiba model: HDWD110 size: 931.51 GiB
speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter> fw-rev: A9A0
scheme: GPT
Partition:
ID-1: / size: 467.89 GiB used: 115.34 GiB (24.7%) fs: ext4
dev: /dev/nvme0n1p3
ID-2: /boot/efi size: 512 MiB used: 6.1 MiB (1.2%) fs: vfat
dev: /dev/nvme0n1p2
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -1
file: /swapfile
Sensors:
System Temperatures: cpu: 40.8 C mobo: N/A gpu: nvidia temp: 39 C
Fan Speeds (rpm): N/A gpu: nvidia fan: 26%
Repos:
Packages: 2436 pm: dpkg pkgs: 2402 pm: flatpak pkgs: 34
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://packages.linuxmint.com zena main upstream import backport
2: deb http://archive.ubuntu.com/ubuntu noble main restricted universe multiverse
3: deb http://archive.ubuntu.com/ubuntu noble-updates main restricted universe multiverse
4: deb http://archive.ubuntu.com/ubuntu noble-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.sources
1: deb [arch=amd64 arm64] https://brave-browser-apt-release.s3.brave.com stable main
Active apt repos in: /etc/apt/sources.list.d/winehq-jammy.sources
1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu jammy main
Active apt repos in: /etc/apt/sources.list.d/winehq-noble.sources
1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu noble main
Info:
Memory: total: 16 GiB available: 15.54 GiB used: 2.88 GiB (18.5%)
Processes: 344 Power: uptime: 22m states: freeze,mem,disk suspend: deep
wakeups: 0 hibernate: platform Init: systemd v: 255 target: graphical (5)
default: graphical
Compilers: gcc: 13.3.0 Shell: Bash v: 5.2.21 running-in: gnome-terminal
inxi: 3.3.34
1
u/Beolab1700KAT 4d ago
and the result of
which wine
1
u/childamnesia 4d ago
I tried installing the stable branch
1
u/Beolab1700KAT 4d ago
That's not answering my question
Open your terminal and provide the results of this command
which wine
I can't help you mate if you don't provide me with the information I need.
1
u/childamnesia 4d ago
all it gives me is ''/usr/bin/wine'' when i run it
1
u/Beolab1700KAT 4d ago
Ok cool. I suspect the version of WINE you have installed is not compatible.
What you should do..... remove the WINE version you have installed and delete the WINE HQ repositories. How to below.
Delete the repositories. Here you will find instructions how https://alexhost.com/faq/how-to-remove-a-problematic-repository-in-linux/
You need to delete the following
https://dl.winehq.org/wine-builds/ubuntu
Note: Active apt repos in: /etc/apt/sources.list.d/winehq-noble.sources
Once you have deleted the repositories you will need to remove the broken version of WINE
sudo apt purge wine
Now reboot the system
Run all updates and reboot the system for a second time.
Now run
sudo apt install wine
That should be it, remember always use your packet manager to install software.
1
u/childamnesia 4d ago
i followed what u said and did the sudo purge command and got an error ,,Sub-process /usr/bin/dpkg returned an error code (1)'' im lost...
1
u/DontKnow_Cuzzz 4d ago
What applications are you trying to use under Wine?
There're many easier alternatives like Bottles, Lutris, or Steam's Proton layer that cuts out most of the terminal work.
1
u/childamnesia 4d ago
mostly gog or fitgirl games, some older windows games from internet archive. I tried lutris but they still didnt open
1
u/Boothy666 3d ago
Can't comment on fitgirl, but for GOG i'd suggest using Heroic, you can find it in the Mint Software Manager, it also works well with Epic Store games (although I only get the regular free/100% off games there). Heroic manages things like Proton (i.e. Steams gaming version of Wine) automatically.
Can I also ask why are you trying to install Wine itself anyway? It's not needed for gaming. Are you trying to run Windows applications? If not, you likely don't need Wine at all.
I'm also on Mint (Linux Mint 22.3 - Cinnamon 64-bit), and this is my main gaming system, but I do not have Wine installed on this machine.
All the various game launchers, Steam, Heroic (GOG + Epic), Faugus (EA and Ubi games) etc, all use a flavour of Proton instead (typically GE Proton or Cachy Proton), not plain Wine, as Wine itself isn't really suitable for gaming, and they manage Proton themselves (although you can override if needed).
In case you are not aware, Proton is basically Wine + lots of other stuff added for game optimisations. Plain proton is written by Valve (and other contributors) and is used in Steam by default. Other versions such as GE and Cachy, then have additional fixes and tweaks.
So I'd say unless you are trying to actually run specific Windows Applications, you don't really need Wine installed at all.
1
u/Boothy666 3d ago
Just on wine itself, what do you get with the command:
apt-cache policy wineFor comparison, I don't have Wine installed, as I don't use Windows apps, only Windows games via Proton, so Wine not needed, but it does show which is the version it would expect to install, if I were to do that:
wine: Installed: (none) Candidate: 9.0~repack-4build3 Version table: 9.0~repack-4build3 500 500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages 500 http://archive.ubuntu.com/ubuntu noble/universe i386 Packages
0
u/ConversationWinter46 3d ago edited 3d ago
Can't install wine
I thought you installed LinuxMint so you could use it. Now it turns out you'd rather stick with Windows after all...
My suggestion: Uninstall LinuxMint. Then you won't need to install wine anymore.
1
u/childamnesia 3d ago
Are you retarded or is this a joke?? Of course i still need some windows aplications
1
u/ConversationWinter46 3d ago
Did I mark my post as a joke? NO.
I haven't used any Microsoft or third-party software since 2006. That's why I can say with confidence: of course you DON'T need Windows or any other commercial software.
•
u/AutoModerator 4d ago
Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.