LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Does apt-get/aptitude's purge option removed required dep of other packages? (https://www.linuxquestions.org/questions/debian-26/does-apt-get-aptitude%27s-purge-option-removed-required-dep-of-other-packages-360533/)

Akhran 09-05-2005 06:10 PM

Does apt-get/aptitude's purge option removed required dep of other packages?
 
Eg. First I install package A (dep 1 is installed to fulfil the dep requirement of package A). Then I install package B, which requires dep 1 too. When I purge package A with aptitude or apt-get (package B is still in the system), will dep 1 be removed too?

Thanks !

HappyTux 09-05-2005 06:52 PM

Re: Does apt-get/aptitude's purge option removed required dep of other packages?
 
Quote:

Originally posted by Akhran
Eg. First I install package A (dep 1 is installed to fulfil the dep requirement of package A). Then I install package B, which requires dep 1 too. When I purge package A with aptitude or apt-get (package B is still in the system), will dep 1 be removed too?

Thanks !

apt-get will never remove the dep1 package automatically that is what you use deborphan and debfoster for whereas aptitude will but only if no other package depends on the dep1 package.


All times are GMT -5. The time now is 08:36 AM.