can't seem to find epel-release for fedora fc38

102 views
Skip to first unread message

Joseph Verreau

unread,
Feb 10, 2024, 6:19:46 PMFeb 10
to weewx-user
currently running weewx v 5.0.0-1 following an erase of 4.10.  I did finally sort out a few issues, like I didn't know I needed to re-run the device script to add the vantage driver but I got there.  Then there was the issue of udev rules but another thread helped me sort that out.  My version of 5.0.0-1 is running and reporting to my selected weather services (WOW, CWOP and Wunderground).  
So moving ahead I thought I could just update from 5.0.0.1 to 5.0.2-1.  But I'm getting the error about no path to epel-release.  Apparently I had a path to install v5.0.0-1.  I've tried a couple alternatives including a fedora site that claimed I could install that package but I either get a response saying it isn't available or I need to install subscription-manager first.  

[jverreau@xps8700 epel-repo]$ dnf repolist weewx list
repo id                                                                   repo name                                                                status
weewx                                                                     weewx                                                                    enabled
[jverreau@xps8700 epel-repo]$ dnf repolist weewx list available
repo id                                                                   repo name                                                                status
weewx                                                                     weewx                                                                    enabled
[jverreau@xps8700 epel-repo]$ dnf repoquery weewx list available
Last metadata expiration check: 5:17:03 ago on Sat 10 Feb 2024 12:51:11 PM EST.
weewx-0:5.0.0-1.el9.noarch
weewx-0:5.0.1-1.el9.noarch
weewx-0:5.0.1-2.el9.noarch
weewx-0:5.0.1-3.el9.noarch
weewx-0:5.0.2-1.el9.noarch
[jverreau@xps8700 epel-repo]$ dnf list weewx
Last metadata expiration check: 5:18:10 ago on Sat 10 Feb 2024 12:51:11 PM EST.
Installed Packages
weewx.noarch                                                              5.0.0-1.el9                                                               @weewx
Available Packages
weewx.noarch                                                              5.0.2-1.el9                                                               weewx
[jverreau@xps8700 epel-repo]$ sudo dnf upgrade weewx
Last metadata expiration check: 1:25:12 ago on Sat 10 Feb 2024 04:44:34 PM EST.
Dependencies resolved.

 Problem: cannot install the best update candidate for package weewx-5.0.0-1.el9.noarch
  - nothing provides epel-release needed by weewx-5.0.2-1.el9.noarch from weewx
==========================================================================================================================================================
 Package                            Architecture                        Version                                  Repository                          Size
==========================================================================================================================================================
Skipping packages with broken dependencies:
 weewx                              noarch                              5.0.2-1.el9                              weewx                              1.2 M

Transaction Summary
==========================================================================================================================================================
Skip  1 Package

Nothing to do.
Complete!
[jverreau@xps8700 epel-repo]$

Joseph Verreau

unread,
Feb 10, 2024, 6:31:48 PMFeb 10
to weewx-user
here's another piece,  looking at this list of dependencies as below I checked to see if they were installed.  All but epel-release are on my system.  
The issue I'm anticipating is that desktop is running fc38.  I won't be able to install fc39 unless all the packages have a path to an upgrade source.
Of course I could erase weewx upgrade the OS and then reinstall weewx.  seems clugey.

Joe Verreau  

[jverreau@xps8700 epel-repo]$ sudo dnf repoquery --depends weewx
Last metadata expiration check: 1:42:39 ago on Sat 10 Feb 2024 04:44:34 PM EST.
/bin/sh
/usr/bin/getent
/usr/sbin/groupadd
/usr/sbin/useradd
epel-release
python3
python3-cheetah
python3-configobj
python3-pillow
python3-pyserial
python3-pyusb
[jverreau@xps8700 epel-repo]$

vince

unread,
Feb 10, 2024, 6:52:45 PMFeb 10
to weewx-user

matthew wall

unread,
Feb 10, 2024, 7:38:53 PMFeb 10
to weewx-user
how did you install the other dependencies, i.e., python3-cheetah, python3-pillow, python3-configobj?

you could try installing epel-release as per the redhat installation instructions - that will satisfy the epel-release dependency.

i guess we should remove the 'epel-release' dependency from the redhat packages.  the intent was that by specifying epel as a dependency, one would not have to install epel explicitly.  but fedora and redhat are completely different systems; its a challenge to make a package that will work consistently on both, even when your dependencies are few and simple.

Joseph Verreau

unread,
Feb 11, 2024, 11:57:04 AMFeb 11
to weewx-user
Matt,
   I find under fc39  python3-pillow and python3-configobj in @updates repo and python3-cheetah in @fedora repo.  These have been on my system since fc34 for the first two and fc39 for python3-cheetah.    
   Curiously, when I ran the update from weewx 4.10 to v5.0.0  it installed.  Both my laptop and desktop are running fedora altho I upgraded weewx after upgrading from fc38 to fc39 whereas I upgraded weewx on my desktop before upgrading my desktop to fc39.  I mean I'm not implying that was relevant just different in my process.  
    as to installing epel-release on fedora following redhat instructions: I tried that.  It requires a subscription to redhat, starting with installing subscription-manager.  
joev.mi

Joseph Verreau

unread,
Feb 11, 2024, 12:01:03 PMFeb 11
to weewx-user
Vince,
   curiously, I tried following those instructions.  they worked for upgrading from 4.10 to 5.0.0 but not for upgrading from 5.0.0 to 5.0.2.  the first upgrade ran without installing epel-release but yet not requiring to upgrade weewx; the second upgrade just won't.  Go figure.

joev.mi

matthew wall

unread,
Feb 11, 2024, 12:41:35 PMFeb 11
to weewx-user
joe,

the epel-release dependency has been removed for the redhat el8 and el9 packages.  this will appear in the next weewx release (probably 5.0.3, but perhaps 5.1).

meanwhile, you can tell rpm to ignore that dependency, since you already have installed the prereqs that weewx actually uses.

rpm --nodeps

for yum/dnf, you could try the skip broken option

yum --skip-broken

m

Joseph Verreau

unread,
Feb 11, 2024, 5:58:10 PMFeb 11
to weewx-user
   that works.  that is the rpm option.  rpm is happy, dnf distro-sync is happy and weewx is reporting to my configured services.
   I think the yum.dnf --skip-broken will just pass on the install/update.  

Jonathan Ryshpan

unread,
Jun 15, 2024, 9:42:49 PMJun 15
to weewx...@googlegroups.com
It looks like the problem remains. I am trying to upgrade weewx to prepare for installing Fedora-40, and get the following errors (slightly edited).. It may be a good idea to download the rpm and install it using 
rpm --nodeps weewx
but I am suspicious, since python3-importlib-resources is missing as well as epel-release, and I don't want to break my weather station. 

jonrysh@OaklandWeather:~$ sudo dnf upgrade --refresh
[sudo] password for jonrysh:
Fedora 39 - x86_64 71 kB/s | 30 kB 00:00
Fedora 39 openh264 (From Cisco) - x86_64 8.9 kB/s | 989 B 00:00
Fedora 39 - x86_64 - Updates 203 kB/s | 26 kB 00:00
google-chrome 7.8 kB/s | 1.3 kB 00:00
weewx 48 kB/s | 3.0 kB 00:00
Dependencies resolved.

Problem: cannot install the best update candidate for package weewx-4.10.2-1.el8.noarch
- nothing provides epel-release needed by weewx-5.0.2-1.el8.noarch from weewx
- nothing provides python3-importlib-resources needed by weewx-5.0.2-1.el8.noarch from weewx
=================================================================================
Package Architecture Version Repository Size
================================================================================
Skipping packages with broken dependencies:
weewx noarch 5.0.2-1.el8 weewx 1.2 M

Transaction Summary
===============================================================================
Skip 1 Package

Nothing to do.
Complete!
jonrysh@OaklandWeather:~$ sudo dnf upgrade --skip-broken
[sudo] password for jonrysh:
Last metadata expiration check: 0:23:39 ago on Sat 15 Jun 2024 04:19:32 PM PDT.
Dependencies resolved.

Problem: cannot install the best update candidate for package weewx-4.10.2-1.el8.noarch
- nothing provides epel-release needed by weewx-5.0.2-1.el8.noarch from weewx
- nothing provides python3-importlib-resources needed by weewx-5.0.2-1.el8.noarch from weewx
==================================================================================
Package Architecture Version Repository Size
==================================================================================
Skipping packages with broken dependencies:
weewx noarch 5.0.2-1.el8 weewx 1.2 M

Transaction Summary
===================================================================================
Skip 1 Package

Nothing to do.
Complete!

-- 
Sincerely Jonathan Ryshpan <jon...@pacbell.net>

	Fiat justitia, ruant coelis!

Tom Keffer

unread,
Jun 15, 2024, 9:49:23 PMJun 15
to weewx...@googlegroups.com
Would you be willing to try the V5.1 beta? More information.

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/f59606c02cbf1e3482b13ab412daf07cd986362a.camel%40pacbell.net.
Reply all
Reply to author
Forward
0 new messages