LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-16-2004, 05:43 PM   #1
nistelrooy
Member
 
Registered: Oct 2003
Location: Singapore
Distribution: debian
Posts: 162

Rep: Reputation: 30
APT-GET Uninstallation


Hi all

Lately after i've upgraded rh9.0 system to FC3. APT-GET seems to be showing error. I've currently shifted to yum so apt-get won't be much a use to me.

How do i uninstall apt-get?

Quote:
[root@Azeroth hommy]# apt-get
apt-get: error while loading shared libraries: librpm-4.2.so: cannot open shared object file: No such file or directory
[root@Azeroth hommy]# rpm -e apt-get
 
Old 12-16-2004, 06:51 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
yum remove apt

or
rpm -qa | grep apt
then run
rpm -e < apt- bunch of numbers which you found from previous command >
 
Old 12-18-2004, 06:07 AM   #3
nistelrooy
Member
 
Registered: Oct 2003
Location: Singapore
Distribution: debian
Posts: 162

Original Poster
Rep: Reputation: 30
Thanks
 
Old 12-18-2004, 09:00 PM   #4
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 33
How would you combine that into one command?

Like this:
rpm -e `rpm -qa`

or this:
rpm -e apt-`rpm -qa`


(I'm just asking out of curiousity. I'm a Debian user, and there is no removing apt on my side. )
 
Old 12-18-2004, 09:34 PM   #5
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
I wouldn't be removing those super cool tools like yum and apt with the GUI front end called synaptic as I find them quite handy. I think the problem nistelrooy is having comes from the giant leap from rh9 to fc3 and I would be amazed if he doesn't have other issues with it.

Normally, you can remove an application with one shot by using the command:
yum remove somefile
or
apt-get remove somefile

But when you are using the rpm command to remove an application, you need to know the full name of that file before you can remove it. Thus the two step process ...
rpm -qa | grep apt
rpm -e apt-0.5.15cnc6-1.1.fc3.fr
 
  


Reply



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
Mandrake 10.1 uninstallation PatrickMay16 Mandriva 2 04-15-2005 04:56 PM
Wine uninstallation RazvanZ Linux - Software 3 12-31-2004 09:51 AM
debian uninstallation tiger99 Linux - Newbie 8 03-21-2004 01:12 PM
Linux Uninstallation mansoor77 Linux - Newbie 4 03-05-2004 01:34 AM
A need of uninstallation? koyi Linux - General 3 10-02-2003 09:45 PM

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

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