Bullseye refuses to install

The installation of the package rhasspy_amd64.deb (2.5.11) fails with Bullseye because the dependent package libgfortran4 cannot be installed.
The libgfortran5 package is used in Bullseye.
Regards Jens

p.s. I have corrected the dependency in the package:
wget https://github.com/rhasspy/rhasspy/releases/latest/download/rhasspy_amd64.deb
dpkg-deb --extract rhasspy_amd64.deb tmp
dpkg-deb --control rhasspy_amd64.deb tmp/DEBIAN
sed -n -i ‘s/libgfortran4/libgfortran5/gp’ ./tmp/DEBIAN/control
dpkg --build tmp rhasspy_amd64.deb
dpkg -i ./rhasspy_amd64.deb

1 Like

sorry, sed is wrong
sed -i 's/libgfortran4/libgfortran5/' ./tmp/DEBIAN/control

Thank you so very much for getting back to me so soon!! Just for those that follow, make sure you delete the “control” file created in tmp if you’ve follow the previous instructions, and then restart the process at:
dpkg-deb --extract rhasspy_amd64.deb tmp.

Hello

I’m newbie and in my case I’ve same problem for install Rhasspy and Bullseye and followed your instruction, but after this…

familiejoehr@familiejoehr-VirtualBox:~$ sudo dpkg -i ./rhasspy_amd64.deb
[sudo] Passwort für familiejoehr:
(Lese Datenbank … 191342 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von ./rhasspy_amd64.deb …
Entpacken von rhasspy (2.5.11) über (2.5.11) …
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von rhasspy:
rhasspy hängt ab von jq; aber:
Paket jq ist nicht installiert.
rhasspy hängt ab von sox; aber:
Paket sox ist nicht installiert.
rhasspy hängt ab von libportaudio2; aber:
Paket libportaudio2 ist nicht installiert.
rhasspy hängt ab von libatlas3-base; aber:
Paket libatlas3-base ist nicht installiert.
rhasspy hängt ab von libgfortran5; aber:
Paket libgfortran5 ist nicht installiert.
rhasspy hängt ab von supervisor; aber:
Paket supervisor ist nicht installiert.
rhasspy hängt ab von libopenblas-base; aber:
Paket libopenblas-base ist nicht installiert.
rhasspy hängt ab von libatomic1; aber:
Paket libatomic1 ist nicht installiert.
dpkg: Fehler beim Bearbeiten des Paketes rhasspy (–install):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
rhasspy
familiejoehr@familiejoehr-VirtualBox:~$

Your suggestion is welcome!
Regards Michael

Most likely, your installation is just incomplete. Try sudo apt-get -f install
If that doesn’t help, it should at least output some more hints how to fix this kind of problem.

Yes, sudo apt-get -f install and a reboot did exactly what i need…

THX!

I am new to commands and such in linux. I found the control file in several places. Can you be more specific with your suggestion?

Hi RetVet06,
My suggestion was only applicable if you had followed jesn-schiffke original instructions:
sed -n -i ‘s/libgfortran4/libgfortran5/gp’ ./tmp/DEBIAN/control
rather than his revised instruction:
sed -i ‘s/libgfortran4/libgfortran5/’ ./tmp/DEBIAN/control

If you used the revised sed as step four, you don’t need to delete anything.

If you followed the original instructions, just delete the “control” folder in
/tmp/DEBIAN .

Jeff

Jeff,
Thanks for the reply. I wasn’t sure I would hear back with this being so old.
As I stated earlier, I’m a total newbie to this… I know I could have gone the easy route, but where is the fun in that.

So… I managed to get Rhasspy working on the 4th try of running through the steps. LOL… I have a little theory as to my issue with not being able to do it the first try.
Being that the raspberry Pi’s are so costly. I built a Dell Wyse 5060 TC and installed Ubuntu 22.04 on it and that was where I started after installing python.
My thinking is that, with my machine not having any other projects done on it. It would lack others machines that have had several projects on them. And that would mean their dependencies library would have more to draw from. which makes it easier to do these little projects. Then again I could be totally wrong as I’m the NFG to all of this.
Thx,
Kev