Start a Conversation

Solved!

Go to Solution

1 Rookie

 • 

89 Posts

1528

March 11th, 2021 02:00

InsightIQ upgrade from 4.1.3.88 to 4.1.4 fails on centos 7

Hi,

Following the install guide at https://dl.dell.com/content/docu102182_InsightIQ_Install_Guide_4.1.4.pdf , i get this:

 

sudo yum upgrade --releasever=7.8
Loaded plugins: fastestmirror
Determining fastest mirrors


One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:

1. Contact the upstream for the repository and get them to fix the problem.

2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).

3. Run the command with the repository temporarily disabled
yum --disablerepo= ...

4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:

yum-config-manager --disable
or
subscription-manager repos --disable=

5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:

yum-config-manager --save --setopt= .skip_if_unavailable=true

Cannot find a valid baseurl for repo: base/7.8/x86_64

 

cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

 

so as per the install guide: 

 

You may need to update the location of your vault repository to a server with CentOS 7.8. To see an example, see
https://digitolle.wordpress.com/2017/10/26/how-to-upgrade-centos-to-a-specific-version.

I now get:

 

sudo yum upgrade --releasever=7.8
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 29 kB 00:00:00
* epel: mirror.hostnet.nl
http://vault.centos.org/7.8/os/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

 

One of the configured repositories failed (CentOS-7.8 - Base),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:

1. Contact the upstream for the repository and get them to fix the problem.

2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).

3. Run the command with the repository temporarily disabled
yum --disablerepo=base ...

4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:

yum-config-manager --disable base
or
subscription-manager repos --disable=base

5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:

yum-config-manager --save --setopt=base.skip_if_unavailable=true

failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
http://vault.centos.org/7.8/os/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found

 

Any ideas?

 

 

 

 

 

1 Rookie

 • 

89 Posts

March 11th, 2021 03:00

I managed to fix this by hardcoding the version of Centos to 7.8.2003 in the 

/etc/yum.repos.d/CentOS-Base.repo file. 
 

36 Posts

March 11th, 2021 09:00

I should note that it's also possible to fully upgrade to CentOS or RHEL 7.9 with all fixes. What will bite you there is if you start with a fully-upgraded 7.9 release and then try to install using option 1 (local files) it will fail because the version of Python installed will be higher than the supplied version, but there will be no matching python-devel RPM.

The options in that case are to either:

  • Install using option 2 and ensure that you have the full base upstream repo or a mirror available, or
  • Manually install the matching python-devel RPM before starting the install

HTH,

Tim

No Events found!

Top