Hey Tom,
Just tried to upgrade from rc1 to rc3-2, and get Get:1 https://weewx.com/apt-test/python3 buster/main all weewx all 5.0.0rc3-2 [1,556 kB] Fetched 1,556 kB in 0s (3,314 kB/s) Reading changelogs... Done Preconfiguring packages ... (Reading database ... 74780 files and directories currently installed.) Preparing to unpack .../weewx_5.0.0rc3-2_all.deb ... Removed /etc/systemd/system/multi-user.target.wants/weewx.service. Unpacking weewx (5.0.0rc3-2) over (5.0.0rc1-2) ... dpkg: warning: unable to delete old directory '/var/www/html/weewx': Directory not empty dpkg: warning: unable to delete old directory '/var/lib/weewx': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Standard/smartphone/icons': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Standard/smartphone': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Standard/lang': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Standard/font': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Standard/backgrounds': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Standard/RSS': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Standard/NOAA': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Standard': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Smartphone/lang': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Smartphone/icons': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Smartphone': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Seasons/lang': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Seasons/font': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Seasons/NOAA': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Seasons': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Rsync': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Mobile/lang': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Mobile': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins/Ftp': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/skins': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/bin/user': Directory not empty dpkg: warning: unable to delete old directory '/etc/weewx/bin': Directory not empty Setting up weewx (5.0.0rc3-2) ... Installing new version of config file /etc/weewx/examples/alarm.py ... Installing new version of config file /etc/weewx/examples/basic/install.py ... Installing new version of config file /etc/weewx/examples/basic/readme.md ... Installing new version of config file /etc/weewx/examples/fileparse/readme.md ... Installing new version of config file /etc/weewx/examples/lowBattery.py ... Installing new version of config file /etc/weewx/examples/pmon/install.py ... Installing new version of config file /etc/weewx/examples/pmon/readme.md ... Installing new version of config file /etc/weewx/examples/tests/test_vaporpressure.py ... Installing new version of config file /etc/weewx/examples/xstats/readme.txt ... Installing new version of config file /etc/weewx/examples/xstats/skins/xstats/index.html.tmpl ... Installing new version of config file /etc/weewx/examples/xstats/skins/xstats/skin.conf ... Installing new version of config file /etc/weewx/import/csv-example.conf ... Installing new version of config file /etc/weewx/import/cumulus-example.conf ... Installing new version of config file /etc/weewx/import/wd-example.conf ... Installing new version of config file /etc/weewx/import/weathercat-example.conf ... Installing new version of config file /etc/weewx/import/wu-example.conf ... Configuration file '/etc/weewx/weewx.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** weewx.conf (Y/I/N/O/D/Z) [default=N] ? Creating maintainer config file as /etc/weewx/weewx.conf-5.0.0rc1-5.0.0rc3 Using configuration file /etc/weewx/weewx.conf-5.0.0rc1-5.0.0rc3 Finished upgrading configuration file /etc/weewx/weewx.conf-5.0.0rc1-5.0.0rc3 Saving configuration file /etc/weewx/weewx.conf-5.0.0rc1-5.0.0rc3 dpkg: error processing package weewx (--configure): installed weewx package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: weewx E: Sub-process /usr/bin/dpkg returned an error code (1) Not sure if it’s erroring due to not being able to swap out the skins directories, or something else… From: [email protected] <[email protected]> On Behalf Of Tom Keffer Sent: Monday, January 8, 2024 4:06 PM To: weewx-user <[email protected]>; weewx-development <[email protected]> Subject: [weewx-development] Availability of v5.0.0rc3 One last look at V5 before it goes out the door! V5 can be installed using either pip, or the usual package installers. Pip For pip installs, please delete your old virtual environment, then install from scratch by following the pip install instructions <https://weewx.com/docs/5.0/quickstarts/pip/> . While upgrading should work, we are particularly interested in the experience of a new install, including setting up a daemon and udev files. Make sure to follow the new instructions that use a daemon setup script. Debian For Debian package installs, modify /etc/apt/sources.list as follows: echo "deb [arch=all] https://weewx.com/ <https://weewx.com/apt-test/python3> apt-test/python3 buster main" | sudo tee /etc/apt/sources.list.d/weewx.list Note the "apt-test". This tells apt to look there for the beta release, instead of the normal repository. You may want to change it back when you're done. Otherwise, follow the Debian install instructions <https://weewx.com/docs/5.0/quickstarts/debian/> . Red Hat For Red Hat package installs, put this in /etc/yum.repos.d/weewx.repo [weewx] name=weewx baseurl=http://weewx.com/ <http://weewx.com/yum-test/weewx/el9> yum-test/weewx/el9 enabled=1 Note the "yum-test". This tells yum to look there for the beta release, instead of the normal repository. Again, you may want to change things back when you're done. Otherwise, follow the Redhat install instructions <https://weewx.com/docs/5.0/quickstarts/redhat/> . What we're looking for 1. We are interested in your upgrade experience. Did the installers get your configuration file right? Skins? Is the daemon configured correctly? 2. With this release, we have included udev rules to set the correct permissions for devices. Did it work? If not, did unplugging then replugging the device work? 3. How about logging? Is it going to your system logger? Do the labels look reasonable? Thanks! -Tom & Matt -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]> . To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/CAPq0zECPG4PmhBH0RKYOULr8RdSrwMZ-sM%3DURzbtqUmEvC1Uug%40mail.gmail.com <https://groups.google.com/d/msgid/weewx-development/CAPq0zECPG4PmhBH0RKYOULr8RdSrwMZ-sM%3DURzbtqUmEvC1Uug%40mail.gmail.com?utm_medium=email&utm_source=footer> . -- You received this message because you are subscribed to the Google Groups "weewx-development" 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-development/02aa01da4322%24ff8f6e70%24feae4b50%24%40gmail.com.
