LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-01-2022, 04:29 PM   #1
spellinator
Member
 
Registered: Oct 2007
Location: Dallas, TX
Distribution: CentOS, Ubuntu
Posts: 31

Rep: Reputation: Disabled
Unhappy 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
 
Old 11-01-2022, 07:52 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,369

Rep: Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753
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.
 
Old 11-02-2022, 05:20 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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
 
Old 11-02-2022, 08:18 AM   #4
spellinator
Member
 
Registered: Oct 2007
Location: Dallas, TX
Distribution: CentOS, Ubuntu
Posts: 31

Original Poster
Rep: Reputation: Disabled
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.
 
Old 11-02-2022, 08:31 AM   #5
spellinator
Member
 
Registered: Oct 2007
Location: Dallas, TX
Distribution: CentOS, Ubuntu
Posts: 31

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply

Tags
centos 7, epel, yum



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to Install/Enable EPEL/EPEL Next on AlmaLinux 9 LXer Syndicated Linux News 0 05-29-2022 02:43 AM
[SOLVED] yum check-update returns FEDORA-EPEL-2018 ee880c59b3 (from epel-centos7-x86_64) is broken, or a bad duplicate, skipping. hallomoto Linux - Newbie 4 02-20-2019 09:25 AM
I down loaded Centos 7, next in the terminal, I installed "Epel" so I could install DNF. Next I went to update/upgrade the system. Mack51 Linux - Newbie 1 05-25-2016 02:21 AM
install gcc (already installed) erase gcc (not installed) huh ? kvenl Linux - Newbie 4 01-19-2011 02:24 PM
huh huh hey bevis Im guna build a puter! cognosti Linux - Hardware 28 08-12-2003 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration