Re: [SlimDevices: Plugins] Success: MusicIP and Spicefly Sugarcube running on Raspberry Pi

2021-09-25 Thread ErwinB


For anybody like me with a "slight" gap in Linux knowledge that
encounters the same issue.
Last week (on a max2play image) after doing a sudo apt update and sudo
apt upgrade. As a result libc-dev-bin_2.28-10+rpt2+rpi1_armhf.deb got
installed.

As a result Musicip was not working anymore. I followed the first post
again, got an error and in the second try replaced:
Set the version to the Rasbian version (add +rpi1) and remove the
dependency of libgcc1 and save the file
With:
Set the version to the Rasbian version (add +rpt2+rpi1) and remove the
dependency of libgcc1 and save the file 
And of course changed "sudo dpkg -i newpack/libc6_2.28-10+rpi1_i386.deb"
to "sudo dpkg -i newpack/libc6_2.28-10+rpt2+rpi1_i386.deb"

Not a clue what I did, but is working again now! Hope this helps someone
out...

(p.s. I am sure, by the lack of Google results I am finding that it is a
situation unique to me but I was initialy also unable to perform the
sudo apt upgrade. I got the error message unable to create
'/usr/bin/gencat.dpkg-new' After a couple of days of troubleshooting we
finally figured this one out. It turned out that something had set the
"immutable" flag on the /usr/bin folder. Check with sudo lsattr /usr
(the /bin folder will have an i in the output) and change with sudo
chattr -i /usr/bin. Again probably just me, but just saying so it's out
there)



ErwinB's Profile: http://forums.slimdevices.com/member.php?userid=69378
View this thread: http://forums.slimdevices.com/showthread.php?t=106958

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Success: MusicIP and Spicefly Sugarcube running on Raspberry Pi

2019-11-19 Thread ErwinB


CypherMK wrote: 
> I tried the guides on page 1 and 26 again on a RPI B+, but I'm
> struggling to get the musicip files imported. I get this while scanning:
> MusicIP-import   (0 van 43291)   Voltooien  00:17:40
> I made sure sLMS starts later than MuscIP. What could be the issue?

Little guess: Your files don't contain the MusicIP fingerprint so your
raspberry has to do the actual fingerprinting which is a far to heavy
job for the PI. It does work but depending on the files it takes
anywhere from ~20 minutus to several hours per file.
The solution is to do the fingerprinting on a PC and store the
fingerprints in the music files. You can either do this by setting this
in the preferences or if you already have a full library by selecting
all files right click and selecting write fingerprints to file.
The PC software can be found 'here'
(https://www.spicefly.com/article.php?page=musicip-software)

After this the PI only has to read the fingerprints from the files which
takes a couple of minutes.



ErwinB's Profile: http://forums.slimdevices.com/member.php?userid=69378
View this thread: http://forums.slimdevices.com/showthread.php?t=106958

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Success: MusicIP and Spicefly Sugarcube running on Raspberry Pi

2019-09-05 Thread ErwinB


Sure.
NAMEMAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
mmcblk0 179:00  59.5G  0 disk
mmcblk0p1 179:10   256M  0 part /boot
mmcblk0p2 179:2059G  0 part /
mmcblk0p3 179:30 195.3M  0 part

I deleted the backup of my upgraded installation a couple days ago
unfortunately. But the smaller boot partition did not seem to matter???
max2play, lms, mqtt and homeassistant where working. Mip of course was
not and this and the fact that homeassistant was still using python 2.x
instead of the installed 3.x as is needed now where reasons to stop
trying. also because my raspberry 4 was on the way.



ErwinB's Profile: http://forums.slimdevices.com/member.php?userid=69378
View this thread: http://forums.slimdevices.com/showthread.php?t=106958

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Success: MusicIP and Spicefly Sugarcube running on Raspberry Pi

2019-09-03 Thread ErwinB


frankd wrote: 
> Now we need somebody to test the in-situ update of the Max2Play
> Installation.
> there are some tutorials in the net, I think it should be feasible
> (basically increasing the boot partition first, then changing sources
> and running a dist-upgrade, plus uninstalling some non-supported
> programs as published. It might also be advisable to remove the
> libc6:i386 before, as otherwise the libc6:armhf could potentially be not
> installed (just to be on the save side...)

I have my old 3B+ laying around... I did try an upgrade on it before
without increasing the boot partition btw. If I remember correctly I did
get it working for the most part after some upgrade troubles with
dependencies. But that was on a modified max2play installation (more
than just MIP) 
If you can tell me what you want me to try I would be willing (time
permitting) to do a clean max2play install on it with MIP and try to
upgrade it...



ErwinB's Profile: http://forums.slimdevices.com/member.php?userid=69378
View this thread: http://forums.slimdevices.com/showthread.php?t=106958

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Success: MusicIP and Spicefly Sugarcube running on Raspberry Pi

2019-08-31 Thread ErwinB


P.S. frankd: Still made a backup first ;-)

First try
sudo dpkg -i ./libc6_2.28-10+rpi1_i386.deb
dpkg: error processing archive ./libc6_2.28-10+rpi1_i386.deb
(--install):
package architecture (i386) does not match system (armhf)
Errors were encountered while processing:
./libc6_2.28-10+rpi1_i386.deb

I checked the first two steps of the current guide and sure enough I
needed to do them again.

Second try went better but not good enough:
root@max2play:~# sudo dpkg -i ./libc6_2.28-10+rpi1_i386.deb 
Selecting previously unselected package libc6:i386.
(Reading database ... 88718 files and directories currently installed.)
Preparing to unpack ./libc6_2.28-10+rpi1_i386.deb ...
Unpacking libc6:i386 (2.28-10+rpi1) ...
dpkg: error processing archive ./libc6_2.28-10+rpi1_i386.deb
(--install):
trying to overwrite shared '/usr/share/doc/libc6/changelog.Debian.gz',
which is different from other instances of package libc6:i386
Processing triggers for libc-bin (2.28-10+rpi1) ...
Errors were encountered while processing:
./libc6_2.28-10+rpi1_i386.deb

My idea was that something in a doc folder or with changelog in the
filename could never be that important so renamed it to
changelog.Debian.gz.bak
Now the install works!!!
root@max2play:~# sudo dpkg -i ./libc6_2.28-10+rpi1_i386.deb
(Reading database ... 88718 files and directories currently installed.)
Preparing to unpack ./libc6_2.28-10+rpi1_i386.deb ...
Unpacking libc6:i386 (2.28-10+rpi1) ...
Setting up libc6:i386 (2.28-10+rpi1) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...

The package: libc6 section in the status file does not have a depends
entry? So skipped that step

After the rest of the guide the mixer started! The webinterface loaded
ok BUT when I tried to do a test mix I got a segmentation fault
Luckily I had a clear moment: I was running as root while I had copied
the files from my previous installation to the pi users home folder
where it was on my old 3b :-) 
After logging in as pi and starting the server the web interface loads
and I can make a test mix!

So seems to be ok now. Still need to make it startup automatically but
its looking good.

Thanks frankd !!



ErwinB's Profile: http://forums.slimdevices.com/member.php?userid=69378
View this thread: http://forums.slimdevices.com/showthread.php?t=106958

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Success: MusicIP and Spicefly Sugarcube running on Raspberry Pi

2019-08-30 Thread ErwinB


Well, the version with the quotes gives an error also

sudo dpkg -i --ignore-depends=libgcc1:i386,'libc6:armhf 2.28-10+rpi1'
./libc6_2.28-10_i386.deb
dpkg: error: --ignore-depends needs a valid package name but
'libc6:armhf 2.28-10+rpi1' is not: illegal architecture name in
specifier 'libc6:armhf 2.28-10+rpi1': character ' ' not allowed (only
letters, digits and characters '-')

Tried this with an other error:
sudo dpkg -i --ignore-depends=libgcc1:i386,libc6:armhf
./libc6_2.28-10_i386.deb
dpkg: error processing archive ./libc6_2.28-10_i386.deb (--install):
package architecture (i386) does not match system (armhf)
Errors were encountered while processing:
./libc6_2.28-10_i386.deb

The first line from your last solution (sudo apt-get purge libc6:armhf)
is still running but I'm quite sure the result is going to restore my
backup :-) 
It is removing 1033 packages including stuff I really need and according
to the messages stuff that is essential..
And its stopped because of too much errors.



ErwinB's Profile: http://forums.slimdevices.com/member.php?userid=69378
View this thread: http://forums.slimdevices.com/showthread.php?t=106958

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Success: MusicIP and Spicefly Sugarcube running on Raspberry Pi

2019-08-28 Thread ErwinB


First of, thanks for responding.

First one:
sudo dpkg -i --ignore-depends=libgcc1:i386,libc6:armhf
./libc6_2.28-10_i386.deb
(Reading database ... 89033 files and directories currently installed.)
Preparing to unpack ./libc6_2.28-10_i386.deb ...
Unpacking libc6:i386 (2.28-10) over (2.28-10) ...
dpkg: error processing package libc6:i386 (--install):
package libc6:i386 2.28-10 cannot be configured because libc6:armhf is
at a different version (2.28-10+rpi1)
Processing triggers for libc-bin (2.28-10+rpi1) ...
Errors were encountered while processing:
libc6:i386

Second one:
sudo dpkg -i --ignore-depends=libgcc1:i386,libc6:armhf 2.28-10+rpi1
./libc6_2.28-10_i386.deb
dpkg: error: cannot access archive '2.28-10+rpi1': No such file or
directory

Third :
dpkg --force-all  --ignore-depends=libgcc1:i386 -i 
./libc6_2.28-10_i386.deb
(Reading database ... 89033 files and directories currently installed.)
Preparing to unpack ./libc6_2.28-10_i386.deb ...
Unpacking libc6:i386 (2.28-10) over (2.28-10) ...
dpkg: error processing package libc6:i386 (--install):
package libc6:i386 2.28-10 cannot be configured because libc6:armhf is
at a different version (2.28-10+rpi1)
Errors were encountered while processing:
libc6:i386

Last:
dpkg --force-all  -i  ./libc6_2.28-10_i386.deb
(Reading database ... 89033 files and directories currently installed.)
Preparing to unpack ./libc6_2.28-10_i386.deb ...
Unpacking libc6:i386 (2.28-10) over (2.28-10) ...
dpkg: error processing package libc6:i386 (--install):
package libc6:i386 2.28-10 cannot be configured because libc6:armhf is
at a different version (2.28-10+rpi1)
Errors were encountered while processing:
libc6:i386

Unfortunately no joy...
Just in case, I got the libc6 file here:
https://packages.debian.org/buster/i386/libc6/download not even sure
it's the right one so.
Anyway, thanks for trying.



ErwinB's Profile: http://forums.slimdevices.com/member.php?userid=69378
View this thread: http://forums.slimdevices.com/showthread.php?t=106958

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Success: MusicIP and Spicefly Sugarcube running on Raspberry Pi

2019-08-27 Thread ErwinB


I have been using this guide successfully for several years on my
raspberry2 and later 3's (thanks frankd) but last week I finally
received my Raspberry 4 running Buster and I get stuck installing
musicip on this.

I am by no means a Linux expert, its no longer an enigma, just a mystery
for me. So probably I'm doing something stupid :-)

I tried following step 3 of the instructions using
libc6_2.28-10_i386.deb instead of libc6_2.24-11+deb9u4_i386.deb
The result is below. Does somebody here know what this means and how to
proceed?

sudo dpkg -i --ignore-depends=libgcc1:i386 ./libc6_2.28-10_i386.deb
Selecting previously unselected package libc6:i386.
(Reading database ... 88731 files and directories currently installed.)
Preparing to unpack ./libc6_2.28-10_i386.deb ...
De-configuring libc6:armhf (2.28-10+rpi1) ...
Unpacking libc6:i386 (2.28-10) ...
dpkg: error processing package libc6:i386 (--install):
package libc6:i386 2.28-10 cannot be configured because libc6:armhf is
at a different version (2.28-10+rpi1)
dpkg: error processing package libc6:armhf (--install):
package libc6:armhf 2.28-10+rpi1 cannot be configured because
libc6:i386 is at a different version (2.28-10)
Errors were encountered while processing:
libc6:i386
libc6:armhf



ErwinB's Profile: http://forums.slimdevices.com/member.php?userid=69378
View this thread: http://forums.slimdevices.com/showthread.php?t=106958

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins