Skip to content

Add support for -r ${REPOSITORY} and -X ${REPOSITORY} flags for pkg delete command #2550

@vermaden

Description

@vermaden

That would greatly resolve the 'problem' of pkg delete -yaf command on PKGBASE system.

With these:

# pkg delete -yaf -r FreeBSD-ports -r FreeBSD-ports-kmods

The entire FreeBSD Base System remains untouched - just like in freebsd-update(8) times.

... also - it would be great to also have 'negative' version - like pkg delete with FreeBSD-base repo EXCLUDED.

# pkg delete -yaf -X FreeBSD-base

Regards,
vermaden

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions