Skip to content

pkg autoremove enters infinite loop #2571

@SadClouds

Description

@SadClouds

I've been experimenting with base pkg on FreeBSD-15 and hit this issue:

pkg info | grep metapackage

Then for each metapackage I executed:

pkg delete -f FreeBSD-set-XXX

This removed all sets, including base. The individual packages are still there. I did not touch them.

If I now attempt to run "pkg autoremove" to see which packages need to be marked manually installed, pkg goes into infinite loop, gradually consuming memory at a rate of 1 MiB every 5 seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions