LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-20-2010, 10:11 AM   #1
crahuldba@gmail.com
Member
 
Registered: Apr 2010
Posts: 50

Rep: Reputation: 2
How to Reinstall rpmforge


Hello Guys
I am facing a problem .
I have install rpmforge which create a file in /etc/yum.repos.d/
but i have deleted this file.
now i want to reintall rpmforge.
but i am facing a problem.
when i fire the command
[root@server1 computernetworkingnotes]# rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Preparing... ########################################### [100%]
package rpmforge-release-0.3.6-1.el5.rf is already installed

AND WHEN I FIRE THE COMMAND

[root@server1 computernetworkingnotes]# rpm -e rpmforge-release-0.3.6-1.el5.rf.i386.rpm
error: package rpmforge-release-0.3.6-1.el5.rf.i386(2).rpm is not installed

NOW WHAT I CAN DO
please help me
Thanks & Regards
Rahul Sharma
 
Old 11-20-2010, 10:23 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
rebuild your rpm data base...

as superuser delete the files with __db... in /var/lib/rpm and rebuild database
 
Old 11-20-2010, 10:42 AM   #3
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,458

Rep: Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941
Quote:
Originally Posted by crahuldba@gmail.com View Post
error: package rpmforge-release-0.3.6-1.el5.rf.i386(2).rpm is not installed
It looks like you're trying to install a second downloaded copy of the rpmforge package, here. You can try to force the installation using option --force to avoid the package manager complains about the same version of the package already installed:
Code:
rpm -Uvh --force rpmforge-release-0.3.6-1.el5.rf.i386.rpm
 
Old 11-21-2010, 11:11 AM   #4
saagar
Member
 
Registered: Jul 2008
Location: Chennai, India
Distribution: RHEL5, Ubuntu
Posts: 191

Rep: Reputation: 36
1. #rpm -qa | grep rpmforge
I hope it will give the output as
rpmforge-release-0.3.6-1 or something similar

2. #rpm -e rpmforge-release-0.3.6-1

3. I am sure it will be erased. the point is, dont use the extension el5.rpm.

Thanks
 
  


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
Rpmforge ... eggerola Linux - Software 5 11-26-2009 03:29 PM
What exactly does test mean in an rpm name? (RPMFORGE) Rush_898 Linux - Software 2 07-28-2009 12:42 PM
Need help with installing Apt and rpmforge-release adityasharma Linux - Newbie 4 07-02-2009 10:40 AM
Lirc + CentOS5 + rpmforge mitchell2345 Linux - Software 1 04-15-2009 02:35 PM
help with rpmforge on centos JRink Linux - Newbie 1 11-29-2008 11:46 PM


All times are GMT -5. The time now is 05:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration