apk-tools issueshttps://gitlab.alpinelinux.org/alpine/apk-tools/-/issues2019-07-14T07:26:31Zhttps://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/42apk fetch should create hardlinks when souce and destination are on same file...2019-07-14T07:26:31ZNatanael Copaapk fetch should create hardlinks when souce and destination are on same filesystemThis would speed up iso creation dramatically
*(from redmine: issue id 42, created on 2009-06-03, closed on 2009-06-22)*
* Changesets:
* Revision 50cdcca8339d73ea8fe29fc54c2300c674f91dc5 on 2009-06-09T09:12:06Z:
```
fetch: added --...This would speed up iso creation dramatically
*(from redmine: issue id 42, created on 2009-06-03, closed on 2009-06-22)*
* Changesets:
* Revision 50cdcca8339d73ea8fe29fc54c2300c674f91dc5 on 2009-06-09T09:12:06Z:
```
fetch: added --link/-L option
fixes #42
This will also fix a bug that left an empty file in destination dir when
source file did not exist in repository.
There are still issues with paths longer than 255 chars.
```https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/24apk fetch2019-07-14T07:26:27Zalgitbotapk fetchwould be nice with an apk fetch -R which could download/copy packages
and their dependencies from system repository to either configurable
cache dir, a given dir from command line and maybe even to stdout.
This can be used by the build ...would be nice with an apk fetch -R which could download/copy packages
and their dependencies from system repository to either configurable
cache dir, a given dir from command line and maybe even to stdout.
This can be used by the build script to make ISO with only some packages
and their dependnencies. (I.e vserver iso with vserver kernel,
util-vserver, lvm2, mdadm, e2fsprogs etc).
This can also be used by mkinitramfs script to find the needed packages.
For example:
apk fetch —stdout alpine-baselayout | tar -C $INITRAMFS\_DIR -zx
$RAWBASEFILES
*(from redmine: issue id 24, created on 2009-04-09, closed on 2009-04-15)*
* Changesets:
* Revision 9567337fd2444aa9b30a6cbfdd5bc9a98d171f25 by Timo Teräs on 2009-04-15T06:56:09Z:
```
fetch: new applet to download .apk files
Fixes #24.
```Timo TeräsTimo Teräshttps://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/19Let apk tools cache apk index files2019-07-14T07:53:04ZCarlo LandmeterLet apk tools cache apk index filesWhen using http repo’s it takes a long time for apk to download the
index files and continue. Harddisk repo’s do not have this slow down.
*(from redmine: issue id 19, created on 2009-03-26, closed on 2009-06-22)*
* Changesets:
* Rev...When using http repo’s it takes a long time for apk to download the
index files and continue. Harddisk repo’s do not have this slow down.
*(from redmine: issue id 19, created on 2009-03-26, closed on 2009-06-22)*
* Changesets:
* Revision 4c2bfd9dedab2533cbfc9c2bf4f827eb5f5f51a6 by Timo Teräs on 2009-04-16T17:05:22Z:
```
db: cache index files, 'update' applet
Cache non-local index files always locally.
Introduce 'update' applet to force refresh of cached index files.
Fixes #19.
```Timo TeräsTimo Teräshttps://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/8the /var/lib/apk/world cannot be bigger than 1023 bytes2019-07-14T07:26:24ZNatanael Copathe /var/lib/apk/world cannot be bigger than 1023 bytesIf the /var/lib/apk/world file grows bigger than 1023 bytes it gets
corrupt.
in vim it might look like this:
… renderproto resou^`` �&`~ ``^E
After that apk will complain:
ERROR: No providers for ‘resou’
ERROR: Failed to build in...If the /var/lib/apk/world file grows bigger than 1023 bytes it gets
corrupt.
in vim it might look like this:
… renderproto resou^`` �&`~ ``^E
After that apk will complain:
ERROR: No providers for ‘resou’
ERROR: Failed to build installation graph
You can workaround things from there by deleting resou:
$ sudo apk del resou
Purging resourceproto (1.0.2-r0)
OK: 133 packages, 4458 dirs, 67648 files
*(from redmine: issue id 8, created on 2009-03-17, closed on 2009-03-17)*
* Changesets:
* Revision 7735cc644d342e39b8b2b71da6890656d1846fab by Timo Teräs on 2009-03-17T11:19:06Z:
```
pkg: write dependencies directly file instead of buffer
So we don't get artificial limits on the amount of dependencies
(fixes #8).
```Timo TeräsTimo Teräs