Talk:Alpine Package Keeper: Difference between revisions

From Alpine Linux
m (Guest09248 moved page Talk:Package management to Talk:Alpine Package Keeper: Moved to be more consistent with other docs/wikis)
Line 22: Line 22:


--[[User:John3-16|John3-16]] ([[User talk:John3-16|talk]]) 04:58, 1 February 2018 (UTC)
--[[User:John3-16|John3-16]] ([[User talk:John3-16|talk]]) 04:58, 1 February 2018 (UTC)
== How to use the --virtual parameter ==
As a new user trying to keep a docker image small but needing to compile some packages, it would be very, very helpful to include a detailed explanation of the `--virtual` parameter of `add` with examples of how to use it. I would add it myself but I only know what I've read in stackoverflow and, well, you know how reliable that can be… TIA

Revision as of 13:45, 22 January 2023

note on apk update

There is an --update-cache or -U option which can be used together with apk <anything> that will first perform an apk update. Might be worth mentioning that. --Ncopa 11:02, 16 August 2010 (UTC)

There is an --initdb option that does not even show in apk help command. Is this deprecated ? --Vkrishn (talk) 10:32, 2 May 2013 (UTC)

"Packages and Repositories" section - ftp still being used?

The stated section currently has the following example of a valid repo:

ftp://dl-3.alpinelinux.org/alpine/v2.6/main

Is the ftp protocol still being used? The passage could then be updated to "v3.7". --John3-16 (talk) 22:43, 19 January 2018 (UTC)

Troubleshooting - "apk-tools is old"

Could the following instruction be added? This may not yet have been tested on a system that is still exhibiting this error message:

If edge is not tagged, upgrade from one of the edge/main mirrors. For example:

sudo apk add --upgrade apk-tools --update-cache --repository http://dl-2.alpinelinux.org/alpine/edge/main/ --allow-untrusted

--John3-16 (talk) 04:58, 1 February 2018 (UTC)

How to use the --virtual parameter

As a new user trying to keep a docker image small but needing to compile some packages, it would be very, very helpful to include a detailed explanation of the `--virtual` parameter of `add` with examples of how to use it. I would add it myself but I only know what I've read in stackoverflow and, well, you know how reliable that can be… TIA