I'm trying to get LMS going on a kirkwood armel processor running on debian buster. I have an installation running on jessie thanks to a forum member (505, I think) that compiled the perl 5.20 modules for armel. Since jessie is getting old, it would be nice to have LMS on a new version. The working install used the -all.deb 7.9 nightly package. For the buster version, I tried to get ahead by using the -ARM.deb package assuming it was the all with everything but ARM removed. The install ran OK, but the /usr/share/squeezeboxserver directory contains only the CPAN directory. The working on jessie has many more directories. Attempting to start over, I tried to uninstall LMS using dpkg and it fails because the package name contains ~, an invalid character. I could not find any way to get around this. Further check says packages are squeezeboxserver and squeezecenter. Remove says they are not installed.
How can I uninstall LMS with the invalid character?
For an armel processor, what package should I install? -all?
I'll post my struggles with compiling the perl modules in another thread.
Thanks. BTW, I've been on 7.8 on Arch; 7.9 is nice.
Should this be in the Linux/Unix forum? If so, it can be moved by mod.
Ignore this, reposted opn Linux/Unix. Sorry.
Results 1 to 10 of 23
-
2019-09-17, 12:03 #1
- Join Date
- Jul 2011
- Location
- Washington (state) USA
- Posts
- 87
LMS Bad (?) Install on armel debian
Last edited by mikeh49; 2019-09-17 at 12:43. Reason: Right forum?
-
2019-09-18, 00:09 #2
LMS Bad (?) Install on armel debian
> directories. Attempting to start over, I tried to uninstall LMS using
> dpkg and it fails because the package name contains ~, an invalid
Maybe all you have to do is escape that character (\~) or put the name
in quotes?
--
Michael
-
2019-09-18, 06:48 #3
- Join Date
- Jul 2011
- Location
- Washington (state) USA
- Posts
- 87
Good suggestions, unfortunately don't work. I had already tried quotes, here's the escape attempt:
root@Dell-M300:~# dpkg -r logitechmediaserver 7.9.2\~1567938514 all
dpkg: error: --remove needs a valid package name but '7.9.2~1567938514' is not: illegal package name in specifier '7.9.2~1567938514': character '~' not allowed (only letters, digits and characters '-+._')
-
2019-09-18, 07:54 #4
- Join Date
- May 2010
- Location
- London, UK
- Posts
- 402
-
2019-09-18, 07:56 #5
LMS Bad (?) Install on armel debian
>> root@Dell-M300:~# dpkg -r logitechmediaserver 7.9.2\~1567938514 all
>> dpkg: error: --remove needs a valid package name but '7.9.2~1567938514'
>> is not: illegal package name in specifier '7.9.2~1567938514': character
>> '~' not allowed (only letters, digits and characters '-+._')
Isn't the package name just "logitechmediaserver"?
--
Michael
-
2019-09-18, 10:41 #6
- Join Date
- Jul 2011
- Location
- Washington (state) USA
- Posts
- 87
OK, moving too fast, I guess, read too far to the right...
Code:root@Dell-M300:~# dpkg -l logitech* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-===================-================-============-================================= rc logitechmediaserver 7.9.2~1567938514 all Streaming Audio Server
Code:root@Dell-M300:~# dpkg -r logitechmediaserver dpkg: warning: ignoring request to remove logitechmediaserver, only the config files of which are on the system; use --purge to remove them too
Code:root@Dell-M300:~# dpkg -P logitechmediaserver (Reading database ... 24167 files and directories currently installed.) Purging configuration files for logitechmediaserver (7.9.2~1567938514) ... Removing user `squeezeboxserver' ... Warning: group `nogroup' has no more members. Done. dpkg: warning: while removing logitechmediaserver, directory '/usr/share/squeezeboxserver/CPAN/arch/5.28/DBI/DBD' not empty so not removed dpkg: warning: while removing logitechmediaserver, directory '/usr/share/squeezeboxserver/CPAN/arch/5.28/DBD/SQLite' not empty so not removed
Thanks for the help.
-
2019-09-18, 11:36 #7
- Join Date
- May 2010
- Location
- London, UK
- Posts
- 402
I am 99.9% certain that you are right. I would expect you to find therein the sub-folders + files that you put in there, and that are not part of the Debian package. So you would need to remove those manually.
I found the armel perl module build for Buster (perl 5.28) worked without issues. Although I have done it before...
You're welcome to the result of my build. E&OE, of course, but they seem to be working fine.
-
2019-09-18, 12:14 #8
- Join Date
- Jul 2011
- Location
- Washington (state) USA
- Posts
- 87
AFAIK, the 5.28 arm build supplied in the package is for armhf, e.g., rPi. I need it for armel, e.g. kirkwood SOC typically used in "plug" devices. Kirkwood does not have a hardware floating point unit, so it's done in software. The latest armel CPAN that I know of is 5.20 which is the standard for jessie. I've tried to build for 5.28 3 times, takes 2 hours and doesn't complete. The compiler exits but the prompt doesn't return, the log just ends, and the modules are left in a mess. I'm wondering if the buildme script has a problem; the checking for perl version only goes to 5.26, but it seems to find the 5.28 on the system. If you have a 5.28 for armel, I'm in.
-
2019-09-18, 13:50 #9
- Join Date
- May 2010
- Location
- London, UK
- Posts
- 402
Correct.
I've pushed a commit with the binaries I have built to a forked LMS, under a branch my_feature/armel_5.28_binaries. You should be able to retrieve them from that.
Commit is here: https://github.com/mw9/slimserver/co...3f1c90790a03fa
I don't recall having that kind of problem, and I won't attempt to guess what your issues were. I would agree with you that the built modules could use a bit of sorting out after the event. I might make a proposal, provided it doesn't over-complicate matters.
Debian Buster only has perl 5.28 (by default, anyway) so the build script does find and use that. Perhaps it should be explicitly checked for, I'm not sure.
-
2019-09-18, 14:58 #10
LMS Bad (?) Install on armel debian
> I've pushed a commit with the binaries I have built to a forked LMS,
> under a branch -my_feature/armel_5.28_binaries-. You should be able to
> retrieve them from that.
>
> Commit is here:
> https://github.com/mw9/slimserver/co...3f1c90790a03fa
You could add that link to
https://github.com/Logitech/slimserver/issues/269 ;-)
--
Michael