Another terribly bad problem report. Please read https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user for how to provide enough information for people to try to help....
But given your minimal information.... Why did you answer yes for installing weewx if it was already there and installed ? Suggest you try 'sudo apt-get update' and then 'sudo apt-get upgrade' if you are trying to upgrade from initial 5.0.0 to the latest revision... On Wednesday, February 7, 2024 at 12:20:46 PM UTC-8 Daniel Fourlas wrote: > > pi@SunSDR-pi4:~ $ sudo apt-get install weewx > Reading package lists... Done > Building dependency tree... Done > Reading state information... Done > weewx is already the newest version (5.0.0-1). > 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded. > 1 not fully installed or removed. > After this operation, 0 B of additional disk space will be used. > Do you want to continue? [Y/n] y > Setting up weewx (5.0.0-1) ... > Using root:root as user:group > Using debconf configuration values from previous install > 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: ¦ ¦ > 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) > -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/7721f659-a487-4b2b-9099-cdaf8b41e97cn%40googlegroups.com.