Bonjour,
A la recherche d’un problème pour installer les libttspico sur Raspberry pour le plugin PlayTTS
Dans le script d’installation de Jeedom : install.sh (présent en Alpha et stable)
Je remarque que cette commande sur Raspberry Pi OS Bullseye lite ne fonctionne pas :
add-apt-repository -y non-free
pi@rpi3bdev:~ $ sudo add-apt-repository -y non-free
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 95, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 91, in get_sources
raise NoDistroTemplateException(
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/bullseye
Du coup, cela pose aussi un problème pour la suite de l’installation, comme cette ligne :
apt-get -y install libsox-fmt-mp3 sox libttspico-utils
Package libttspico-utils is not available, but is referred to by another package.
J’arrive à corriger la situation en ajoutant des dépôts suivants :
deb http://deb.debian.org/debian bullseye main contrib non-free
Mais en faisant :
sudo apt update
, j’ai cette erreur :
Get:1 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
Get:3 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13.2 MB]
Get:5 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [313 kB]
Err:3 http://deb.debian.org/debian bullseye InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 NO_PUBKEY 605C66F00D6C9793
Reading package lists... Done
W: GPG error: http://deb.debian.org/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 NO_PUBKEY 605C66F00D6C9793
E: The repository 'http://deb.debian.org/debian bullseye InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Que je corrige avec cette commande :
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9
Après cela, les packages : libttspico sont disponibles
pi@rpi3bdev:~ $ sudo apt install libttspico [TAB]
libttspico0 libttspico-data libttspico-dev libttspico-utils
Merci