Weexw 5.1 and Red Hat packages

120 views
Skip to first unread message

James Taylor

unread,
Jul 6, 2024, 4:28:19 AM7/6/24
to weewx-user
Hello

Is somebody able to remove the beta packages from the yum repository, otherwise dnf thinks the latest package is 5.1.0b6-1.el9 and installing 5.1.0-2.el9 is a downgrade.

Installed Packages
weewx.noarch                        5.1.0b6-1.el9                         @weewx
Available Packages
weewx.noarch                        5.0.0-1.el9                           weewx
weewx.noarch                        5.0.1-1.el9                           weewx
weewx.noarch                        5.0.1-2.el9                           weewx
weewx.noarch                        5.0.1-3.el9                           weewx
weewx.noarch                        5.0.2-1.el9                           weewx
weewx.noarch                        5.1.0-1.el9                           weewx
weewx.noarch                        5.1.0-2.el9                           weewx
weewx.noarch                        5.1.0b5-2.el9                         weewx
weewx.noarch                        5.1.0b6-1.el9                         weewx


Would it be more sensible to also have a weewx-beta repo so the beta releases are stored in a different folder so test users can enable that repo is they wish?

[weewx]
name=weewx
baseurl=http://weewx.com/yum/weewx/el$releasever
enabled=1
gpgcheck=1

[weewx-beta]
name=weewx
baseurl=http://weewx.com/yum/weewx-beta/el$releasever
enabled=0
gpgcheck=1


Thanks in advance

James

matthew wall

unread,
Jul 6, 2024, 7:49:33 AM7/6/24
to weewx-user
On Saturday, July 6, 2024 at 4:28:19 AM UTC-4 James Taylor wrote:
Is somebody able to remove the beta packages from the yum repository, otherwise dnf thinks the latest package is 5.1.0b6-1.el9 and installing 5.1.0-2.el9 is a downgrade.

fixed.  sorry about that, i was sloppy when i did the repo updates.  there *is* a testing repo at http://weewx.com/yum-test 

we always put the alpha and beta releases in the 'development_versions' directory of downloads so we/you can test, then we put some of those into the 'yum-test' repo for end-to-end testing.

this time i mistakenly replicated the yum-test repo onto the production repo.

m

James Taylor

unread,
Jul 6, 2024, 10:03:45 AM7/6/24
to weewx-user
Hi Matthew

Thanks for picking it up and solving it.   We've all been there and copied the wrong things around.

I'll add the testing repo to my yum.repos.d for next time :-)

James

Jose Maria T.J.

unread,
Jul 6, 2024, 12:54:19 PM7/6/24
to weewx-user
Hello

I'm having this problem (This is a Fedora 40 box, el9 repo forced in repo file)

root@host:~# dnf upgrade
weewx                                           8.6 kB/s | 3.0 kB     00:00    
Dependencies resolved.
================================================================================
 Package         Architecture     Version                 Repository       Size
================================================================================
Upgrading:
 weewx           noarch           5.1.0b6-1.el9           weewx           1.2 M

Transaction Summary
================================================================================
Upgrade  1 Package

Total download size: 1.2 M
Is this ok [y/N]: y
Downloading Packages:
[MIRROR] weewx-5.1.0b6-1.el9.noarch.rpm: Status code: 404 for http://weewx.com/yum/weewx/el9/RPMS/weewx-5.1.0b6-1.el9.noarch.rpm (IP: 34.218.218.142)
[MIRROR] weewx-5.1.0b6-1.el9.noarch.rpm: Status code: 404 for http://weewx.com/yum/weewx/el9/RPMS/weewx-5.1.0b6-1.el9.noarch.rpm (IP: 34.218.218.142)
[MIRROR] weewx-5.1.0b6-1.el9.noarch.rpm: Status code: 404 for http://weewx.com/yum/weewx/el9/RPMS/weewx-5.1.0b6-1.el9.noarch.rpm (IP: 34.218.218.142)
[MIRROR] weewx-5.1.0b6-1.el9.noarch.rpm: Status code: 404 for http://weewx.com/yum/weewx/el9/RPMS/weewx-5.1.0b6-1.el9.noarch.rpm (IP: 34.218.218.142)
[FAILED] weewx-5.1.0b6-1.el9.noarch.rpm: No more mirrors to try - All mirrors were already tried without success

The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Error downloading packages:
  weewx-5.1.0b6-1.el9.noarch: Cannot download, all mirrors were already tried without success
root@host:~#


Is this related to this thread? How can fix it?

I've done dnf clean all and dnf upgrade --refresh several times

Thanks,

matthew wall

unread,
Jul 6, 2024, 1:52:51 PM7/6/24
to weewx-user
jose,

could you refresh your dnf cache then try again?  something like this:

sudo yum clean all

then upgrade weewx:

sudo dnf update weewx

matthew wall

unread,
Jul 6, 2024, 1:55:55 PM7/6/24
to weewx-user
jose, i understand that you did 'dnf clean all' before, but i just re-published the repo.  it looks like the rpm files were removed, but some references to beta rpms remained in the repodata xml.  it should work normally now, and i am doing some re-tooling of our development plumbing to make this more robust for future releases.  m

Jose Maria

unread,
Jul 6, 2024, 4:54:06 PM7/6/24
to weewx...@googlegroups.com

Hello

Yes, now is solved, updated and running.

Downloaded, failed signing check, and after imported the Key, upgraded and running

Thanks!


El 6/7/24 a las 19:52, matthew wall escribió:
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/mE120DZo_wM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/b1728332-ee01-466a-a749-e2c888cfca37n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages