pkgtools/pkg_distinst - The NetBSD Packages Collection

Remove any distfiles not belonging to an installed package

This is a simple script that will synchronise the content of your ${DISTDIR}
directory with currently installed packages.

This script will delete any ${DISTFILE} in ${DISTDIR} that does not currently
have an installed package as an owner.

If you play with packages a fair bit and download some just to have a play with
and delete the package later your ${DISTDIR} can end up with a lot of orphaned
${DISTFILES}.  While lintpkgsrc will help you remove outdated ${DISTFILES} it
does not do any correlation with installed packages which is the gap this
script aims to fill.

With "lintpkgsrc -or && pkg_distinst --delete" you can and up with a fairly
lean and current ${DISTDIR}.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/perl5

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64pkg_distinst-0.02nb10.tgz
NetBSD 10.0aarch64pkg_distinst-0.02nb10.tgz
NetBSD 10.0aarch64ebpkg_distinst-0.02nb10.tgz
NetBSD 10.0aarch64ebpkg_distinst-0.02nb10.tgz
NetBSD 10.0alphapkg_distinst-0.02nb10.tgz
NetBSD 10.0alphapkg_distinst-0.02nb10.tgz
NetBSD 10.0earmv4pkg_distinst-0.02nb10.tgz
NetBSD 10.0earmv6hfpkg_distinst-0.02nb10.tgz
NetBSD 10.0earmv6hfpkg_distinst-0.02nb10.tgz
NetBSD 10.0earmv6hfpkg_distinst-0.02nb10.tgz
NetBSD 10.0earmv7hfpkg_distinst-0.02nb10.tgz
NetBSD 10.0earmv7hfpkg_distinst-0.02nb10.tgz
NetBSD 10.0earmv7hfpkg_distinst-0.02nb10.tgz
NetBSD 10.0i386pkg_distinst-0.02nb10.tgz
NetBSD 10.0i386pkg_distinst-0.02nb10.tgz
NetBSD 10.0m68kpkg_distinst-0.02nb10.tgz
NetBSD 10.0powerpcpkg_distinst-0.02nb10.tgz
NetBSD 10.0powerpcpkg_distinst-0.02nb10.tgz
NetBSD 10.0powerpcpkg_distinst-0.02nb10.tgz
NetBSD 10.0sh3elpkg_distinst-0.02nb10.tgz
NetBSD 10.0sparc64pkg_distinst-0.02nb10.tgz
NetBSD 10.0sparc64pkg_distinst-0.02nb10.tgz
NetBSD 10.0sparcpkg_distinst-0.02nb10.tgz
NetBSD 10.0sparcpkg_distinst-0.02nb10.tgz
NetBSD 10.0vaxpkg_distinst-0.02nb10.tgz
NetBSD 10.0x86_64pkg_distinst-0.02nb10.tgz
NetBSD 10.0x86_64pkg_distinst-0.02nb10.tgz
NetBSD 9.0aarch64pkg_distinst-0.02nb10.tgz
NetBSD 9.0aarch64pkg_distinst-0.02nb10.tgz
NetBSD 9.0alphapkg_distinst-0.02nb10.tgz
NetBSD 9.0alphapkg_distinst-0.02nb10.tgz
NetBSD 9.0earmv6hfpkg_distinst-0.02nb10.tgz
NetBSD 9.0earmv6hfpkg_distinst-0.02nb10.tgz
NetBSD 9.0earmv6hfpkg_distinst-0.02nb10.tgz
NetBSD 9.0earmv7hfpkg_distinst-0.02nb10.tgz
NetBSD 9.0earmv7hfpkg_distinst-0.02nb10.tgz
NetBSD 9.0earmv7hfpkg_distinst-0.02nb10.tgz
NetBSD 9.0i386pkg_distinst-0.02nb10.tgz
NetBSD 9.0i386pkg_distinst-0.02nb10.tgz
NetBSD 9.0m68kpkg_distinst-0.02nb10.tgz
NetBSD 9.0powerpcpkg_distinst-0.02nb10.tgz
NetBSD 9.0powerpcpkg_distinst-0.02nb10.tgz
NetBSD 9.0powerpcpkg_distinst-0.02nb10.tgz
NetBSD 9.0sparc64pkg_distinst-0.02nb10.tgz
NetBSD 9.0sparc64pkg_distinst-0.02nb10.tgz
NetBSD 9.0x86_64pkg_distinst-0.02nb10.tgz
NetBSD 9.0x86_64pkg_distinst-0.02nb10.tgz
NetBSD 9.3x86_64pkg_distinst-0.02nb10.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.