I'm trying to install the latest version, 5.1, onto a card for my test Pi. I installed bookworm, had problems installing the package until I used the instructions in https://weewx.com/apt/.
Eventually I removed it with sudo apt-get remove --purge weewx. However there are still issues. This is what was displayed on the screen - -3.321637 is the station's longitude. And as you can see, the service isn't installed. pi@TestWeeWx5:~ $ sudo apt install weewx Reading package lists... Done Building dependency tree... Done Reading state information... Done Suggested packages: sqlite ftp httpd python3-dev python3-pip The following NEW packages will be installed: weewx 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/1,561 kB of archives. After this operation, 5,754 kB of additional disk space will be used. Preconfiguring packages ... Selecting previously unselected package weewx. (Reading database ... 64090 files and directories currently installed.) Preparing to unpack .../archives/weewx_5.1.0-4_all.deb ... Unpacking weewx (5.1.0-4) ... Setting up weewx (5.1.0-4) ... Using weewx:weewx as user:group User pi is already in group weewx Installing udev rules usage: weectl.py -v|--version weectl.py -h|--help weectl.py database --help weectl.py debug --help weectl.py device --help weectl.py extension --help weectl.py import --help weectl.py report --help weectl.py station --help weectl.py: error: unrecognized arguments: -3.321637 -3.321637 dpkg: error processing package weewx (--configure): installed weewx package post-installation script subprocess returned error exit status 2 Errors were encountered while processing: weewx E: Sub-process /usr/bin/dpkg returned an error code (1) pi@TestWeeWx5:~ $ pi@TestWeeWx5:~ $ sudo systemctl start weewx Failed to start weewx.service: Unit weewx.service not found. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/weewx-user/28eb2030-5e8a-410b-830f-c4a828201849n%40googlegroups.com.