LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Wine and wineasio install unmet dependencies on Debian Buster multiarch system. (https://www.linuxquestions.org/questions/debian-26/wine-and-wineasio-install-unmet-dependencies-on-debian-buster-multiarch-system-4175690171/)

globetrotterdk 02-09-2021 01:33 AM

Wine and wineasio install unmet dependencies on Debian Buster multiarch system.
 
I have a new Debian Buster Cinnamon system that I have just upgraded to multiarch in preparation of installing Wine and wineasio. I have the KXstudio repo in my /etc/apt/sources.list and have run the following without any errors:
Code:

$ sudo dpkg --add-architecture i386 && sudo apt update
However, when I run the following as per instructions in the Debian Wiki about Wine, I get an unmet dependency issue:

Code:

$ sudo apt install \
>      wine-development \
>      wine32-development \
>      wine64-development \
>      libwine-development \
>      libwine-development:i386 \
>      fonts-wine
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:
 libwine-development:i386 : Depends: libgphoto2-6:i386 (>= 2.5.10) but it is not going to be installed
                            Depends: libpulse0:i386 (>= 0.99.1) but it is not going to be installed
                            Recommends: libcups2:i386 (>= 1.4.0) but it is not going to be installed
                            Recommends: libdbus-1-3:i386 (>= 1.9.14) but it is not going to be installed
                            Recommends: libsdl2-2.0-0:i386 (>= 2.0.9) but it is not going to be installed
                            Recommends: libtiff5:i386 (>= 4.0.3) but it is not going to be installed
                            Recommends: libasound2-plugins:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I get the same problem if I run:

Code:

$ sudo apt install \
>      wine \
>      wine32 \
>      wine64 \
>      libwine \
>      libwine:i386 \
>      fonts-wine
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:
 libwine:i386 : Depends: libgphoto2-6:i386 (>= 2.5.10) but it is not going to be installed
                Depends: libpulse0:i386 (>= 0.99.1) but it is not going to be installed
                Recommends: libcups2:i386 (>= 1.4.0) but it is not going to be installed
                Recommends: libdbus-1-3:i386 (>= 1.9.14) but it is not going to be installed
                Recommends: libsdl2-2.0-0:i386 (>= 2.0.9) but it is not going to be installed
                Recommends: libtiff5:i386 (>= 4.0.3) but it is not going to be installed
                Recommends: libasound2-plugins:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

There are two inherent problems here, the first and obvious one is that I have an unmet dependency problem. The second, is that I have no experience installing wineasio, which would be the next step, and am not even sure if I am preparing things properly for installing wineasio. I really could use some help with this.

zrong 02-09-2021 02:45 AM

You basically have your sources.list messed up.

From where did you get KXstudio and why did you added to there in the first place?

globetrotterdk 02-09-2021 03:52 AM

Quote:

Originally Posted by zrong (Post 6218143)
You basically have your sources.list messed up.

From where did you get KXstudio and why did you added to there in the first place?

Thanks for the reply.

https://kx.studio/Repositories I followed the manual instructions on the page. I am using it for precompiled multimedia software that is otherwise not available.

Here is my sources.list:

Code:

deb http://mirror.one.com/debian/ buster main contrib non-free
deb-src http://mirror.one.com/debian/ buster main contrib non-free

deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free

# buster-updates, previously known as 'volatile'
deb http://mirror.one.com/debian/ buster-updates main contrib non-free
deb-src http://mirror.one.com/debian/ buster-updates main contrib non-free

# buster-backports
deb http://ftp.debian.org/debian buster-backports main contrib non-free
deb-src http://ftp.debian.org/debian buster-backports main contrib non-free

Other sources are my /etc/apt/sources.list.d/kxstudio-debian-ppas.list:
Code:

deb http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu bionic main
#deb-src http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu bionic main

deb http://ppa.launchpad.net/kxstudio-debian/music/ubuntu bionic main
#deb-src http://ppa.launchpad.net/kxstudio-debian/music/ubuntu bionic main

deb http://ppa.launchpad.net/kxstudio-debian/plugins/ubuntu bionic main
#deb-src http://ppa.launchpad.net/kxstudio-debian/plugins/ubuntu bionic main

deb http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu bionic main
#deb-src http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu bionic main

deb http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu bionic main
#deb-src http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu bionic main

My /etc/apt/sources.list.d/kxstudio-external.list:
Code:

deb [arch=amd64,i386] https://kx.studio/repo/ stable free
deb [arch=amd64,i386] https://kx.studio/repo/ gcc5 free

And my /etc/apt/sources.list.d/liquorix.list:
Code:

deb http://liquorix.net/debian buster main
deb-src http://liquorix.net/debian buster main

# Mirrors:
#
# Unit193 - France
# deb http://mirror.unit193.net/liquorix buster main
# deb-src http://mirror.unit193.net/liquorix buster main

I have been very careful with my sources lists, for example not mixing KXstudio and Debian Multimedia repositories.

I also don't get any errors normally:
Code:

$ sudo apt-get update
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Get:2 http://ftp.debian.org/debian buster-backports InRelease [46.7 kB]                                                                                                                                         
Hit:3 http://mirror.one.com/debian buster InRelease                                                                                                                                                             
Get:4 http://mirror.one.com/debian buster-updates InRelease [51.9 kB]                                                                                                                                           
Hit:5 http://packages.microsoft.com/repos/edge stable InRelease                                                                                                                                                 
Ign:7 https://kx.studio/repo stable InRelease                                                                                                                                                                 
Ign:8 https://kx.studio/repo gcc5 InRelease                                                                                                                                                         
Get:9 http://ftp.debian.org/debian buster-backports/main Sources.diff/Index [27.8 kB]                                                                                                               
Hit:10 https://kx.studio/repo stable Release                                                                                                                                                                 
Hit:13 https://kx.studio/repo gcc5 Release                                                                                                                                                                       
Get:15 http://ftp.debian.org/debian buster-backports/main Sources 2021-02-09-0759.57.pdiff [1,734 B]                                                       
Get:15 http://ftp.debian.org/debian buster-backports/main Sources 2021-02-09-0759.57.pdiff [1,734 B]                                                               
Hit:6 https://liquorix.net/debian buster InRelease                                                                                                         
Hit:17 http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu bionic InRelease         
Hit:18 http://ppa.launchpad.net/kxstudio-debian/music/ubuntu bionic InRelease
Hit:19 http://ppa.launchpad.net/kxstudio-debian/plugins/ubuntu bionic InRelease
Hit:20 http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu bionic InRelease
Hit:21 http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu bionic InRelease
Fetched 131 kB in 2s (53.0 kB/s)                 
Reading package lists... Done


zrong 02-10-2021 07:38 PM

No need to thank me!

Sorry for late reply forgot about this.

Is never a good practice to install PPAs that were not tested by the debian community, I'm not radical by saying you shouldn't install any of those if you take a look at ubuntu and debian forums. But at least you must read carefully before install anything that is not in the official repos, specially if you don't have the knowledge enough or not sure exactly what you doing. Debian is a peculiar linux, hence the name debian gnu, that focuses as you know mainly on stability partly why almost all distros are based/forked on it being Ubuntu just one of the many.

If you take a look at your update output you can see that the mirrors are still in use, despite being on another file, they are on the same path the apt look when check for install anything. So you must comment everything after you install out of the debian box.
On the past many used multimedia repos unofficial and firefox because wasn't available via debian mirrors. You should understand the logic behind this and anything you install that requires more that debian package manager like adding libs and other stuff to the kernel, just check or do a research if is safe to do so.

Apparently KXstudio has is own distro, you could consider using it. They asked debian maintainers to add it to the source since the software respects the gnu philosophy, but must be some reason why was never done.
Also, if you're into music process you don't mind me recommend Daw Slackware. If you use Cinnamon you would be amazed by Plasma5 (kde), Ubuntu is considering moving to Plasma5 because is awesome, and I'm a gtk user from many years since. I already tested and is true that is lower in resources consume comparing to gnome shell, that you use in Cinnamon. Link to Slackware-Current Daw live - https://slackware.nl/slackware-live/latest/

Ok, so as I see KXstudo install some lib that result in conflict with the system, many people have complaining about this, but I'm not so sure it's the case here, since you have more third party stuff.
First disable them in repository /etc/apt/sources.list.d/ directory. (remove it or comment)
Third open Synaptic, basically a graphical way to do it. Select the broken packages and proceed to fix.
Fourth since you have the backports enabled, apt update, apt upgrade and apt dist-upgrade.

If problems persist, could you be so kind to paste the output, let's say on pastebin, of apt since you installed third party stuff it's on /var/log/apt where you can find various logs with information about what was installed/modified.

globetrotterdk 02-11-2021 02:44 AM

Quote:

Originally Posted by zrong (Post 6218861)
Apparently KXstudio has is own distro, you could consider using it. They asked debian maintainers to add it to the source since the software respects the gnu philosophy, but must be some reason why was never done.

KXstudio no longer has their own distro, as far as I can see on their website. I thing the last version was based on Ubuntu 14.02, when they had it.
Quote:

Originally Posted by zrong (Post 6218861)
Also, if you're into music process you don't mind me recommend Daw Slackware.

I used Slackware some years ago. It got old really fast. Particularly the weird philosophy of having four DEs / WMs installed at once really drove me crazy.

Quote:

Originally Posted by zrong (Post 6218861)
If you use Cinnamon you would be amazed by Plasma5 (kde), Ubuntu is considering moving to Plasma5 because is awesome, and I'm a gtk user from many years since. I already tested and is true that is lower in resources consume comparing to gnome shell, that you use in Cinnamon.

I have used KDE Plasma 5 for a few years now, and rediscovered Cinnamon after having tried Budgie, Pantheon and GNOME 3. Cinnamon, like KDE Plasma, fits my workflow perfectly. Personally, I think Cinnamon is just as quick as KDE, but I first started using a low latency kernel with Cinnamon, which could have an effect.

Quote:

Originally Posted by zrong (Post 6218861)
Ok, so as I see KXstudo install some lib that result in conflict with the system, many people have complaining about this, but I'm not so sure it's the case here, since you have more third party stuff.
First disable them in repository /etc/apt/sources.list.d/ directory. (remove it or comment)

Code:

$ sudo rename 's/.list/.list.old/' *.list
user@hostname:/etc/apt/sources.list.d$ ls
kxstudio-debian-ppas.list.old  kxstudio-external.list.old  liquorix.list.old  microsoft-edge-dev.list.old
user@hostname:/etc/apt/sources.list.d$ sudo apt update
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]                                                                               
Get:2 http://ftp.debian.org/debian buster-backports InRelease [46.7 kB]                                                                                           
Get:3 http://ftp.debian.org/debian buster-backports/main Sources.diff/Index [27.8 kB]                   
Get:4 http://security.debian.org/debian-security buster/updates/main Sources [178 kB]           
Get:5 http://ftp.debian.org/debian buster-backports/main i386 Packages.diff/Index [27.8 kB]   
Get:6 http://ftp.debian.org/debian buster-backports/main amd64 Packages.diff/Index [27.8 kB]             
Get:7 http://ftp.debian.org/debian buster-backports/main Translation-en.diff/Index [25.3 kB]                 
Get:8 http://ftp.debian.org/debian buster-backports/main Sources 2021-02-09-1359.56.pdiff [8,207 B]                               
Get:9 http://ftp.debian.org/debian buster-backports/main Sources 2021-02-09-2000.45.pdiff [931 B]
Get:10 http://ftp.debian.org/debian buster-backports/main Sources 2021-02-10-0159.55.pdiff [1,065 B]
Get:11 http://ftp.debian.org/debian buster-backports/main Sources 2021-02-10-0759.42.pdiff [84 B]     
Get:12 http://ftp.debian.org/debian buster-backports/main Sources 2021-02-10-1359.42.pdiff [896 B]
Get:13 http://ftp.debian.org/debian buster-backports/main Sources 2021-02-10-1959.58.pdiff [1,941 B]
Get:14 http://ftp.debian.org/debian buster-backports/main Sources 2021-02-11-0159.46.pdiff [693 B] 
Get:14 http://ftp.debian.org/debian buster-backports/main Sources 2021-02-11-0159.46.pdiff [693 B] 
Get:15 http://ftp.debian.org/debian buster-backports/main i386 Packages 2021-02-09-1359.56.pdiff [1,266 B]       
Get:16 http://ftp.debian.org/debian buster-backports/main i386 Packages 2021-02-09-2000.45.pdiff [2,104 B]
Get:17 http://ftp.debian.org/debian buster-backports/main i386 Packages 2021-02-10-0159.55.pdiff [1,122 B]
Get:18 http://security.debian.org/debian-security buster/updates/main amd64 Packages [267 kB]
Hit:19 http://mirror.one.com/debian buster InRelease                     
Get:20 http://ftp.debian.org/debian buster-backports/main i386 Packages 2021-02-10-0759.42.pdiff [595 B]
Get:21 http://ftp.debian.org/debian buster-backports/main i386 Packages 2021-02-10-1359.42.pdiff [825 B]
Get:22 http://ftp.debian.org/debian buster-backports/main i386 Packages 2021-02-10-1959.58.pdiff [2,092 B]
Get:23 http://ftp.debian.org/debian buster-backports/main i386 Packages 2021-02-11-0159.46.pdiff [2,225 B]
Get:23 http://ftp.debian.org/debian buster-backports/main i386 Packages 2021-02-11-0159.46.pdiff [2,225 B]
Get:24 http://ftp.debian.org/debian buster-backports/main amd64 Packages 2021-02-09-1359.56.pdiff [6,297 B]
Get:25 http://security.debian.org/debian-security buster/updates/main i386 Packages [266 kB]
Get:26 http://ftp.debian.org/debian buster-backports/main amd64 Packages 2021-02-10-0159.55.pdiff [643 B]
Get:27 http://ftp.debian.org/debian buster-backports/main amd64 Packages 2021-02-10-0759.42.pdiff [200 B]     
Get:28 http://ftp.debian.org/debian buster-backports/main amd64 Packages 2021-02-10-1959.58.pdiff [202 B]
Get:29 http://security.debian.org/debian-security buster/updates/main Translation-en [142 kB]       
Get:30 http://ftp.debian.org/debian buster-backports/main amd64 Packages 2021-02-11-0159.46.pdiff [2,255 B]
Get:30 http://ftp.debian.org/debian buster-backports/main amd64 Packages 2021-02-11-0159.46.pdiff [2,255 B]       
Get:31 http://ftp.debian.org/debian buster-backports/main Translation-en 2021-02-09-1359.56.pdiff [470 B]                         
Get:32 http://ftp.debian.org/debian buster-backports/main Translation-en 2021-02-11-0159.46.pdiff [44 B]
Get:32 http://ftp.debian.org/debian buster-backports/main Translation-en 2021-02-11-0159.46.pdiff [44 B]
Get:33 http://mirror.one.com/debian buster-updates InRelease [51.9 kB]
Fetched 1,160 kB in 4s (280 kB/s) 
Reading package lists... Done
Building dependency tree     
Reading state information... Done
All packages are up to date.
N: Ignoring file 'kxstudio-external.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'kxstudio-debian-ppas.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'liquorix.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'microsoft-edge-dev.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

Quote:

Originally Posted by zrong (Post 6218861)
Third open Synaptic, basically a graphical way to do it. Select the broken packages and proceed to fix.

Synaptic doesn't find any broken packages.

Quote:

Originally Posted by zrong (Post 6218861)
Fourth since you have the backports enabled, apt update, apt upgrade and apt dist-upgrade.

Code:

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
N: Ignoring file 'kxstudio-external.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'kxstudio-debian-ppas.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'liquorix.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'microsoft-edge-dev.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
user@hostname:/etc/apt/sources.list.d$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
N: Ignoring file 'kxstudio-external.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'kxstudio-debian-ppas.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'liquorix.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'microsoft-edge-dev.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

Still nothing. I think that I will do a reinstall. The irritating thing is that I need the cadence, carla, catia, claudia, and wine + wineasio for programs that only run on Windows, such as ChordPulse, as shown in this video:

https://youtu.be/P5614AbOdT8 Very irritating.

zrong 02-11-2021 12:37 PM

I've just tested on debian buster multiarch with no issues.

Without apt log or libs32 list installed is really hard to tell.

What you can do:

See what you have installed and share it on clipboard (pastebin)
dpkg -l | awk '($1 == "ii") && ($2 ~ /^lib|lib$/) { print $2 }' > libs.txt

I have a feeling that you need the libc6
sudo apt install libc6-i386 -s

globetrotterdk 02-12-2021 02:03 AM

Quote:

Originally Posted by zrong (Post 6219205)
I've just tested on debian buster multiarch with no issues.

Without apt log or libs32 list installed is really hard to tell.

What you can do:

See what you have installed and share it on clipboard (pastebin)
dpkg -l | awk '($1 == "ii") && ($2 ~ /^lib|lib$/) { print $2 }' > libs.txt

I have a feeling that you need the libc6
sudo apt install libc6-i386 -s

Hmm. You were spot on, however multiarch doesn't really seem to have been implemented consistently:
Code:

$ sudo apt install libc6-i386 -s
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following NEW packages will be installed:
  libc6-i386
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Inst libc6-i386 (2.28-10 Debian:10.8/stable [amd64])
Conf libc6-i386 (2.28-10 Debian:10.8/stable [amd64])

Oh crap. I went through the libs list that I created with your awk script and didn't find any i386 libs. That plus the above result convinced me that I hadn't implemented multiarch after all - only to discover that now I had 2x i386. Then i removed what I thought was 1x i386, but was actually both. Then I reimplemented multiarch, but still got the above result when trying to install libc6-i386. Still no i386 libs listed in your awk script either. Very strange.

zrong 02-23-2021 05:24 PM

Sorry for late reply.

The first command output gave us the libs you have, it's normal you didn't find any i368 because you just enabled multi-arch support, which means you didn't install any 32b package. You updated your system so it can know install.

Like I said earlier without seeing the libs you have I can't guess if anyone 64b lib you have via PPas is making some sort of conflict.

The second command output was to simulate a install pkg with option -s so to see if that is installed. You don't need this pkg.

In order to install wine 32 you need plenty of i386 libs but also some dependencies for 64b https://packages.debian.org/buster/libwine

You can install all of them.

$ sudo apt install pulseaudio libc6:i386

If you running Intel machine you might need libxext6:i386.

Try running again the wine install commands

Gad 02-24-2021 12:52 AM

Here is a standard sources.list for a system running the Stable version of Debian

Code:

# Security updates
deb http://security.debian.org/ buster/updates main contrib non-free
deb-src http://security.debian.org/ buster/updates main contrib non-free

## Debian mirror

# Base repository
deb https://deb.debian.org/debian buster main contrib non-free
deb-src https://deb.debian.org/debian buster main contrib non-free

# Stable updates
deb https://deb.debian.org/debian buster-updates main contrib non-free
deb-src https://deb.debian.org/debian buster-updates main contrib non-free

# Stable backports
deb https://deb.debian.org/debian buster-backports main contrib non-free
deb-src https://deb.debian.org/debian buster-backports main contrib non-free

It seems to work fine on Debian 10 - Xfce

zrong 02-24-2021 12:54 PM

The sources the OP has is the same, but using DK server.

I tested those mirrors, everything went fine.


All times are GMT -5. The time now is 05:16 PM.