apk-tools issueshttps://gitlab.alpinelinux.org/alpine/apk-tools/-/issues2019-12-27T14:52:15Zhttps://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/5980Ability to Default to --no-cache2019-12-27T14:52:15ZNoah NordrumAbility to Default to --no-cacheGiven that
docker --no-cache add curl
would be best practice in a docker container (I assume), it would be
nice if there was a mechanism to change that default.
I can think of a number of ways:
- compile flag
- separate ap...Given that
docker --no-cache add curl
would be best practice in a docker container (I assume), it would be
nice if there was a mechanism to change that default.
I can think of a number of ways:
- compile flag
- separate apk-tools package
- /etc/apkrc
- environment variable that is always added to the command line like
APK\_OPTIONS that could be set to —no-cache in the alpine base image
or you could just tell me to keep using in my root container :)
alias apk="apk --no-cache"
I know it seems I’m being super lazy, but I think it’s best to provide
best practices as the default options and then let people deviate if
they choose.
*(from redmine: issue id 5980, created on 2016-07-28)*
* Relations:
* relates #8161v3.0Timo TeräsTimo Teräshttps://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/5056Repeated fields in apk info with multiple repositories2022-12-21T20:00:36ZMark WhiteRepeated 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/ed...`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)*v3.1Timo TeräsTimo Teräs