(05-12-2025, 04:23 PM)simonb Wrote:(05-12-2025, 04:10 PM)andreaemme Wrote: Thank you, simonb.
So please is there somebody who can tell me and who has the same problem of mine how to update manually upnpdcli to the 1.9.5 version on Moode?
Thanks once again.
Yes upmpdcli is now working on moode. I had to update to the latest release from lesbonscomptes. I must remember to remove it and the lesbonscomptes repository before I upgrade via the normal route as there may be a conflict.
Code:
BACKUP THE SYSTEM!!!!!!!
Import the repository key.
root@nagra:~# pwd
/root
root@nagra:~# gpg --no-default-keyring --keyring ./lesbonscomptes.gpg --keyserver keyserver.ubuntu.com --recv-key F8E3347256922A8AE767605B7808CE96D38B9201
gpg: key 7808CE96D38B9201: public key "Jean-Francois Dockes <jf@dockes.org>" imported
gpg: Total number processed: 1
gpg: imported: 1
root@nagra:~# ls -latr
total 68
-rw-r--r-- 1 root root 161 Jul 9 2019 .profile
-rw-r--r-- 1 root root 571 Apr 10 2021 .bashrc
-rw-r--r-- 1 root root 260 Jun 30 2023 upmpdcli-rbookworm.list
-rw-r--r-- 1 root root 0 Jun 12 2024 .sudo_as_admin_successful
drwxr-xr-x 18 root root 4096 Jun 12 2024 ..
drwx------ 3 root root 4096 Jun 25 2024 .config
drwxr-xr-x 3 root root 4096 Jul 3 2024 .local
drwx------ 2 root root 4096 Oct 4 2024 .ssh
-rw------- 1 root root 20 Nov 23 13:21 .lesshst
-rw------- 1 root root 0 Nov 23 17:40 .bash_history-01986.tmp
-rw------- 1 root root 7891 Mar 6 19:57 .bash_history
-rw-r--r-- 1 root root 221 May 12 11:07 .wget-hsts
drwx------ 4 root root 4096 May 12 16:42 .gnupg
-rw-r--r-- 1 root root 8606 May 12 16:56 lesbonscomptes.gpg
drwx------ 6 root root 4096 May 12 16:56 .
root@nagra:~#
Copy key to /usr/share/keyrings
root@nagra:~# cp lesbonscomptes.gpg /usr/share/keyrings
root@nagra:~# cd /usr/share/keyrings
root@nagra:/usr/share/keyrings# chmod 644 lesbonscomptes.gpg
root@nagra:/usr/share/keyrings# ls -altr
total 224
-rw-r--r-- 1 root root 1183 Jan 13 2022 raspberrypi-archive-stable.gpg
-rw-r--r-- 1 root root 0 Jan 13 2022 raspberrypi-archive-removed-keys.gpg
-rw-r--r-- 1 root root 1183 Jan 13 2022 raspberrypi-archive-keyring.gpg
-rw-r--r-- 1 root root 54031 Jul 30 2023 debian-archive-removed-keys.gpg
-rw-r--r-- 1 root root 56156 Jul 30 2023 debian-archive-keyring.gpg
-rw-r--r-- 1 root root 2332 Jul 30 2023 debian-archive-buster-stable.gpg
-rw-r--r-- 1 root root 8141 Jul 30 2023 debian-archive-buster-security-automatic.gpg
-rw-r--r-- 1 root root 8132 Jul 30 2023 debian-archive-buster-automatic.gpg
-rw-r--r-- 1 root root 2453 Jul 30 2023 debian-archive-bullseye-stable.gpg
-rw-r--r-- 1 root root 8709 Jul 30 2023 debian-archive-bullseye-security-automatic.gpg
-rw-r--r-- 1 root root 8700 Jul 30 2023 debian-archive-bullseye-automatic.gpg
-rw-r--r-- 1 root root 280 Jul 30 2023 debian-archive-bookworm-stable.gpg
-rw-r--r-- 1 root root 8709 Jul 30 2023 debian-archive-bookworm-security-automatic.gpg
-rw-r--r-- 1 root root 8700 Jul 30 2023 debian-archive-bookworm-automatic.gpg
-rw-r--r-- 1 root root 903 Jun 12 2024 moodeaudio-m8y-archive-keyring.gpg
-rw-r--r-- 1 root root 1185 Jul 3 2024 nodesource.gpg
drwxr-xr-x 148 root root 4096 Dec 23 07:53 ..
drwxr-xr-x 2 root root 4096 May 12 16:43 .
-rw-r--r-- 1 root root 8606 May 12 16:57 lesbonscomptes.gpg
root@nagra:
Download the Repository info.
root@nagra:~# wget https://www.lesbonscomptes.com/upmpdcli/pages/upmpdcli-rbookworm.list
--2025-05-12 16:54:26-- https://www.lesbonscomptes.com/upmpdcli/pages/upmpdcli-rbookworm.list
Resolving www.lesbonscomptes.com (www.lesbonscomptes.com)... 62.210.16.61
Connecting to www.lesbonscomptes.com (www.lesbonscomptes.com)|62.210.16.61|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 260 [application/octet-stream]
Saving to: ‘upmpdcli-rbookworm.list’
upmpdcli-rbookworm.list 100%[============================================================================================================>] 260 --.-KB/s in 0s
2025-05-12 16:54:26 (158 MB/s) - ‘upmpdcli-rbookworm.list’ saved [260/260]
root@nagra:~# ls -al
total 56
drwx------ 6 root root 4096 May 12 16:54 .
drwxr-xr-x 18 root root 4096 Jun 12 2024 ..
-rw------- 1 root root 7891 Mar 6 19:57 .bash_history
-rw------- 1 root root 0 Nov 23 17:40 .bash_history-01986.tmp
-rw-r--r-- 1 root root 571 Apr 10 2021 .bashrc
drwx------ 3 root root 4096 Jun 25 2024 .config
drwx------ 4 root root 4096 May 12 16:42 .gnupg
-rw------- 1 root root 32 May 12 16:38 lesbonscomptes.gpg
-rw------- 1 root root 20 Nov 23 13:21 .lesshst
drwxr-xr-x 3 root root 4096 Jul 3 2024 .local
-rw-r--r-- 1 root root 161 Jul 9 2019 .profile
drwx------ 2 root root 4096 Oct 4 2024 .ssh
-rw-r--r-- 1 root root 0 Jun 12 2024 .sudo_as_admin_successful
-rw-r--r-- 1 root root 260 Jun 30 2023 upmpdcli-rbookworm.list
-rw-r--r-- 1 root root 221 May 12 11:07 .wget-hsts
Copy the Repository info to /etc/apt/sources.list.d/
root@nagra:~# cp ./upmpdcli-rbookworm.list /etc/apt/sources.list.d/
root@nagra:~# ls -la /etc/apt/sources.list.d
total 24
drwxr-xr-x 2 root root 4096 May 12 16:54 .
drwxr-xr-x 9 root root 4096 Jun 12 2024 ..
-rw-r--r-- 1 root root 523 Jun 12 2024 moodeaudio-m8y.list
-rw-r--r-- 1 root root 113 Jul 3 2024 nodesource.list
-rw-r--r-- 1 root root 191 Jun 12 2024 raspi.list
-rw-r--r-- 1 root root 260 May 12 16:54 upmpdcli-rbookworm.list
Check it works. I have already tried this once and I had the wrong file protection for the gpg key. THe chmod 644 command above fixed this. So your apt output might be slightly different.
root@nagra:/usr/share/keyrings# apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:6 https://deb.nodesource.com/node_20.x nodistro InRelease
Get:7 https://dl.cloudsmith.io/public/moodeaudio/m8y/deb/raspbian bookworm InRelease [9,657 B]
Get:5 https://www.lesbonscomptes.com/upmpdcli/downloads/raspbian bookworm InRelease [3,091 B]
Get:8 https://www.lesbonscomptes.com/upmpdcli/downloads/raspbian bookworm/main Sources [3,027 B]
Get:9 https://www.lesbonscomptes.com/upmpdcli/downloads/raspbian bookworm/main armhf Packages [8,609 B]
Get:10 https://www.lesbonscomptes.com/upmpdcli/downloads/raspbian bookworm/main arm64 Packages [8,597 B]
Fetched 33.0 kB in 1s (22.1 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
214 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@nagra:
I said no "N" to update the configuration file.
root@nagra:# apt install upmpdcli-qobuz
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
upmpdcli-qobuz is already the newest version (1.9.5-1~ppa1~bookworm).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
upmpdcli : Depends: libupnpp17 (>= 1.0.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@nagra:/usr/share/keyrings# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libupnpp17
The following NEW packages will be installed:
libupnpp17
0 upgraded, 1 newly installed, 0 to remove and 214 not upgraded.
2 not fully installed or removed.
Need to get 361 kB of archives.
After this operation, 2,418 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://www.lesbonscomptes.com/upmpdcli/downloads/raspbian bookworm/main arm64 libupnpp17 arm64 1.0.2-1~ppa1~bookworm [361 kB]
Fetched 361 kB in 0s (1,037 kB/s)
Selecting previously unselected package libupnpp17:arm64.
(Reading database ... 85251 files and directories currently installed.)
Preparing to unpack .../libupnpp17_1.0.2-1~ppa1~bookworm_arm64.deb ...
Unpacking libupnpp17:arm64 (1.0.2-1~ppa1~bookworm) ...
Setting up libupnpp17:arm64 (1.0.2-1~ppa1~bookworm) ...
Setting up upmpdcli (1.9.5-1~ppa1~bookworm) ...
Configuration file '/etc/upmpdcli.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** upmpdcli.conf (Y/I/N/O/D/Z) [default=N] ? N
Installing new version of config file /etc/upmpdcli.conf-dist ...
Setting up upmpdcli-qobuz (1.9.5-1~ppa1~bookworm) ...
Processing triggers for libc-bin (2.36-9+rpt2+deb12u7) ...
root@nagra:#
It works for me. But no guarantee of course.
Have fun :)