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

Re: aptitude: cancel intended install



On Mon, Dec 2, 2013 at 11:21 PM, Richard Hector <richard@walnut.gen.nz> wrote:
>
> If I use:
>
> # aptitude search ~ainstall
>
> I get a list of packages that are marked for installation, but are
> currently not installed.
>
> If I pick one of those, and use:
>
> # aptitude remove <package>
>
> then the above search, that package is no longer in the list. All good.
>
> However, if I use:
>
> # aptitude remove ~ainstall
>
> That doesn't remove all those packages from the list. Is that a bug? Is
> there another way to cancel these planned installations? I think that's
> doable with interactive aptitude, but I'd rather stick with the
> commandline if I can.

I don't know whether or not it's a bug but this should work:

aptitude remove $(aptitude search ~ainstall -F%p)


Reply to: