How can I solve the 'upgrade' problem? ( Raspberry pi 4 with Debian Bullsey ) Terminal command : *sudo apt upgrade* .... 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert *1 not completely installed* .... dpkg: Fehler beim Bearbeiten des Paketes weewx (--configure): »installiertes weewx-Skript des Paketes post-installation«-Unterprozess gab den *Fehlerwert 1 *zurück Trigger für libc-bin (2.31-13+rpt2+rpi1+deb11u2) werden verarbeitet ... Fehler traten auf beim Bearbeiten von: weewx E: Sub-process /usr/bin/dpkg returned an error code (1)
Joachim Puttkammer schrieb am Samstag, 5. März 2022 um 14:07:34 UTC+1: > Thanks, the update was successful. > After the normal WeeWX upgrade, there was an error message: > > See "systemctl status weewx.service" and "journalctl -xe" for details. > invoke-rc.d: initscript weewx, action "start" failed. > ● weewx.service - LSB: weewx-multi > Loaded: loaded (/etc/init.d/weewx; generated) > Active: failed (Result: exit-code) since Sat 2022-03-05 13:44:34 CET; > 21ms ago > Docs: man:systemd-sysv-generator(8) > Process: 72952 ExecStart=/etc/init.d/weewx start (code=exited, > status=1/FAILURE) > Tasks: 2 (limit: 8987) > CPU: 1.649s > CGroup: /system.slice/weewx.service > ├─72966 python /usr/share/weewx/weewxd --daemon --log-label > weewx-dav --pidfile=/var/run/weewx-dav.pid /etc/weewx/dav.conf > └─72976 python /usr/share/weewx/weewxd --daemon --log-label > weewx-eco --pidfile=/var/run/weewx-eco.pid /etc/weewx/eco.conf > > After : > sudo wee_config --upgrade --config=/etc/weewx/dav.conf > --dist-config=/etc/weewx/weewx.conf.dist > and > sudo wee_config --upgrade --config=/etc/weewx/eco.conf > --dist-config=/etc/weewx/weewx.conf.dist > > there was no error . > > gjr80 schrieb am Donnerstag, 3. März 2022 um 14:56:47 UTC+1: > >> I have a dual instance setup running and it's basically as Tom said, you >> just upgrade WeeWX as normal. A WeeWX upgrade only upgrades weewx.conf >> so once the upgrade is done I run the following command on each instance >> config file (neither of my config files is named weewx.conf - if you do >> use weewx.conf for one instance then of course it is upgraded as part of >> the WeeWX upgrade so no need to 'upgrade' it again) to upgrade the instance >> config files: >> >> $ cd /home/weewx >> $ ./bin/wee_config instance.conf --dist-config=weewx.conf.X.Y.Z --upgrade >> >> I run a setup.py install so for a package install the paths will be >> different. sudo may also be required depending on your setup. >> >> Gary >> On Thursday, 3 March 2022 at 23:14:26 UTC+10 [email protected] wrote: >> >>> Not sure what you're asking. If all instances are using the same code >>> base, just update the code base. >>> >>> On Thu, Mar 3, 2022 at 4:59 AM Joachim Puttkammer <[email protected]> >>> wrote: >>> >>>> How should I proceed with the update for weewx-multi (2 instances)? >>>> >>>> >>>> -- >>>> 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/0c64229c-974c-4d8a-acb6-d53b27d2c352n%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/weewx-user/0c64229c-974c-4d8a-acb6-d53b27d2c352n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- 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/da708adb-5d87-40c5-be3f-92b750bdaca7n%40googlegroups.com.
