Page 1 of 1

zmrepo - CentOS 7.1

Posted: Thu Apr 02, 2015 6:50 pm
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

Re: zmrepo - CentOS 7.1

Posted: Thu Apr 02, 2015 8:49 pm
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.

Re: zmrepo - CentOS 7.1

Posted: Thu Apr 02, 2015 9:20 pm
by chrisn0123
What a pain of their change!! Thanks loads knnniggett :)

Re: zmrepo - CentOS 7.1

Posted: Thu Apr 02, 2015 10:07 pm
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.