Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running make clean and make after a failed deployment fails in yum update #198

Closed
e-minguez opened this issue Jan 27, 2020 · 4 comments
Closed
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@e-minguez
Copy link
Contributor

CentOS 7 freshly installed. I've faced #136 so I've tried the workaround by commenting the init_minikube function in the 01 script. I've executed make clean then make and now it fails in the first yum update:

+++ '[' '!' -d /opt/metal3-dev-env ']'
++ sudo yum install -y libselinux-utils
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirror.linux.duke.edu
 * epel: mirror.es.its.nyu.edu
 * extras: mirror.linux.duke.edu
 * updates: repo1.ash.innoscale.net
7 packages excluded due to repository priority protections
Package libselinux-utils-2.5-14.1.el7.x86_64 already installed and latest version
Nothing to do
++ selinuxenabled
++ sudo setenforce permissive
++ sudo sed -i s/=enforcing/=permissive/g /etc/selinux/config
++ sudo yum -y update
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirror.linux.duke.edu
 * epel: mirror.es.its.nyu.edu
 * extras: mirror.linux.duke.edu
 * updates: mirror.linux.duke.edu
7 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package oniguruma.x86_64 0:5.9.5-3.el7 will be updated
--> Processing Dependency: libonig.so.2()(64bit) for package: jq-1.6-1.el7.x86_64
---> Package oniguruma.x86_64 0:6.7.0-1.el7 will be an update
--> Finished Dependency Resolution
Error: Package: jq-1.6-1.el7.x86_64 (@epel)
           Requires: libonig.so.2()(64bit)
           Removing: oniguruma-5.9.5-3.el7.x86_64 (@epel)
               libonig.so.2()(64bit)
           Updated By: oniguruma-6.7.0-1.el7.x86_64 (delorean-master-testing)
              ~libonig.so.4()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
make: *** [install_requirements] Error 1

Just in case, I've disabled both yum update in the centos_install_requirements.sh script and the 01 script finish successfully.

@stbenjam
Copy link
Member

Hack to fix this: #203

@stbenjam
Copy link
Member

/kind bug

@metal3-io-bot metal3-io-bot added the kind/bug Categorizes issue or PR as related to a bug. label Jan 29, 2020
@maelk
Copy link
Member

maelk commented Jan 29, 2020

The PR was merged, is this fixed ? Should we close ?

@e-minguez
Copy link
Contributor Author

The PR was merged, is this fixed ? Should we close ?

I didn't have the chance to test it yet, but I'm assuming it would be so I'm closing the issue. Thanks!

cybertron added a commit to cybertron/metal3-dev-env that referenced this issue Feb 27, 2020
There is a dependency issue between RDO and EPEL that causes subsequent
runs to fail if the repos are not removed. See metal3-io#198 for further
details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

4 participants