ngageoint / hootenanny

Hootenanny conflates multiple maps into a single seamless map.
GNU General Public License v3.0
358 stars 74 forks source link

Setup based on `mirrorlist.centos.org` fails - web site not exits #5762

Open frodrigo opened 3 months ago

frodrigo commented 3 months ago

All setup based on mirrorlist.centos.org fails with "Could not retrieve mirrorlist". The web site does not any more exits.

It fails on vagrant up hoot_centos7_rpm like on docker RPM based setup. Add any other context about the problem here.

Erfanh1995 commented 1 month ago

This is because CentOS 7 is old and hootenanny doesn't work on 8 apparently. Use vagrant sshwhen the VM is up. You need to go to .repo files in the directory /etc/yum.repos.d inside the VM and comment out all the mirrorlist lines and uncomment all the baseurl lines. There are three files in /etc/yum.repos.d that include mirrorlist lines: CentOS-base.repo , CentOS-SCLo-scl.repo and CentOS-SCLo-scl-rh.repo. Modify them using vim. You will also need to change mirror.centos to vault.centos in the baseurl lines. This will fix the issue with the VM but I am currently stuck at this stage where after running the VM without error and logging into it, it does not recognize hoot command. I have already run source ./SetupEnv.sh and I am inside hoot directory.

olearytd commented 1 month ago

Good morning, sorry that responses were delayed on this.

@Erfanh1995 guidance should work; if you want to use sed these are the commands I've used in the past

    sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo && \
    sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo && \
    sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo

Internal teams at Maxar that manage the releases are slowly working towards EL9 support. Sorry for the delay!

Erfanh1995 commented 1 month ago

Hi @olearytd, any guesses on why hoot command is not recognized on my VM? I am currently trying to run hootenanny via the command line. I have followed the steps in the instructions and the VM runs without error but hoot command is still not found. Thanks!