LinuxQuestions.org
Review your favorite Linux distribution.
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 12-02-2003, 03:52 PM   #1
steegs
LQ Newbie
 
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 15

Rep: Reputation: 0
rpm command/uninstalling/package management


I installed apt get with synaptic then broke it by trying to configure it to work with feshrpms's depository. It worked for a bit, but now it simply download the packages i selected and then quits with an error. I figure i'll just uninstall and then reinstall it. so i su and type:

[root@localhost steegs]# rpm -e --test synaptic-0.45-1.fr.i386.rpm
error: package synaptic-0.45-1.fr.i386.rpm is not installed

im fairly sure its installed 'casue when i type synaptic it opens a program that looks a lot like synaptic. i get the same error for apt. How do I uninstall these programs?

--------

are there any depositories anyone would suggest for installing things like mplayer, xine, ect?

---------

Also, are uninstalls clean in fedora/linux? I come from a windows environment where uninstalling leaves piles of unwanted ....stuff... all over the place.

----------

finally, is there a way i can view all the packages installed i've installed? i tried:

rpm --last

but get nothing. is there a tool that keeps track of the packages you've installed and allows you to uninstall them with a coupple clicks of the mouse? ill get over the neat-o guis once i understand the os structure more, promise. im reading a book.


peace out
steegs
 
Old 12-02-2003, 07:12 PM   #2
frogman
Member
 
Registered: Sep 2003
Distribution: Mandrake, Slack, Debian and PicoBSD
Posts: 181

Rep: Reputation: 30
Re: rpm command/uninstalling/package management

Can't help you with apt-get or synaptic, (and I don't touch the rat) but....

as root, you could try:

rpm -rebuilddb which will rebuild your rpm database, in case it's fouled up.

Quote:
Originally posted by steegs


finally, is there a way i can view all the packages installed i've installed? i tried:

rpm --last

rpm -qa --- prints a list of installed rpms on the terminal

rpm -qa | sort | less -- does the same thing, but sorts them alphabetically and will display it a page at a time.

rpm -qa | sort > yourfilenamehere.txt -- will do all of the above, but saves the output to a text file.

To read the text file in a terminal type:

less yourfilename.txt

HTH

Last edited by frogman; 12-02-2003 at 07:14 PM.
 
Old 12-02-2003, 08:07 PM   #3
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
Yesterday, synaptic and apt-get stopped working for me. I wonder if it is a server problem?
 
Old 12-03-2003, 09:01 AM   #4
steegs
LQ Newbie
 
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 15

Original Poster
Rep: Reputation: 0
thanks for the commands frogman, that helped a lot. --help doesnt tell all i see. sorry i didnt look in the man(thought it was more or less the same).

i got apt and synaptic uninstalled then reinstalled them, and they work just fine again expect with not so many packages. ill have to try and add freshrpms the correct way this time.

thanks for the help
steegs
 
Old 12-03-2003, 11:29 AM   #5
frogman
Member
 
Registered: Sep 2003
Distribution: Mandrake, Slack, Debian and PicoBSD
Posts: 181

Rep: Reputation: 30
no worries,

you might be interested in Introduction to Linux - A Hands on Guide

http://www.tldp.org/LDP/intro-linux/html/index.html

or download the pdf

http://www.tldp.org/LDP/intro-linux/Intro-Linux.pdf

It gives a good basic grounding in a "read a paragraph, play with what you've read for a bit, read a bit more" way.
 
  


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
what is the command to install or upgrade an rpm package??? Simon Adebisi Linux - Software 5 06-29-2005 03:26 AM
Uninstalling using Package Management redhatman Fedora 1 11-29-2004 04:09 PM
RH 8.0 and 7.3 RPM package management - as good as apt? Vlad_M Linux - Distributions 1 03-21-2003 05:06 PM
Uninstalling a none RPM package Wolf Linux - Newbie 7 07-21-2002 09:30 PM
RPM command to re-install a package on top of itself JaseP Linux - General 1 06-24-2002 02:45 AM


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