pkgsrc-Users archive

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

Re: How to remove pkgsrc orphan dependencies?

Ottavio Caruso <> writes:

> This scripts gives me 46 packages to remove instead of 103, as
> suggested by pkgin ar, so this is a bit of an improvement.

Well, I suspect after you remove the 46, you'll find that there are
packages newly not having depending packages.

So what are you trying to do?  If those 46 packages are not of interest,
remove them.  Then  repeat.   You should end up with automatic=YES on
those packages that are not intrinsically wanted, and no

> However I'll probably stick to the solution you proposed in an earlier thread:
> that is, creating a local summary file for pkgin.conf.

Ah yes, I think you do have to do that.  But it's easy.

> I guess I'll have to suspend and readdress this issue to when we have
> the new stable release.

Manually rerunning my script, doing "pkg_admin set automatic=YES", and
"xargs pkg_delete < PKG.automatic-notrequired" is pretty
straightforward.  I do it every quarter or so on most machines.

Attachment: pgpwQU92em1d5.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index