LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 01:02 PM   #1
slayerking
Member
 
Registered: Apr 2011
Posts: 59

Rep: Reputation: 2
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 01:05 PM.
 
Old 04-26-2011, 01:33 PM   #2
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
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, 02:26 PM   #3
slayerking
Member
 
Registered: Apr 2011
Posts: 59

Original Poster
Rep: Reputation: 2
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, 02:33 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

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

Last edited by TobiSGD; 04-26-2011 at 02:35 PM. Reason: fixed german language
 
Old 04-26-2011, 02:33 PM   #5
micxz
Senior Member
 
Registered: Oct 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, 02:34 PM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

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

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

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


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


All times are GMT -5. The time now is 10:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration