Talk:Alpine Package Keeper: Difference between revisions

From Alpine Linux
 
(One intermediate revision by one other user not shown)
Line 26: Line 26:


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
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
<small><span class="autosigned">—&nbsp;Preceding [[Help:Signature|unsigned]] comment added by [[User:Tedsecretsource|Tedsecretsource]] ([[User talk:Tedsecretsource|{{int:talkpagelinktext}}]] • [[Special:Contributions/Tedsecretsource|{{int:contribslink}}]]) 08:45, 22 January 2023‎</span></small>
== .boot_repository in package cache ==
It seems like the advice about using .boot_repository with the cache directory doesn't work, since a repository requires an APKINDEX.tar.gz file but the cache has APKINDEX.f00bar.tar.gz files. Should the article be changed, or is this a bug?
[[User:Dklr433|Dklr433]] ([[User talk:Dklr433|talk]]) 20:01, 4 March 2024 (UTC)

Latest revision as of 20:01, 4 March 2024

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

— Preceding unsigned comment added by Tedsecretsource (talkcontribs) 08:45, 22 January 2023‎

.boot_repository in package cache

It seems like the advice about using .boot_repository with the cache directory doesn't work, since a repository requires an APKINDEX.tar.gz file but the cache has APKINDEX.f00bar.tar.gz files. Should the article be changed, or is this a bug? Dklr433 (talk) 20:01, 4 March 2024 (UTC)