Skip to content

A newer rustc and pulseaudio is missing in Bullseye Pi OS #692

@ewasser

Description

@ewasser

Hohoho… 🎅

I've installed Debian Bullseye (Pi OS) on my raspberry 3b and launced your script bash -c "$(curl -sL https://raw.githubusercontent.com/kalliope-project/kalliope/master/install/rpi_install_kalliope.sh).

The first run was missing the correct rust build chain, because the rustc package from Pi OS was too old (1.48.0+dfsg1-2) for building the cryptography stuff. Quote from Installation — Cryptography 42.0.0.dev1 documentation:

Building cryptography requires having a working Rust toolchain. The current minimum supported Rust version is 1.63.0.

So I've installed rust in a newer version and relaunched the script. This are the last lines of the output:

…
Successfully installed Flask-Restful-0.3.10 Flask-Testing-0.8.1 GitPython-3.1.40 SoundFile-0.12.1 SpeechRecognition-3.10.1 Werkzeug-3.0.1 aniso8601-9.0.1 ansible-8.7.0 ansible-core-2.15.8 appdirs-1.4.4 apscheduler-3.10.4 attrs-23.1.0 better-exceptions-0.3.3 blinker-1.7.0 cachingutil-1.2.7 cffi-1.16.0 charset-normalizer-3.3.2 classutils-1.18.2 click-8.1.7 configurationutil-3.7.6 conversionutil-1.4.6 cryptography-41.0.7 dominate-2.9.1 et-xmlfile-1.1.0 fdutil-1.16.1 flask-3.0.0 flask_cors-4.0.0 future-0.18.3 gTTS-2.5.0 gevent-23.9.1 gitdb-4.0.11 greenlet-3.0.3 httpretty-1.1.4 importlib-metadata-7.0.1 importlib-resources-5.0.7 ipaddress-1.0.23 itsdangerous-2.1.2 jinja2-3.1.2 jsonschema-2.5.1 kalliope-0.7.2 logging-helper-1.9.0 logging-tree-1.9 markupsafe-2.1.3 mock-5.1.0 openpyxl-3.1.2 packaging-23.2 paho-mqtt-1.6.1 pyalsaaudio-0.10.0 pyasn1-0.5.1 pyaudio-0.2.14 pycparser-2.21 pyperclip-1.8.2 pytz-2023.3.post1 pyyaml-6.0.1 requests-2.31.0 resolvelib-1.0.1 ruamel.yaml-0.18.5 ruamel.yaml.clib-0.2.8 smmap-5.0.1 sounddevice-0.4.6 stateutil-1.4.0 tableutil-2.4.5 timingsutil-1.7.1 transitions-0.9.0 typing-extensions-4.9.0 tzlocal-5.2 uiutil-1.38.0 voicerss_tts-1.0.6 watchdog-3.0.0 zipp-3.17.0 zope.event-5.0 zope.interface-6.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Installing Kalliope...[OK]
Adding default-server to /etc/pulse/client.conf..[OK]
Adding 'autospawn = no' to /etc/pulse/client.conf..[OK]
Adding user pi to group pulse-access
usermod: group 'pulse-access' does not exist
grep: /etc/pulse/system.pa: No such file or directory
Adding 'load-module module-alsa-sink device=hw:0,0' to /etc/pulse/system.pa..[OK]
Adding 'set-default-sink alsa_output.hw_0_0' to /etc/pulse/system.pa..[OK]
Create pulseaudio service
Creating pulseaudio service..[OK]
Created symlink /etc/systemd/system/multi-user.target.wants/pulseaudio.service → /etc/systemd/system/pulseaudio.service.
Enable and starting pulseaudio.service..[OK]
Job for pulseaudio.service failed because the control process exited with error code.
See "systemctl status pulseaudio.service" and "journalctl -xe" for details.
Installing pulseaudio service..[OK]
Remember to setup speaker and microphone properly.
https://kalliope-project.github.io/kalliope/installation/raspbian/#microphone-and-speaker-configuration

The problem here is that pulseaudio isn't installed and it can't be installed via apt-get install pulseaudio because of unmet dependencies:

root@raspberrypi:/home/pi# apt-get install pulseaudio
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libttspico-utils:armhf : Depends: libc6:armhf (>= 2.4) but it is not going to be installed
                          Depends: libpopt0:armhf (>= 1.14) but it is not going to be installed
 libttspico0:armhf : Depends: libc6:armhf (>= 2.4) but it is not going to be installed
 pulseaudio : Depends: libltdl7 (>= 2.4.6) but it is not going to be installed
              Depends: libspeexdsp1 (>= 1.2~beta3.2-1) but it is not going to be installed
              Depends: libwebrtc-audio-processing1 but it is not going to be installed
              Depends: libxtst6 but it is not going to be installed
              Depends: libasound2-plugins but it is not going to be installed
              Depends: pulseaudio-utils but it is not going to be installed
              Recommends: rtkit but it is not going to be installed
              Recommends: dbus-user-session
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Are you aware of this issues? How can I fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions