there must have been some failure earlier in the installation process resulting in no udev rules file (weewx.rules) copied into the directory /etc/weewx/udev
my first guess is that you tried to install over an existing /etc/weewx directory, and a permissions/ownership problem prevent the copy. however, you indicated that you deleted /etc/weewx were there any other warnings in the installer output? could you post all of the installer output from when you invoked 'sudo apt install weewx'? is there anything else in the /etc/weewx directory after the failed installation? could you do 'ls -lR /etc/weewx' and post the result? > On Oct 2, 2025, at 08:26, Ted Lavino <[email protected]> wrote: > > Folks, getting this error as well on a Rasberry Pi 3B running Raspian > Bookworm (with current updates) after removing (via "sudo apt remove weewx", > plus manually deleting /etc/weewx) and reinstalling via "sudo apt install > weewx". Confirmed /etc/weewx/udev exists but is empty: > > Installing udev rules > sed: can't read /etc/weewx/udev/weewx.rules: No such file or directory > dpkg: error processing package weewx (--configure): > installed weewx package post-installation script subprocess returned error > exit > status 2 > Processing triggers for man-db (2.11.2-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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/weewx-user/1C3A59DF-36F9-4667-8045-D96FA7CD37F8%40gmail.com.
