Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th August 2005, 04:34 PM
lmoreira Offline
Registered User
 
Join Date: Aug 2005
Posts: 11
Unhappy Problems with removing package

Hi all,
I am very new to Linux and as such I am making a lot of mistakes...
I installed GCC for the blackFin processor but it was the wrong one, so I tryed to remove it to install the correct one...
I went to the /opt directory and did: rm -rf uClinux, this removed all the files and directories. But when I downloaded the correct RPM package and tryed to install it, i got the message " package alredy installed".
the package is not there as I deleted it but some part of the system must keep track of the packages installed and it still thinks the package is there.
can some one tell me how to remove this information.
thanks
Luis
Reply With Quote
  #2  
Old 28th August 2005, 05:42 PM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
You shouldn't remove files manually. Use RPM...
http://rpm.org/max-rpm-snapshot/
See that site for info on how to use it...
You're looking for
rpm -e pkgname
to remove the package. (Type that in a terminal as root) To install a package, type
rpm -Uhv /path/to/file.rpm
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #3  
Old 28th August 2005, 05:48 PM
tomcat's Avatar
tomcat Offline
Registered User
 
Join Date: Aug 2005
Location: EU, Germany
Age: 39
Posts: 1,185
Run as root in a terminal

updatedb

this will ... well... update your system database. Maybe it will stop your system telling that the package is already installed. If you have trouble installing the new package, try e.g. with a forced install (rpm -i blablabla --force).
__________________
Powered by Fedora & CentOS | Windows-free since 2002
Reply With Quote
  #4  
Old 28th August 2005, 06:02 PM
lmoreira Offline
Registered User
 
Join Date: Aug 2005
Posts: 11
Smile Problems with removing package

Hi Firewing,
Thank you very much, that did the job and now I know how to do it properly.
thank you also Tomcat for your help.
best regards
Luis
Reply With Quote
  #5  
Old 28th August 2005, 06:04 PM
circulus's Avatar
circulus Offline
Registered User
 
Join Date: Aug 2004
Location: Czech Republic, Central Europe
Age: 40
Posts: 89
Quote:
Originally Posted by tomcat
Run as root in a terminal

updatedb

this will ... well... update your system database. Maybe it will stop your system telling that the package is already installed. If you have trouble installing the new package, try e.g. with a forced install (rpm -i blablabla --force).
Command "updatedb" don't have any context with rpm database. "updatedb" command updates the slocate database and don't changing anything in rpm database of installed packages. You ma have in mind command "rpm --rebuilddb" ?
__________________
"... Nothing Runs Like A Python ...", Fedora 16 -> Fedora 18 soon as possible :)
Reply With Quote
  #6  
Old 28th September 2005, 01:07 PM
Adesso's Avatar
Adesso Offline
Registered User
 
Join Date: Sep 2004
Location: Germany
Age: 36
Posts: 274
Either way... how would you remove a couple of rpms .. like httpd for instance. How could I remove httpd and the required other modules in one line. If I say rpm -e httpd* it tells me not installed.. but if I try httpd only, it gives me all the modules that require it.
__________________
Whatever you do, will return to you three fold...

My Work Box
My Home Box
Reply With Quote
  #7  
Old 28th September 2005, 01:14 PM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
do
# rpm -e httpd* --allmatches
I remeber being annoyed trying to get all matches or pkgname* to work, do fiddle with it for a while... (# man rpm)!
if u know the names u wanna remove, type this:
rpm -e pkg1 pkg2 pkg3
this will remove pkg1, 2 and 3 at once. BTW, you can do this:
rpm -qa | grep -i httpd
to get a list of anything related to httpd. then just remove those manually.

Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #8  
Old 28th September 2005, 01:44 PM
Adesso's Avatar
Adesso Offline
Registered User
 
Join Date: Sep 2004
Location: Germany
Age: 36
Posts: 274
seems like it did the trick. I only did this cause the package manager refused to uninstall the Web server section after it was installed, whinning about php-pear and the like.

I am forced to do a manual Apache, MySql and PHP install as I need mysql_connect and stuff in my PHP source code.. Little hostile for web developer to get going in Fedora 4.

Thanks for the help anyhow.. that was real fast..
__________________
Whatever you do, will return to you three fold...

My Work Box
My Home Box
Reply With Quote
Reply

Tags
package, problems, removing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing a package phree Using Fedora 17 19th July 2007 09:28 PM
Removing the aiglx package ciphermonk Using Fedora 1 27th May 2006 12:49 PM
Removing non-package software? Flounder Using Fedora 3 8th May 2006 10:59 PM


Current GMT-time: 03:04 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat