Bug 286224 - pkg delete does not remove all files/directories installed by py3*-ports
Summary: pkg delete does not remove all files/directories installed by py3*-ports
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-20 10:18 UTC by p5B2EA84B3
Modified: 2025-04-21 01:58 UTC (History)
2 users (show)

See Also:
linimon: maintainer-feedback? (python)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description p5B2EA84B3 2025-04-20 10:18:53 UTC
When removing py3* packages with pkg delete the *dist-info directories in /usr/local/lib/python*/site-packages remain as leftovers.

This is a problem for Pip and other modules as these *dist-info directories are used for checking if a Python module is installed.
Comment 1 Tatsuki Makino 2025-04-21 01:58:58 UTC
It will not be deleted at the time of pkg-delete.
However, it seems that it removed when it is empty at the time when Templates/BSD.local.dist of mtree is used.