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 - 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 04-26-2011, 12:02 PM   #1
slayerking
Member
 
Registered: Apr 2011
Posts: 60

Rep: Reputation: 3
debian package uninstall


Remove package which are dependent on each other on Debian based os.

can anybody help??

Last edited by slayerking; 04-26-2011 at 12:05 PM.
 
Old 04-26-2011, 12:33 PM   #2
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by slayerking View Post
Remove package which are dependent on each other on Debian based os.
You probabaly don't want to remove a package if other packages that you want depend on it.

Or did I misunderstand your question?
 
Old 04-26-2011, 01:26 PM   #3
slayerking
Member
 
Registered: Apr 2011
Posts: 60

Original Poster
Rep: Reputation: 3
yeah!! u misunderstood my question.
i have two package which depend on each other .
when i try to remove first one dependency on second package is shown.
but when i try to remove second one dependency on first one is shown.
both are mutually related .
anyway to delete this kind of package??
 
Old 04-26-2011, 01:33 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Code:
dpkg --force-depends -r PACKAGE1 PACKAGE2
For more info try
Code:
man dpkg

Last edited by TobiSGD; 04-26-2011 at 01:35 PM. Reason: fixed german language
 
Old 04-26-2011, 01:33 PM   #5
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
What if you remove them at the same time?
 
Old 04-26-2011, 01:34 PM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
How about calling the uninstallation command with both programs at once?

Code:
uninstallation-command package_a package_b
 
Old 04-26-2011, 01:52 PM   #7
slayerking
Member
 
Registered: Apr 2011
Posts: 60

Original Poster
Rep: Reputation: 3
Thanks a lot guys it worked !!
 
  


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
How to uninstall a package? kryznic Linux - Newbie 30 03-11-2010 08:25 AM
can't uninstall package pru Linux - Software 2 03-12-2008 02:56 AM
uninstall just the package without dependency jCash Linux - Newbie 1 11-21-2007 04:37 PM
how to uninstall a package vshenoy Linux - Newbie 2 04-29-2006 03:35 PM
RH 8.0 package uninstall Sargek Linux - Software 5 01-05-2003 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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