Fedora Weewx RPM install

139 views
Skip to first unread message

Mark Jenks

unread,
Mar 6, 2024, 6:57:25 AM3/6/24
to weewx-user
Good morning!

I was going to do PIP for the new 5.x install, instead of using the setup.py like I have for years.
Then I saw the RPM, and figured I was take a look at that, except the rpm doesn't work for Fedora.
Fedora is not Enterprise Linux, so you can not install EPEL-Repo for it, but all packages that are in the EPEL, are already avail for Fedora.

Looking at the RPM, epel-release is a dependency which is required by the RPM.  So either you create a new RPM for Fedora only, or the dependency needs to be removed.

-Mark

#########################
dnf install weewx
Last metadata expiration check: 0:25:37 ago on Wed 06 Mar 2024 05:30:57 AM CST.
Dependencies resolved.

 Problem: cannot install the best candidate for the job
  - nothing provides epel-release needed by weewx-5.0.2-1.el9.noarch from weewx
########################

rpm -qpR weewx-5.0.2-1.el9.noarch.rpm
/bin/sh
/bin/sh
/bin/sh
/usr/bin/getent
/usr/sbin/groupadd
/usr/sbin/useradd
epel-release
python3
python3-cheetah
python3-configobj
python3-pillow
python3-pyserial
python3-pyusb
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

Tom Keffer

unread,
Mar 6, 2024, 10:33:04 AM3/6/24
to weewx...@googlegroups.com
See issue #940.

--
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/b8af8921-dcb7-4bfa-9e21-dfdbfb26682cn%40googlegroups.com.

John

unread,
Mar 7, 2024, 12:55:19 AM3/7/24
to weewx...@googlegroups.com
Not withstanding all of that below Is there a weewx-5.0.2 source rpm (.srpm)
anywhere public?

I'm a Mageia user who's been installing the Fedora rpms for years (2009)
without
having dependency issues and I'm keen to condition the tradition :-)

Cheers

John in NZ


On 7/03/24 04:32, Tom Keffer wrote:
> See issue #940 <https://github.com/weewx/weewx/issues/940>.
> *epel-release*
> python3
> python3-cheetah
> python3-configobj
> python3-pillow
> python3-pyserial
> python3-pyusb
> rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(FileDigests) <= 4.6.0-1
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> rpmlib(PayloadIsXz) <= 5.2-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 weewx-user+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/b8af8921-dcb7-4bfa-9e21-dfdbfb26682cn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/b8af8921-dcb7-4bfa-9e21-dfdbfb26682cn%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 weewx-user+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/CAPq0zEAf7aEay_sUddjZeR-wMwrL5BR5T0N%3DfLfiyo7Dnhy7fQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEAf7aEay_sUddjZeR-wMwrL5BR5T0N%3DfLfiyo7Dnhy7fQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.

vince

unread,
Mar 7, 2024, 1:22:42 AM3/7/24
to weewx-user
You could git clone the repo and build your own from the makefile. Looks like it calls rpmbuild -ba so it should build the srpm hopefully.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages