LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-28-2022, 05:09 PM   #1
guruprasad07
LQ Newbie
 
Registered: Jan 2022
Posts: 3

Rep: Reputation: 0
Unable to update my CentOS 8 OS ?


Hello,
I working on CentOS-8.1.1911-x86_64 OS and when I am trying to update the OS, using "sudo dnf install update -y", the process exits with the RuntimeError "Failed to download metadata for repo 'AppStream' ".
I have attached the /var/log/dnf.log. From what I have understood is that the CentOS appstream link "http://mirrorlist.centos.org" is not working an has been moved to some other location.
Problem is I don't know how to configure or effect changes to make sure the repo AppStream points to the correct location.

Will be thankful, if anyone can show me how to get repo AppStream to start working.

Regards,
guruprasad07
 
Old 02-28-2022, 05:34 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,757

Rep: Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930
CentOS 8 went End Of Life 31 Dec 2021 which is why mirrorlist.centos.org is no longer working.

You can try changing to vault.centos.org

https://forums.centos.org/viewtopic.php?f=54&t=78708
 
Old 02-28-2022, 06:31 PM   #3
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,006
Blog Entries: 26

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
Or migrate it to Rocky Linux, which is what I've done at work. Rocky is founded by the very same individual that originally founded CentOS.
 
Old 02-28-2022, 07:34 PM   #4
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
This is not a valid dnf command
Code:
"sudo dnf install update -y"
To correct that you would used
Code:
"sudo dnf update -y"
to do the update or
Code:
"sudo dnf install <packagename> -y"
to install some package.

The posts above tell you the reason for your error, but if you are managing a CentOS server you should at least use the proper commands for updates and software installation.

Last edited by computersavvy; 03-01-2022 at 09:04 AM.
 
1 members found this post helpful.
Old 03-01-2022, 06:54 AM   #5
guruprasad07
LQ Newbie
 
Registered: Jan 2022
Posts: 3

Original Poster
Rep: Reputation: 0
Hello,
I am going to try out the Rocky Linux and see how it goes from there.
Thank you for the support.
 
Old 03-01-2022, 10:49 AM   #6
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,616

Rep: Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555

AlmaLinux is another CentOS alternative.

It is notable that AlmaLinux was significantly better organized than Rocky Linux - with a beta on 1 Feb 2021 and first stable release on 30 March 2021, whilst Rocky's first RC took until 30 April and their first stable release took until 21 June 2021.

(With v8.5 both AlmaLinux and Rocky Linux stable releases were within a week of RHEL, so it may have been just initial hiccups, but it may be a factor to consider.)


(p.s. Gregory Kurtzer was a co-founder of CentOS - along with Rocky McGaugh, Lance Davis, and others.)

 
Old 03-01-2022, 04:23 PM   #7
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by boughtonp View Post
AlmaLinux is another CentOS alternative.

It is notable that AlmaLinux was significantly better organized than Rocky Linux - with a beta on 1 Feb 2021 and first stable release on 30 March 2021, whilst Rocky's first RC took until 30 April and their first stable release took until 21 June 2021.

(With v8.5 both AlmaLinux and Rocky Linux stable releases were within a week of RHEL, so it may have been just initial hiccups, but it may be a factor to consider.)


(p.s. Gregory Kurtzer was a co-founder of CentOS - along with Rocky McGaugh, Lance Davis, and others.)

Strange that you think the dates mean anything about organization, or preparation, or anything else. Who decided and when to start each of those distros?. Was it at the same time?, was the later one started first?, was more thought put into one than the other?

Your generic implication that one is better than the other, both of which are only about a year past first appearing, seems a bit misguided since only time will tell which is actually better in the minds of the users.
 
Old 03-01-2022, 06:05 PM   #8
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,006
Blog Entries: 26

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
IMO they're about equal, I've tested both. Migrating from CentOS 8 to either I choose Rocky every time because the migration script you can download to do it requires less prep.
 
Old 03-01-2022, 06:38 PM   #9
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,616

Rep: Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555
Quote:
Originally Posted by computersavvy View Post
Strange that you think the dates mean anything about organization, or preparation, or anything else. Who decided and when to start each of those distros?. Was it at the same time?, was the later one started first?, was more thought put into one than the other?
Huh? Why is that strange?

Both CentOS replacements were announced within 48 hours of the CentOS announcement.

Do you think not enough thought was put into AlmaLinux because the initial announcement said "Q1 2021", then they went and successfully released both release candidate and stable release before the end of Q1?


Quote:
Your generic implication that one is better than the other, both of which are only about a year past first appearing, seems a bit misguided since only time will tell which is actually better in the minds of the users.
I have no idea what you're referring to - there are no implications.

I explicitly stated that Rocky Linux was not as well organized at the start, and I also said it could have just been one-off starting hurdles since both projects reacted promptly to the RHEL v8.5 release.

I made no reference to betterness outside of that.

Perhaps had I said "... the AlmaLinux OS Foundation was significantly better organized than Rocky Enterprise Software Foundation ..." then I wouldn't have needed to waste time with this clarification.

*shrug*

 
  


Reply



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
[SOLVED] Update Manager - Unable to update or upgrade Flaysey Linux - Newbie 7 01-06-2014 10:20 PM
Unable to update php on Centos 4 vins Linux - Newbie 1 06-23-2008 12:57 AM
Unable to upgrade to ubuntu 7.10, update manager fails to update.... jonbvgood Linux - Software 2 02-05-2008 03:58 PM
Red Hat Update Agent freezing, unable to update (FC4) Malakye Fedora 1 12-09-2005 08:02 PM
Unable to logon on as non-root user after update as unable to set executable context pls198 Fedora 2 04-09-2004 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:07 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