install lmms-1.3.3 in AVLinux

Having trouble with LMMS? Ask about it here.
hi all,

AVLinux is installed on my hard drive. It had lmms-0.4.7 but I wanted to switch over to lmms-1.1.3 and removed it.
Now,following all the prompts on https://lmms.io/download/#linux failed to do what I want:
1)
Failed to open URI "apt://lmms" - The specified location is not supported
2) apt-get reports broken packages
3) same thing when trying install via KXStudio repository

any help would be appreciated,

yours`
sehrguey
Can you post the exact commands you ran?

Also, I'm not sure it is wise to use AVLinux and KXstudio repos together: my understanding is that they are both niche distros, perhaps with minor variations on libraries that could trigger 'broken packages' messages in apt.

But assuming that's okay: did you use the following wget command to install the kxstudio repos? http://kxstudio.linuxaudio.org/Repositories
# Download package file
wget https://launchpad.net/~kxstudio-debian/ ... o1_all.deb

# Install it
sudo dpkg -i kxstudio-repos_9.0.0~kxstudio1_all.deb
... and THEN
apt-get install lmms
dear farawayinspace,
I neither am sure in compatibility of the two distros and was only compelled to experiment by desire to have lmms.
So here are the commands with the outcome`

Code: Select all

seog@studio:~$ sudo apt-get install lmms
[sudo] password for seog: 
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:
 dpkg : Breaks: xine-ui (< 0.99.9-1.2~) but 0.99.6-1 is to be installed
 initscripts : Breaks: console-common (< 0.7.86) but 0.7.85 is to be installed
               Breaks: nfs-common (< 1:1.2.5-3) but 1:1.2.2-4squeeze2 is to be installed
E: Broken packages
and after wget saved the deb file

Code: Select all

seog@studio:~$ sudo dpkg -i kxstudio-repos_9.0.0~kxstudio1_all.deb
dpkg: regarding kxstudio-repos_9.0.0~kxstudio1_all.deb containing kxstudio-repos, pre-dependency problem:
 kxstudio-repos pre-depends on software-properties-common
  software-properties-common is not installed.
dpkg: error processing kxstudio-repos_9.0.0~kxstudio1_all.deb (--install):
 pre-dependency problem - not installing kxstudio-repos
Errors were encountered while processing:
 kxstudio-repos_9.0.0~kxstudio1_all.deb
:(
yours`
sehrguey
Hi,
The unmet dependencies are a different problem than what you originally posted, you may want to edit that. The issue is that lmms wants to install older/different versions of xine-ui, console-common, nfs-common.

Unmet dependencies can be tricky, but aptitude is generally better at resolving dependencies that apt-get. It is a lot easier if your primary interest in AVLinux is just to use lmms, so you're not worried about the performance of other programs that may depend on these libraries. I'd suggest you remove the kxstudio repos and then run:

sudo aptitude install -f

... to step through the issues and try to resolve them. In other words, go with the slightly older versions of console-common, nfs-common, see if that fixes it. NB, you may have to install aptitude first.
hi farawayinspace,

first things first

Code: Select all

seog@studio:~$ sudo apt-get install aptitude
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 aptitude : Depends: aptitude-common (= 0.6.11-1) but it is not going to be installed
            Depends: libapt-pkg4.12 (>= 0.9.16) but it is not going to be installed
            Depends: libboost-iostreams1.55.0 but it is not going to be installed
            Depends: libcwidget3 but it is not going to be installed
            Recommends: aptitude-doc-en but it is not going to be installed or
                        aptitude-doc
 dpkg : Breaks: ccache (< 3.1.10-1~) but 3.1.7-1 is to be installed
        Breaks: fontconfig (< 2.11.0-6.2~) but 2.8.0-2.1 is to be installed
        Breaks: install-info (< 5.1.dfsg.1-3~) but 4.13a.dfsg.1-6 is to be installed
        Breaks: man-db (< 2.6.3-6~) but 2.5.7-8 is to be installed
        Breaks: xine-ui (< 0.99.9-1.2~) but 0.99.6-1 is to be installed
N: Ignoring file 'violetsky_steam.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
then, with a diminished hope`

Code: Select all

seog@studio:~$ sudo apt-get install lmms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 dpkg : Breaks: ccache (< 3.1.10-1~) but 3.1.7-1 is to be installed
        Breaks: fontconfig (< 2.11.0-6.2~) but 2.8.0-2.1 is to be installed
        Breaks: install-info (< 5.1.dfsg.1-3~) but 4.13a.dfsg.1-6 is to be installed
        Breaks: man-db (< 2.6.3-6~) but 2.5.7-8 is to be installed
        Breaks: xine-ui (< 0.99.9-1.2~) but 0.99.6-1 is to be installed
 lmms : Depends: lmms-common (>= 1.0.3-5) but 0.4.7-2 is to be installed
        Depends: libfftw3-single3 but it is not going to be installed
        Depends: libpulse0 (>= 0.99.1) but 0.9.21-3+squeeze1 is to be installed
        Depends: libqtcore4 (>= 4:4.8.0) but 4:4.6.3-4+squeeze1 is to be installed
        Breaks: lmms-common (< 1.0.0-1) but 0.4.7-2 is to be installed
N: Ignoring file 'violetsky_steam.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
both times "sudo apt-get -f install" did not help.
And I strongly suspect that apt-get is trying to install lmms-0.4.7 not lmms-1.1.3
:o :( :/
yours`
sehrguey
I am not a real Linux expert, more a Linux user, but if he compiles lmms himself wont that solve the lib issues ?
You can check the version of a package in the repository and installed with:
apt-cache policy lmms

What version of AVlinux are you using? Have you updated your repositories (apt-get update)? The culprit may be that you didn't run apt-get update before you tried to install LMMS. (Note, if you are not comfortable with apt-get or aptitude, you may want to use a more verbose GUI package manager, like synaptic). But before you can do that, you should clear the messages and update the repos...
sudo apt-get clean
sudo apt-get update
... then see what version of lmms is in the repos
apt-cache policy lmms
... if that successfully updates the version of lmms to >1.0, then you can probably proceed to install without dependecies issues. However, if you still get dependencies messages, you will then have to do some research and figure out the issues, perhaps most simply addressed by running 'apt-get -f install' to step through the possible solutions (be prepared to hit Y/N to answer the questions it asks you).
HTH
dear Gps,
you are right and my first move was building lmms from source. here is the result

Code: Select all

seog@studio:~/lmms-1.1.3/build$ make
.........
.............
/home/seog/lmms-1.1.3/plugins/carlabase/carla.cpp:462:38: error: ‘NATIVE_PLUGIN_OPCODE_SAMPLE_RATE_CHANGED’ was not declared in this scope
     fDescriptor->dispatcher(fHandle, NATIVE_PLUGIN_OPCODE_SAMPLE_RATE_CHANGED, 0, 0, nullptr, handleGetSampleRate());
                                      ^
cc1plus: all warnings being treated as errors
make[2]: *** [plugins/carlabase/CMakeFiles/carlabase.dir/carla.o] Error 1
make[1]: *** [plugins/carlabase/CMakeFiles/carlabase.dir/all] Error 2
make: *** [all] Error 2
That is why I switched to trying apt-get and you know the present situation

Now, here is my distribution, farawayinspace

Code: Select all

seog@studio:~$ uname -a
Linux studio 3.12.19avl2-pae #4 SMP PREEMPT Mon Jun 16 22:55:48 EDT 2014 i686 GNU/Linux
and the info on lmms in it (I added Debian 8 repositories to /etc/apt-get/sources.list but apt-get tries to install packages of lower versions)

Code: Select all

seog@studio:~$ apt-cache policy lmms
lmms:
  Installed: (none)
  Candidate: 1.0.3-5
  Version table:
     1.0.3-5 0
        500 http://http.us.debian.org/debian/ jessie/main i386 Packages
     0.4.7-2 0
        500 ftp://mirror.csclub.uwaterloo.ca/debian/ squeeze/main i386 Packages
N: Ignoring file 'violetsky_steam.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
any suggestion?

yours`
sehrguey
One remark about carla, I failed at getting it to work on openSUSE.
Because its as far I get it, still beta I gave up.
Even though there is a package to download from the buildservice:
https://software.opensuse.org/search?ut ... USE%3A13.2
lmms is no worse without carla, I googled for solution typed flags on command line for make (something like 'warnings are not errors') but it did not work, make aborts when bumping on carla