chaos-consulting / adsberry

ADS-B mit dem Raspberry Pi - Chaosconsulting Style
28 stars 5 forks source link

No module named 'mlat' #9

Closed niehauss closed 10 months ago

niehauss commented 10 months ago

mlat stopped working some time ago: log file says:

Traceback (most recent call last):
  File "/usr/bin/mlat-client-c2is", line 22, in <module>
    import mlat.client.version
ModuleNotFoundError: No module named 'mlat'
mlat-client-c2is:
  Installed: 0.3.2-2
  Candidate: 0.3.2-2
  Version table:
 *** 0.3.2-2 500
        500 https://repo.chaos-consulting.de/debian bullseye/main armhf Packages
        100 /var/lib/dpkg/status

root@adsb-receiver:/home/user# apt policy dump1090-mutability 
dump1090-mutability:
  Installed: 1.15~20180310.4a16df3+dfsg-8.1
  Candidate: 1.15~20180310.4a16df3+dfsg-8.1
  Version table:
 *** 1.15~20180310.4a16df3+dfsg-8.1 500
        500 http://raspbian.raspberrypi.org/raspbian bookworm/main armhf Packages
        100 /var/lib/dpkg/status

Do you have any idea what might be wrong?

skymaker-c2is commented 10 months ago

Hi @niehauss,

I guess you've dist-upgraded to bookworm recently. Please make sure to change the raspbian release in /etc/apt/sources.list.d/c2is.list to bookworm, too:

deb [signed-by=/usr/share/keyrings/c2is.key] https://repo.chaos-consulting.de/debian bullseye main

Then, do a sudo apt update and sudo apt upgrade and let me know if it works.

niehauss commented 10 months ago

let me know if it works.

Yes, it does.

Thank you very much!