Trying to install mopidy on Raspberry pi 4b.
The article I am using ( Build a home music system with Raspberry Pi — The MagPi magazine ) says to first use this command :
wget -q -O - https://apt.mopidy.com/mopidy.gpg | sudo apt-key add -
I get the following error message :
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
The Mopidy INstall documentation also says the same thing, to use that command
https://docs.mopidy.com/en/latest/installation/debian/#debian-install
The sequence of commands recommended to use for mopidy install :
wget -q -O - https://apt.mopidy.com/mopidy.gpg | sudo apt-key add -
sudo wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/buster.list
sudo apt update
???
Any help and advice is appreciated !
jjok
March 3, 2022, 2:03pm
2
I think it still worked though, didn’t it? It’s a warning saying that it’s deprecated, not an error saying it didn’t work.
I think it partially works…but the Mopidy documentation for installation instructions should be updated to account for this error message seen…
I still question if Mopidy is working → see the other issue I posted, where I get sound from a streaming radio website, but if I use IRIS and try to play an album, no sound.
jjok
March 5, 2022, 3:52pm
4
Here’s an article talking about it. Apparently the next Ubuntu LTS will be the last version to support that method.
How to replace the deprecated apt-key to add third-party (unofficial) repositories and their OpenPGP signing keys on Debian, Ubuntu, Linux Mint, Pop!
jjok
March 5, 2022, 3:56pm
5
This has already been raised as an issue to be fixed.
opened 11:03PM - 17 Dec 21 UTC
**Describe the bug**
The apt-key command is deprecated. The install docs tell… us to use it, but this is not recommended.
**How to reproduce**
Run `wget -q -O - https://apt.mopidy.com/mopidy.gpg | sudo apt-key add -`
**Expected behaviour**
Saving the key to `/etc/apt/trusted.gpg.d/` be done directly.
**Environment**
Please complete the following information:
- Operating system (e.g. Debian Buster, Ubuntu 20.04) - 21.04
- [Running Mopidy](https://docs.mopidy.com/en/latest/running/) as a service or in the terminal? - N/A
- Your config (output of `sudo mopidyctl config`) - N/A
- Software versions (output of `sudo mopidyctl deps`) - N/A
- Any specific hardware (e.g. an exotic USB soundcard) - N/A
**Additional context**
see apt-key(8)
system
Closed
September 4, 2022, 3:56am
6
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.