Linux - Server This forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
11-01-2022, 04:29 PM
#1
Member
Registered: Oct 2007
Location: Dallas, TX
Distribution: CentOS, Ubuntu
Posts: 31
Rep:
CentOS 7 - epel-release-7-11 Already Installed - NOT -- Huh?
Code:
[14:13:34 root@REDACTED:/etc/yum.repos .d] # yum install epel-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: coresite.mm.fcix.net
* centosplus: centos-distro.cavecreek.net
* extras: mirror.vacares.com
* updates: mirror.cs.uwp.edu
Package matching epel-release-7-11.noarch already installed. Checking for update.
Nothing to do
[14:14:25 root@REDACTED:/etc/yum.repos .d] # yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: coresite.mm.fcix.net
* centosplus: centos-distro.cavecreek.net
* extras: mirror.vacares.com
* updates: mirror.cs.uwp.edu
repo id repo name status
base/7/x86_64 CentOS-7 - Base 10,072
centosplus/7/x86_64 CentOS-7 - Plus 233
extras/7/x86_64 CentOS-7 - Extras 515
updates/7/x86_64 CentOS-7 - Updates 4,346
repolist: 15,166
[14:14:52 root@REDACTED:/etc/yum.repos .d] # ls -l
total 40
-rw-r--r-- 1 root root 1674 Nov 1 14:13 CentOS-Base.repo
-rw-r--r-- 1 root root 1309 Nov 23 2020 CentOS-CR.repo
-rw-r--r-- 1 root root 649 Nov 23 2020 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root 314 Nov 23 2020 CentOS-fasttrack.repo
-rw-r--r-- 1 root root 630 Nov 23 2020 CentOS-Media.repo
-rw-r--r-- 1 root root 1331 Nov 23 2020 CentOS-Sources.repo
-rw-r--r-- 1 root root 8515 Nov 23 2020 CentOS-Vault.repo
-rw-r--r-- 1 root root 616 Nov 23 2020 CentOS-x86_64-kernel.repo
[14:15:45 root@REDACTED:/etc/yum.repos .d] # grep -i epel *
[14:15:52 root@REDACTED:/etc/yum.repos .d] #
OK, what am I missing here (other than the epel repo)???
Thanks,
Danny
11-01-2022, 07:52 PM
#2
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,369
Sounds like a 'broken' install.
You could try 'yum reinstall <pkg>'
https://www.cyberciti.biz/faq/centos...ckage-command/ .
Alternatively, remove and (re-)install the latest.
Rpm does have a --force option as well, but I'd keep that for last resort.
11-02-2022, 05:20 AM
#3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517
Repairing corrupt install of epel-release
https://dl.fedoraproject.org/pub/epe...-14.noarch.rpm
I.e. the current version is epel-release-7-14.noarch
You can either download the above package, and install with
Code:
# yum install Downloads/epel-release-7-14.noarch.rpm
... or reinstall with
Code:
# yum reinstall epel-release
to get the old version ........ and then update with
Code:
# yum install epel-release
11-02-2022, 08:18 AM
#4
Member
Registered: Oct 2007
Location: Dallas, TX
Distribution: CentOS, Ubuntu
Posts: 31
Original Poster
Rep:
Code:
[06:15:41 root@REDACTED:~] # yum reinstall epel-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: coresite.mm.fcix.net
* centosplus: centos-distro.cavecreek.net
* extras: mirror.vacares.com
* updates: mirror.cs.uwp.edu
base/7/x86_64/signature | 811 B 00:00:00
base/7/x86_64/signature | 3.6 kB 00:00:00 !!!
centosplus/7/x86_64/signature | 811 B 00:00:00
centosplus/7/x86_64/signature | 2.9 kB 00:00:00 !!!
extras/7/x86_64/signature | 811 B 00:00:00
extras/7/x86_64/signature | 2.9 kB 00:00:00 !!!
updates/7/x86_64/signature | 811 B 00:00:00
updates/7/x86_64/signature | 2.9 kB 00:00:00 !!!
Installed package epel-release-7-14.noarch (from epel) not available.
Error: Nothing to do
Trying other suggestions.
11-02-2022, 08:31 AM
#5
Member
Registered: Oct 2007
Location: Dallas, TX
Distribution: CentOS, Ubuntu
Posts: 31
Original Poster
Rep:
OK, I think I worked it out.
THANKS!, for your help!
Code:
[06:19:16 root@REDACTED:~] # wget https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm
--2022-11-02 06:19:25-- https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm
Resolving dl.fedoraproject.org (dl.fedoraproject.org)... 38.145.60.22, 38.145.60.23, 38.145.60.24
Connecting to dl.fedoraproject.org (dl.fedoraproject.org)|38.145.60.22|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15608 (15K) [application/x-rpm]
Saving to: ‘epel-release-7-14.noarch.rpm’
100%[===============================================================================================================================================>] 15,608 --.-K/s in 0.04s
2022-11-02 06:19:25 (365 KB/s) - ‘epel-release-7-14.noarch.rpm’ saved [15608/15608]
[06:19:45 root@REDACTED:~] # ls -l epel-release-7-14.noarch.rpm
-rw-r--r-- 1 root root 15608 Sep 4 2021 epel-release-7-14.noarch.rpm
[06:20:20 root@REDACTED:~] # yum install epel-release-7-14.noarch.rpm
Loaded plugins: fastestmirror
Examining epel-release-7-14.noarch.rpm: epel-release-7-14.noarch
epel-release-7-14.noarch.rpm: does not update installed package.
Error: Nothing to do
[06:20:24 root@REDACTED:~] # yum reinstall epel-release-7-14.noarch.rpm
Loaded plugins: fastestmirror
Examining epel-release-7-14.noarch.rpm: epel-release-7-14.noarch
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-14 will be reinstalled
--> Finished Dependency Resolution
--> Finding unneeded leftover dependencies
Found and removing 0 unneeded dependencies
Dependencies Resolved
=========================================================================================================================================================================================
Package Arch Version Repository Size
=========================================================================================================================================================================================
Reinstalling:
epel-release noarch 7-14 /epel-release-7-14.noarch 25 k
Transaction Summary
=========================================================================================================================================================================================
Reinstall 1 Package
Total size: 25 k
Installed size: 25 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : epel-release-7-14.noarch 1/1
Verifying : epel-release-7-14.noarch 1/1
Installed:
epel-release.noarch 0:7-14
Complete!
[06:26:06 root@REDACTED:/etc/yum.repos.d] # yum clean all
Loaded plugins: fastestmirror
Cleaning repos: base centosplus extras updates
Cleaning up list of fastest mirrors
[06:26:10 root@REDACTED:/etc/yum.repos.d] # yum repolist
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: centos.hivelocity.net
* centosplus: bay.uchicago.edu
* extras: mirror.team-cymru.com
* updates: mirrors.oit.uci.edu
base/7/x86_64/signature | 811 B 00:00:00
base/7/x86_64/signature | 3.6 kB 00:00:00 !!!
centosplus/7/x86_64/signature | 811 B 00:00:00
centosplus/7/x86_64/signature | 2.9 kB 00:00:00 !!!
extras/7/x86_64/signature | 811 B 00:00:00
extras/7/x86_64/signature | 2.9 kB 00:00:00 !!!
updates/7/x86_64/signature | 811 B 00:00:00
updates/7/x86_64/signature | 2.9 kB 00:00:00 !!!
(1/5): base/7/x86_64/group_gz | 153 kB 00:00:00
(2/5): extras/7/x86_64/primary_db | 249 kB 00:00:00
(3/5): updates/7/x86_64/primary_db | 17 MB 00:00:00
(4/5): base/7/x86_64/primary_db | 6.1 MB 00:00:00
(5/5): centosplus/7/x86_64/primary_db | 6.9 MB 00:00:03
repo id repo name status
base/7/x86_64 CentOS-7 - Base 10,072
centosplus/7/x86_64 CentOS-7 - Plus 233
extras/7/x86_64 CentOS-7 - Extras 515
updates/7/x86_64 CentOS-7 - Updates 4,346
repolist: 15,166
All times are GMT -5. The time now is 02:59 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News