zmrepo - CentOS 7.1

Forum for questions and support relating to the 1.28.x releases only.
Locked
chrisn0123
Posts: 28
Joined: Sun Feb 16, 2014 3:10 pm

zmrepo - CentOS 7.1

Post by chrisn0123 »

Hiya!!

CentOS 7.1 was released today and zmrepo keeps erroring out and its confused over the new version. Just wondering if somebody could fix this pleasee? :) This is the errror:

--> Running transaction check
---> Package centos-release.x86_64 0:7-0.1406.el7.centos.2.6 will be updated
--> Processing Dependency: redhat-release = 7.0 for package: zmrepo-7-3.el7.centos.noarch
---> Package centos-release.x86_64 0:7-1.1503.el7.centos.2.8 will be an update
--> Finished Dependency Resolution
Error: Package: zmrepo-7-3.el7.centos.noarch (@/zmrepo-7-3.el7.centos.noarch)
Requires: redhat-release = 7.0
Removing: centos-release-7-0.1406.el7.centos.2.6.x86_64 (@updates)
redhat-release = 7.0
Updated By: centos-release-7-1.1503.el7.centos.2.8.x86_64 (base)
redhat-release = 7.1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@noc yum.repos.d]

Thanks loads and happy Easter! :)

Chris
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: zmrepo - CentOS 7.1

Post by knight-of-ni »

Doh!
I'll build a new zmrepo rpm and push it out tonight.

CentOS 7 changed the format of their release package to include the minor release e.g. 7.0 rather than just 7.
That means I need to build the zmrepo rpm's a little differently than the zmrepo rpm for centos 6.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
chrisn0123
Posts: 28
Joined: Sun Feb 16, 2014 3:10 pm

Re: zmrepo - CentOS 7.1

Post by chrisn0123 »

What a pain of their change!! Thanks loads knnniggett :)
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: zmrepo - CentOS 7.1

Post by knight-of-ni »

A fix has been tested on my development machine and pushed out to the Internets.

You may need to clear your yum cache before your instance of yum will see the change:

Code: Select all

sudo yum clean all
Then just re-run yum update and all should be well.

Hope everything else is working for you with the CentOS 7 rpms in zmrepo.
I'm about ready to take down the beta warning in the WiKi as everything seems to be working.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Locked