Matthew, Many thanks for your reply.
it does look like I'm having the same issue as described in the link you posted - I searched high and low for similar issues but that one passed me by. My /etc/default/weewx file does contain the "python2" value. WEEWX_PYTHON=python2 WEEWX_PYTHON_ARGS= WEEWX_BINDIR=/usr/share/weewx WEEWX_BIN=/usr/bin/weewxd WEEWX_CFG=/etc/weewx/weewx.conf As a bit of background. I'm running Weewx on a Raspberry Pi 3 Model B Plus Rev 1.3 (5.1.103-v7+) running Debian 11.1. I followed the upgrade steps as per https://weewx.com/docs/5.0/quickstarts/debian/#upgrade. The install progressed okay, with the text UI showing asking me to set the station location/coordinates/website and select the weather station driver and also asked if I wanted to overwrite the weewx.conf file. After that it errored out. I have modified the "WEEWX_PYTHON=python2" line to be "python3" and now the install progresses further, however no getting 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) I'll work on this one separately. Thanks again for you help, and great software! Cheers Simon On Tuesday, January 30, 2024 at 3:57:26 PM UTC matthew wall wrote: > simon, > > please post the contents of /etc/default/weewx > > you are probably experiencing the behavior reported in this issue: > > https://github.com/weewx/weewx/issues/917#issuecomment-1895917342 > > m > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/3f785e53-8abf-44e6-9cbe-d346b5f37c27n%40googlegroups.com.
