LinuxQuestions.org
Visit Jeremy's Blog.
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 01-18-2021, 11:16 AM   #1
DanielNostrom
LQ Newbie
 
Registered: Mar 2017
Posts: 5

Rep: Reputation: Disabled
Accidentally deleted the files in yum.repos.d in oracle 7.7


Hello, I accidentally deleted the files in yum.repos.d, I'm aware now of how terrible a mistake this was, and have been working the past couple days to restore them. I'm pretty sure as long as I find the correct mirror list I can save this machine, if anyone can point me in the right direction I'd very much appreciate it.
 
Old 01-18-2021, 11:44 AM   #2
DanielNostrom
LQ Newbie
 
Registered: Mar 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
solved the issue
 
Old 01-18-2021, 12:24 PM   #3
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Please describe how you solved it.

The easiest way I can come up with is
Code:
wget https://yum.oracle.com/public-yum-ol7.repo
 
1 members found this post helpful.
Old 01-21-2021, 02:57 PM   #4
DanielNostrom
LQ Newbie
 
Registered: Mar 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
In short, that's basically what I found. I created a new repo file using what you've linked and was then able to use yum as a I needed.
 
  


Reply

Tags
oracle linux, 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
Deleted all of the repos in yum.repos.d, how to restore them? itsallgood Linux - Newbie 4 02-03-2015 10:17 AM
puppet repos vs redhat repos srinishrews Linux - Newbie 1 10-29-2014 06:49 PM
how to recover files if accidentally deleted files in mysql Majed17 Linux - Software 3 03-02-2013 09:34 AM
Unable to update repos in CentOS 5.6 yum.repos.d!!!!! Explore_Linux Linux - Newbie 1 09-28-2011 04:20 AM
mistake deleted yum.repos.d av.dubey Linux - Newbie 2 07-20-2009 06:59 PM

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

All times are GMT -5. The time now is 09:33 AM.

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