[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: purge packages selected for removal by apt-get



kamaraju kusumanchi <raju.mailinglists@gmail.com> wrote:

> Say in order to install package A, apt-get wants to remove package B.
> Is there any way to tell apt-get to purge package B instead of just
> removing it?

> Consider the following situation where I am trying to install the vlc
> package on a machine running a combination of Wheezy and Jessie.

> % sudo apt-get install vlc
> ...
> The following packages will be REMOVED:
>   libfreerdp1 libvlccore7
> ...
> 22 upgraded, 37 newly installed, 2 to remove and 2035 not upgraded.

Untested, but should work:

apt-get --purge install vlc

See the man-page:

       --purge
           Use purge instead of remove for anything that would be removed.

S°

-- 
Sigmentation fault. Core dumped.


Reply to: