Hello all!
Anyone know how to solve error below?
Google can't ...
TY!
//----------------------------------------------------------------------------------------------------
[root@dev:~]# rpm --query centos-release
centos-release-8.2-2.2004.0.1.el8.x86_64
//----------------------------------------------------------------------------------------------------
[root@dev:~]# yum update
CentOS-8 - AppStream 5.8 MB/s | 5.8 MB 00:00
CentOS-8 - Base 3.2 MB/s | 2.2 MB 00:00
CentOS-8 - Extras 17 kB/s | 7.0 kB 00:00
Dependencies resolved.
Nothing to do.
Complete!
//----------------------------------------------------------------------------------------------------
[root@dev:~]# yum install epel-release
Last metadata expiration check: 0:00:19 ago on Wed 29 Jul 2020 01:40:44 PM EEST.
Dependencies resolved.
======================================================================================================================================================================================
Package Architecture Version Repository Size
======================================================================================================================================================================================
Installing:
epel-release noarch 8-8.el8 extras 23 k
Transaction Summary
======================================================================================================================================================================================
Install 1 Package
Total download size: 23 k
Installed size: 32 k
Is this ok [y/N]: y
Downloading Packages:
epel-release-8-8.el8.noarch.rpm 365 kB/s | 23 kB 00:00
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 63 kB/s | 23 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : epel-release-8-8.el8.noarch 1/1
Running scriptlet: epel-release-8-8.el8.noarch 1/1
Verifying : epel-release-8-8.el8.noarch 1/1
Installed:
epel-release-8-8.el8.noarch
Complete!
//----------------------------------------------------------------------------------------------------
[root@dev:~]# yum update
Extra Packages for Enterprise Linux Modular 8 - x86_64 0.0 B/s | 0 B 00:03
Errors during downloading metadata for repository 'epel-modular':
- Curl error (60): Peer certificate cannot be authenticated with given CA certificates for https://mirrors.fedoraproject.org/metal ... ent=centos [SSL certificate problem: self signed certificate in certificate chain]
Error: Failed to download metadata for repo 'epel-modular': Cannot prepare internal mirrorlist: Curl error (60): Peer certificate cannot be authenticated with given CA certificates for https://mirrors.fedoraproject.org/metal ... ent=centos [SSL certificate problem: self signed certificate in certificate chain]
Errors during downloading metadata for repository 'epel-modular'
Errors during downloading metadata for repository 'epel-modular'
Last edited by cap4o on 2020/07/29 11:20:18, edited 2 times in total.
Re: Errors during downloading metadata for repository 'epel-modular'
Disable the epel-modular repo and report the problem to the EPEL mailing list.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Errors during downloading metadata for repository 'epel-modular'
:
The same error is also for the epel repo ...
Errors during downloading metadata for repository 'epel':
The same error is also for the epel repo ...
Errors during downloading metadata for repository 'epel':
Re: Errors during downloading metadata for repository 'epel-modular'
Centos 7 (BOTH C8 above and this C7 are FRESH installs)
//----------------------------------------------------------------------------------------------------
[root@dev:~]# rpm --query centos-release
centos-release-7-8.2003.0.el7.centos.x86_64
//----------------------------------------------------------------------------------------------------
[root@dev:~]# yum install epel-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.linux.edu.lv
* extras: centos.linux.edu.lv
* updates: centos.linux.edu.lv
base | 3.6 kB 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-11 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================================================================
Installing:
epel-release noarch 7-11 extras 15 k
Transaction Summary
======================================================================================================================================================================================
Install 1 Package
Total download size: 15 k
Installed size: 24 k
Is this ok [y/d/N]: y
Downloading packages:
epel-release-7-11.noarch.rpm | 15 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : epel-release-7-11.noarch 1/1
Verifying : epel-release-7-11.noarch 1/1
Installed:
epel-release.noarch 0:7-11
Complete!
//----------------------------------------------------------------------------------------------------
[root@dev:~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
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=<repoid> ...
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 <repoid>
or
subscription-manager repos --disable=<repoid>
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=<repoid>.skip_if_unavailable=true
Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again
//----------------------------------------------------------------------------------------------------
[root@dev:~]# rpm --query centos-release
centos-release-7-8.2003.0.el7.centos.x86_64
//----------------------------------------------------------------------------------------------------
[root@dev:~]# yum install epel-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.linux.edu.lv
* extras: centos.linux.edu.lv
* updates: centos.linux.edu.lv
base | 3.6 kB 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-11 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================================================================
Installing:
epel-release noarch 7-11 extras 15 k
Transaction Summary
======================================================================================================================================================================================
Install 1 Package
Total download size: 15 k
Installed size: 24 k
Is this ok [y/d/N]: y
Downloading packages:
epel-release-7-11.noarch.rpm | 15 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : epel-release-7-11.noarch 1/1
Verifying : epel-release-7-11.noarch 1/1
Installed:
epel-release.noarch 0:7-11
Complete!
//----------------------------------------------------------------------------------------------------
[root@dev:~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
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=<repoid> ...
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 <repoid>
or
subscription-manager repos --disable=<repoid>
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=<repoid>.skip_if_unavailable=true
Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again
Re: Errors during downloading metadata for repository 'epel-modular'
I'm suspecting you are behind some sort of web proxy and haven't told yum to use it?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Errors during downloading metadata for repository 'epel-modular'
yup - this is the right answer
even SSL traffic is repacked ...
so - got needed CA and added it in "/etc/pki/ca-trust/source/anchors/" and then "update-ca-trust" - and voalá ...
thx!