pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/25325: pkgsrc/pkgtools/x11-links removal does not work
>Number: 25325
>Category: pkg
>Synopsis: pkgsrc/pkgtools/x11-links removal does not work
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 25 21:38:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Georg Schwarz
>Release: current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
pkgsrc/pkgtools/x11-links/Makefile uses the following code to create a list of
installed dirs which would need to be rmdir'd if that package is removed:
${FILES_LIST_CMD} | ${SED} -e "s,/[^/]*$,," | ${SORT} -u | ....
If the file list, as is at least the case with files/xsgi, contains files in a
nested directory ../a/b but none directly in ../a only .../a/b enters the list,
and thus later .../a is not being removed when pkg_deleting. Since
${LOALBASE}/share/x11-links won't be empty it cannot be rmdir'd then, and
pkg_delete fails (since MKDIR actually uses -p it does not matter for creating
the dir in the first place).
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index