package information missing depending on directory
When I try to get package ownership information for package “x” let’s say…. unless i specify the full path, the system doesn’t return the owner information.
Here’s an example:
@
lab-jl:/var# apk info -W /etc/conf.d/sshd
/etc/conf.d/sshd is owned by openssh-6.8_p1-r6@
but if i change directories, i get the following results:
lab-jl:/var# cd /etc/conf.d/ lab-jl:/etc/conf.d# apk info -W sshd ERROR: sshd: Could not find owner package
The version of alpine i’m running:
lab-jj:/var/www/# cat /etc/alpine-release 3.2.3
(from redmine: issue id 5656, created on 2016-05-30, closed on 2017-04-07)
- Changesets:
- Revision 5906aef6 by Timo Teräs on 2016-05-31T13:58:05Z:
fix info --who-owns to work with relative filenames
fixes #5656