LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-09-2008, 06:57 PM   #1
tonj
Member
 
Registered: Sep 2008
Posts: 556

Rep: Reputation: 37
want to undo a previous command (repository)


yum install used to work fine on my Fedora 9 machine.
Then tonight I was following some instructions on the internet and I ran:
rpm -Uhv http://ftp.belnet.be/packages/dries....c4.rf.i386.rpm.
Now whenever I do yum install I get:
'Could not retrieve mirrorlist http://apt.sw.be/dries/fedora/fc4/mirrors-rpmforge error was
[Errno 14] HTTP Error 404: Not Found
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge. Please verify its path and try again.'
How can I undo what i did so that yum install works properly like it used to?
 
Old 11-10-2008, 01:18 AM   #2
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Rep: Reputation: 40
Hi.

What kind of changes did you run? Did you back up your respository file?

Don't know what kind of a package you installed, but it may be that it made a backup of you repository file ("<repofilename>.repo.rpmnew" or something).
 
Old 11-10-2008, 01:44 AM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Why did you try to install a FC4 repo for Fedora 9?

Have a look in /etc/yum.repos.d and delete the offending repo file.

You could also try rpm -e package_name, but it wil ljust delete the repo.
 
Old 11-11-2008, 07:58 AM   #4
tonj
Member
 
Registered: Sep 2008
Posts: 556

Original Poster
Rep: Reputation: 37
yeah thanks I did delete the offending file and now it seems to be working again. Thanks for your response.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How do undo MV or RM command? pogromca Linux - Newbie 8 11-26-2013 06:25 AM
To undo a given bash-command HULLU Linux - Newbie 6 02-21-2010 10:06 PM
vi help, how to modify previous command ufmale Linux - Newbie 1 09-05-2008 12:20 PM
Undo a chmod command? WingnutOne Linux - General 3 06-23-2008 05:20 PM
How do I undo last command executed? Elfking Linux - General 4 02-05-2004 01:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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