apk version does not list installed packages
Running `apk version` does not show anything useful (or it’s behaving differently than it used to do).
mh-netbook:~$ sudo apk version
Installed: Available:
mh-netbook:~$
I’m not sure exactly when it appeared.
Here’s some info that might be useful.
egrep -iv "^#" /etc/apk/repositories
http://dl-3.alpinelinux.org/alpine/v2.4/main
http://dl-3.alpinelinux.org/alpine/edge/testing
mh-netbook:~$ apk version apk-tools
Installed: Available:
apk-tools-2.3.1-r1 = 2.3.1-r1
(As you can see `apk version` provides info when specifying a specific
package)
A workaround is `apk info | xargs apk version`.
(from redmine: issue id 1122, created on 2012-05-06, closed on 2012-05-07)
- Changesets:
- Revision a6b28bee by Natanael Copa on 2012-05-07T08:53:45Z:
ver: show all packages with -v
ref #1122
- Revision 2de02519 by Natanael Copa on 2012-05-07T11:29:06Z:
main/apk-tools: misc apk-tools improvements
fixes #1122
- Revision 204b4caa by Natanael Copa on 2012-05-07T11:32:51Z:
main/apk-tools: misc apk-tools improvements
fixes #1122
(cherry picked from commit 2de0251997cc8d2868931912065f83bd94b6e574)