Hi everyone,
I tried to install purr data using the last installer ( pd-l2ork-2.4.3-ubuntu_16.04-x86_64.zip ) and the setup gives me this error:
"Installation failed:
The following packages have unmet dependencies:
pd-l2ork: Depends: libgsl0ldbl but it is not installable or
libgsl2 but it is not installable
Recommends: slv2-jack but it is not installable"
i tried to install all the recommended libraries but it gives me always the same error!!
Please help me!!
-
Problem installing purr data on Pop_os! ( Ubuntu-based )
-
You might need to compile it for that distro. We're currently working on improving the packaging system to be less brittle.
There are ways to force that installation, but I don't know enough about packaging to understand the risks of doing that.
-
ok! Got it! thank you very much for the help!
-
I run into this problem quite a bit, as i demand puredata on every freakin machine I own. There are a couple ways around it. Some hackier than others.
For one, in ubuntu and debian based distros, you can force install it with
sudo dpkg -i path/to/pdl2ork,deb
This will install it, but then throws an error message saying theres a dependency problem. It will run fine, but any time you go to do anything with apt from there out, it will make you remove pd-l2ork before allowing for any changes in your packages.
In this particular instnce, libglsl2 refers to the linux scientific library, which is actually present in ubuntu repositories, but under a different name. That means that pd will work fine, but apt will complain. The hacky way that I got around this was as follow. I extracted the pd-l2ork.deb file and altered the dependency list in the control file to exclude that package. that can be done using this walkthrough: https://ubuntuforums.org/showthread.php?t=110458
Run those steps and remove libglsl2 from the dependency list and the output .deb file will install with no errors and run just fine. (from my experience this works, but as it goes with all hacky solutions, use at your own risk!)
The more conventional but potentially headachey way to do it would be to build/compile your own version from source and run it from within the source folder without installing it. I have used this way plenty, but it's ultimately a lot more work to set up, and also you usually will have to set up your config file to point to all of your extensions manually. This way bypasses messing with apt and dpkg entirely, making it safer but unless your a wiz at compiling stuff, clear your day for this project.
-
@th8a The problem right now is that we're using hard-coded metadata for the script that compiles deb packages. Hopefully in the next few days we'll improve the system so that you can compile a deb for your distro of choice and have the build system automatically find the right dependencies to list in the package.
Once that work is done, anyone should be able to compile a deb for their own system using the instructions listed in the Purr Data repo.
-
Here's a binary that should work on Pop OS:
https://pdblog.nfshost.com/pd-l2ork-2.4.4-20171208-rev.13a884d6-x86_64.deb
I initially had problems connecting to ALSA the first few times I tested it, but then everything seemed to work.
Let me know if it installs ok.
-
It works!! the setup got installed and it seems to work fine!! Thank you very much!!
-
Is there a new one of these? I am having same problems (on Pop!OS) and that link appears dead.
-
As a sidenote, when I usually have this problem (installing a deb I got off the internet) I can solve it 3 simple ways:
The simple method
double-click on the package file, and there is a little widget that comes up and lets you install it (and goes and finds the deps for you.)
The older, non-GUI method
sudo dpkg -i FILE.deb # there will be errors sudo apt-get -f install
This will grab all the deps (if they are available) and fix future apt errors.
The modern non-GUI method
You can also use the
apt
wrapper to do both steps:sudo apt install ./FILE.deb
In most cases this works for things that are made for ubuntu, on Pop!OS, but in this case I get some errors (probly due to the version hard-coding):
sudo apt install ./pd-l2ork-2.9.0-20190416-rev.2b3f27c-x86_64.deb [sudo] password for konsumer: Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'pd-l2ork' instead of './pd-l2ork-2.9.0-20190416-rev.2b3f27c-x86_64.deb' 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: pd-l2ork : Depends: libgsl2 but it is not installable Depends: libpng12-0 (>= 1.2.13-4) but it is not installable Recommends: tap-plugins but it is not going to be installed Recommends: ladspa-foo-plugins but it is not going to be installed Recommends: invada-studio-plugins-ladspa but it is not going to be installed Recommends: blepvco but it is not going to be installed Recommends: swh-plugins but it is not going to be installed Recommends: mcp-plugins but it is not going to be installed Recommends: cmt but it is not going to be installed Recommends: blop but it is not going to be installed Recommends: slv2-jack but it is not installable Recommends: omins but it is not going to be installed Recommends: ubuntustudio-audio-plugins but it is not going to be installed Recommends: rev-plugins but it is not going to be installed Recommends: dssi-utils but it is not going to be installed Recommends: vco-plugins but it is not going to be installed Recommends: wah-plugins but it is not going to be installed Recommends: fil-plugins but it is not going to be installed Recommends: mda-lv2 but it is not going to be installed E: Unable to correct problems, you have held broken packages.
-
I ended up using a hacky method, with some inspiration from @th8a:
wget https://github.com/agraef/purr-data/releases/download/2.9.0/pd-l2ork-2.9.0-ubuntu_16.04-x86_64.zip unzip pd-l2ork-2.9.0-ubuntu_16.04-x86_64.zip mkdir pd-l2ork-2.9.0-20190416-rev.2b3f27c-x86_64 dpkg-deb -R pd-l2ork-2.9.0-20190416-rev.2b3f27c-x86_64.deb pd-l2ork-2.9.0-20190416-rev.2b3f27c-x86_64 sed -i -e 's/libgsl2/libgsl23/g' pd-l2ork-2.9.0-20190416-rev.2b3f27c-x86_64/DEBIAN/control sed -i -e 's/libpng12-0/libpng16-16/g' pd-l2ork-2.9.0-20190416-rev.2b3f27c-x86_64/DEBIAN/control dpkg-deb -b pd-l2ork-2.9.0-20190416-rev.2b3f27c-x86_64 purrdata-pop.deb sudo apt install ./purrdata-pop.deb
Seems to work ok with a lil testing, but I noticed fonts are a little funny in UI. Might be totally unrelated.