Repeated fields in apk info with multiple repositories
apk info
repeats some fields when multiple repositories are in use.
For example, with a clean Alpine 3.3.1, set /etc/apk/repositories to:
http://dl-1.alpinelinux.org/alpine/v3.3/main
@edge http://dl-1.alpinelinux.org/alpine/edge/main
Running apk update && apk info vim
produces:
vim-7.4.943-r2 description:
advanced text editor
vim-7.4.943-r2 webpage:
http://www.vim.org
vim-7.4.943-r2 installed size:
25038848
vim-7.4.943-r2 description:
advanced text editor
vim-7.4.943-r2 webpage:
http://www.vim.org
vim-7.4.943-r2 installed size:
25038848
With apk info -a
on an installed package, not all fields are repeated;
eg “contains” is only printed once, but “description” is repeated.
(from redmine: issue id 5056, created on 2016-01-31)