Moode Forum

Full Version: 8.3.2 image has older version of bluez-alsa
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,

Due to a mistake in the image build config the 8.3.2 image has the older 3.0.0 version of bluez-alsa.

Code:
pi@moode:~ $ dpkg -l | grep bluez-alsa
hi  bluez-alsa-utils                     3.0.0-2moode1                     arm64        Bluetooth Audio ALSA Backend (utils)

To install the correct version run the commands below.

Code:
sudo apt update
sudo moode-apt-mark unhold
sudo apt -y install bluez-alsa-utils=4.0.0-2moode1
sudo apt -y install libasound2-plugin-bluez=4.0.0-2moode1
sudo moode-apt-mark hold

ETA: added 
apt update
libasound2-plugin-bluez=4.0.0-2moode1
Bump
@Tim Curtis 

I'm not sure what's going on here. None of my test players show the older version. To make sure I hadn't somehow updated them, I just flashed a fresh moOde from the file I downloaded on Apr22:

image_2023-04-21-moode-r832-arm64-lite.zip

After first boot, yada yada yada...

Code:
             Release 8.3.2 2023-04-21
               (C) 2014 Tim Curtis


The programs included with moOde are free software; the
exact distribution terms for each program are described
in the individual files in /usr/share/doc/*/copyright or
in the moOde source files. moOde comes with absolutely
no warranties either expressed or implied, or any other
such guarantees.

To set a new password for your userid type 'passwd'.

Last login: Mon May 29 09:51:16 2023 from 10.0.0.40
pi@moode:~ $ dpkg -l|grep bluez
ii  bluez                                5.55-3.1+rpt2                     arm64        Bluetooth tools and daemons
hi  bluez-alsa-utils                     4.0.0-2moode1+codecs              arm64        Bluetooth Audio ALSA Backend (utils)
ii  bluez-firmware                       1.2-4+rpt10                       all          Firmware for Bluetooth devices
hi  libasound2-plugin-bluez:arm64        4.0.0-2moode1+codecs              arm64        Bluetooth Audio ALSA Backend (plugins)

If I proceed to "upgrade" the two packages using your provided commands I see amongst the output


Code:
...
The following packages will be DOWNGRADED:
 bluez-alsa-utils
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 50 not upgraded.
E: Packages were downgraded and -y was used without --allow-downgrades.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be DOWNGRADED:
 libasound2-plugin-bluez
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 50 not upgraded.
E: Packages were downgraded and -y was used without --allow-downgrades.
...

which means nothing got changed in this process.

Regards,
Kent
This looks like the custom package with the codecs

hi bluez-alsa-utils 4.0.0-2moode1+codecs
From the same player

Code:
pi@moode:~ $ apt-cache show bluez-alsa-utils
Package: bluez-alsa-utils
Status: hold ok installed
Priority: optional
Section: utils
Installed-Size: 354
Maintainer: Debian Bluetooth Maintainers <team+pkg-bluetooth@tracker.debian.org>
Architecture: arm64
Source: bluez-alsa
Version
Depends: libasound2 (>= 1.0.16), libbluetooth3 (>= 4.91), libc6 (>= 2.29), libdbus-1-3 (>= 1.9.14), libfdk-aac2 (>= 2.0.1), libglib2.0-0 (>= 2.37.3), libldacbt-abr2 (>= 2.0.2), libldacbt-enc2 (>= 2.0.2), libopenaptx0 (>= 0.2.0), libsbc1 (>= 1.5), libasound2-plugin-bluez
Conffiles:
/etc/alsa/conf.d/20-bluealsa.conf 6d1d0420a052e7ffe458ecf93dd337aa
/etc/dbus-1/system.d/bluealsa.conf 5a75b7516e61bedab25762e3a640e5b2
/etc/default/bluez-alsa 830167733c7cb0b45b745c666a2e1cbb
Description: Bluetooth Audio ALSA Backend (utils)
Bluetooth Audio ALSA Backend allow bluetooth audio without PulseAudio.
.
This project is a rebirth of a direct integration between Bluez and ALSA.
Since Bluez >= 5, the build-in integration has been removed in favor of 3rd
party audio applications. From now on, Bluez acts as a middleware between an
audio application, which implements Bluetooth audio profile, and a Bluetooth
audio device.
.
This package contains files that is tool using bluez-alsa plugin.
Description-md5: 3ec7d9335d6bd8b4f19b4e2fe7acbff3
Homepage: https://github.com/Arkq/bluez-alsa

Package: bluez-alsa-utils
Source: bluez-alsa
Version: 4.0.0-2moode1
Architecture: arm64
Maintainer: Debian Bluetooth Maintainers <team+pkg-bluetooth@tracker.debian.org>
Installed-Size: 333
Depends: libasound2 (>= 1.0.16), libbluetooth3 (>= 4.91), libc6 (>= 2.29), libdbus-1-3 (>= 1.9.14), libglib2.0-0 (>= 2.37.3), libldacbt-abr2 (>= 2.0.2), libldacbt-enc2 (>= 2.0.2), libsbc1 (>= 1.5), libasound2-plugin-bluez
Section: utils
Priority: optional
Homepage: https://github.com/Arkq/bluez-alsa
Description: Bluetooth Audio ALSA Backend (utils)
Bluetooth Audio ALSA Backend allow bluetooth audio without PulseAudio.
.
This project is a rebirth of a direct integration between Bluez and ALSA.
Since Bluez >= 5, the build-in integration has been removed in favor of 3rd
party audio applications. From now on, Bluez acts as a middleware between an
audio application, which implements Bluetooth audio profile, and a Bluetooth
audio device.
.
This package contains files that is tool using bluez-alsa plugin.
Description-md5: 3ec7d9335d6bd8b4f19b4e2fe7acbff3
Filename: pool/bullseye/main/b/bl/bluez-alsa-utils_4.0.0-2moode1/bluez-alsa-utils_4.0.0-2moode1_arm64.deb
Size: 101844
MD5Sum: 715b5a3927ba3eae0d24672b51d7b2c9
SHA1: 61718d9063f80a2e6dec0852f243d21807ea7cf5
SHA256: d721b2642e5807fc12e81f7152a50904bd6f2d0478050581779c754f78e8255d

Package: bluez-alsa-utils
Source: bluez-alsa
Version: 3.0.0-2moode1
Architecture: arm64
Maintainer: Debian Bluetooth Maintainers <team+pkg-bluetooth@tracker.debian.org>
Installed-Size: 224
Depends: libasound2 (>= 1.0.16), libbluetooth3 (>= 4.91), libc6 (>= 2.29), libdbus-1-3 (>= 1.9.14), libglib2.0-0 (>= 2.30.0), libldacbt-abr2 (>= 2.0.2), libldacbt-enc2 (>= 2.0.2), libsbc1 (>= 1.5), libasound2-plugin-bluez
Section: utils
Priority: optional
Homepage: https://github.com/Arkq/bluez-alsa
Description: Bluetooth Audio ALSA Backend (utils)
Bluetooth Audio ALSA Backend allow bluetooth audio without PulseAudio.
.
This project is a rebirth of a direct integration between Bluez and ALSA.
Since Bluez >= 5, the build-in integration has been removed in favor of 3rd
party audio applications. From now on, Bluez acts as a middleware between an
audio application, which implements Bluetooth audio profile, and a Bluetooth
audio device.
.
This package contains files that is tool using bluez-alsa plugin.
Description-md5: 3ec7d9335d6bd8b4f19b4e2fe7acbff3
Filename: pool/bullseye/main/b/bl/bluez-alsa-utils_3.0.0-2moode1/bluez-alsa-utils_3.0.0-2moode1_arm64.deb
Size: 66388
MD5Sum: 0a97d347b9696a61cd29b0b876b6a734
SHA1: 5e0c66734867ea84ed20e7d60c8505aabf22f5bd
SHA256: 27bd5e79af9c6d13340106dd4192fe9961f2cee2de6499901d3487f4dae841a0

So the order of bluez-alsa-utils versions offered is: 4.0.0-2moode1+codecs, 4.0.0-2moode1, and, finally, 3.0.0-2moode1

Hence, the attempted downgrade when I tried your commands.

Regards,
Kent
The package below does not exist in our Cloudsmith repo so I'm not sure how it's showing up in your list.
4.0.0-2moode1+codecs
(05-29-2023, 03:14 PM)Tim Curtis Wrote: [ -> ]The package below does not exist in our Cloudsmith repo so I'm not sure how it's showing up in your list.
4.0.0-2moode1+codecs

I downloaded the image file directly from the github repo a month ago. I haven't changed anything to the flashed image other than set userid/pw and wifi parameters using RPi Imager.

About to go to a picnic so can't dig further until late today.
(05-29-2023, 03:14 PM)Tim Curtis Wrote: [ -> ]The package below does not exist in our Cloudsmith repo so I'm not sure how it's showing up in your list.
4.0.0-2moode1+codecs

Code:
pi@moode-lounge:~ $ dpkg -l|grep -i bluez
ii  bluez                                5.55-3.1+rpt1                     arm64        Bluetooth tools and daemons
hi  bluez-alsa-utils                     4.0.0-2moode1                     arm64        Bluetooth Audio ALSA Backend (utils)
ii  bluez-firmware                       1.2-4+rpt8                        all          Firmware for Bluetooth devices
hi  libasound2-plugin-bluez:arm64        4.0.0-2moode1                     arm64        Bluetooth Audio ALSA Backend (plugins)
ii  libbluetooth3:arm64                  5.55-3.1+rpt1                     arm64        Library to use the BlueZ Linux Bluetooth stack

This is my output. Always updated to 8.3.2 (some time ago) online on the device itself (that is: not yet flashed any new image needing specify username / pwd / ssh. etc.)
The +codecs is nowhere to be seen in my setup...
@Nutul that is with an online update.
I believe Tim is trying to say that it is only an issue with non upgraded image.
(05-29-2023, 07:46 PM)bitlab Wrote: [ -> ]@Nutul that is with an online update.
I believe Tim is trying to say that it is only an issue with non upgraded image.

Correct. On a fresh image the older 3.0.0 version of bluez-alsa is present.

Code:
pi@moode:~ $ dpkg -l | grep bluez
ii  bluez                                5.55-3.1+rpt2                     arm64        Bluetooth tools and daemons
hi  bluez-alsa-utils                     3.0.0-2moode1                     arm64        Bluetooth Audio ALSA Backend (utils)
ii  bluez-firmware                       1.2-4+rpt10                       all          Firmware for Bluetooth devices
hi  libasound2-plugin-bluez:arm64        3.0.0-2moode1                     arm64        Bluetooth Audio ALSA Backend (plugins)
Pages: 1 2