pkgsrc-Users archive

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

Re: How can I delete obsolete distfiles and local binary packages recursively?

On Mon, 10 Jun 2019 at 11:57, Adam <> wrote:

> > Is there a way to delete both distfiles and binary packages that are
> > not relevant to my current setup? I've checked in the guide and the
> > wiki, but haven't found an answer.
> >
> You can use pkgtools/lintpkgsrc.
> For example, to remove all distfiles, run:
> lintpkgsrc -or

Thanks for that.

And, just be sure, before I do something drastic, will:

 lintpkgsrc -pr

Also remove packages? And can I join the switches together?

 lintpkgsrc -opr


 lintpkgsrc -or -pr

Ottavio Caruso

Home | Main Index | Thread Index | Old Index