pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/55620: package rpm installs broken symlinks



>Number:         55620
>Category:       pkg
>Synopsis:       package rpm installs broken symlinks
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 29 15:25:00 +0000 2020
>Originator:     Bruce Lilly
>Release:        9.0
>Organization:
>Environment:
NetBSD cq60-615dx.blilly.net 9.0 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64 x86_64 Intel 686-class NetBSD
>Description:
Installed links point to nonexistent /usr/bin/rpm

From pkg_admin -qv check
after the fix
symlink (/usr/pkg/bin/rpmquery) is not same as recorded value, Symlink:./rpm: Symlink:../../bin/rpm
symlink (/usr/pkg/bin/rpmverify) is not same as recorded value, Symlink:./rpm: Symlink:../../bin/rpm
>How-To-Repeat:
Install rpm
Verify with pkg_admin -qv check rpm
>Fix:
ln -f -s ./rpm /usr/pkg/bin/rpmquery
ln -f -s ./rpm /usr/pkg/bin/rpmverify



Home | Main Index | Thread Index | Old Index