apk-tools issueshttps://gitlab.alpinelinux.org/alpine/apk-tools/-/issues2022-12-21T20:01:44Zhttps://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10745Allow repository precedence when multiple instances of the same repository ex...2022-12-21T20:01:44ZMorgan HeinAllow repository precedence when multiple instances of the same repository exist in /etc/apk/repositoriesI have the following situation:
- Repository A is a custom compiled set of packages that also exist in
the public repository. This repository has the pkgs compiled with
extra security features and/or some unique flags set.
- ...I have the following situation:
- Repository A is a custom compiled set of packages that also exist in
the public repository. This repository has the pkgs compiled with
extra security features and/or some unique flags set.
- Repository B is a full mirror of the official repository.
What i’d like to happen is list both repositories in the
/etc/apk/repositories file, and have the clients prefer downloading all
pkgs from Repo A. In the case that the file doesn’t exist in Repo A,
then download from Repo B.
This, currently, doesn’t seem possible. After adding both repositories,
clients sometimes download from A, and sometimes download from B,
regardless of what is available in A.
The ability to add multiple repositories, with precedence, would be very
helpful in this situation.
Thanks,
Morgan
*(from redmine: issue id 9409, created on 2018-09-11)*backloghttps://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10651APK should have --force-reinstall option2022-12-21T20:00:36ZAndrey LAPK should have --force-reinstall optionHello!
Sometimes it’s needed to reinstall package overwriting all files
included in package
There should an easy way to do it.
*(from redmine: issue id 10303, created on 2019-04-19)*Hello!
Sometimes it’s needed to reinstall package overwriting all files
included in package
There should an easy way to do it.
*(from redmine: issue id 10303, created on 2019-04-19)*v3.1https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/9411apk upgrade bug when new directory has same name as old file2022-12-21T18:50:52ZNatanael Copaapk upgrade bug when new directory has same name as old fileI got errors when upgrading gimp with apk-tools-2.10.1, with the files
under `usr/lib/gimp/2.0/plug-ins`.
To reproduce:
$ docker run --rm -it alpine:3.8 sh -c "apk add -U gimp && sed -i -e 's/v3.8/edge/' /etc/apk/repositories && ap...I got errors when upgrading gimp with apk-tools-2.10.1, with the files
under `usr/lib/gimp/2.0/plug-ins`.
To reproduce:
$ docker run --rm -it alpine:3.8 sh -c "apk add -U gimp && sed -i -e 's/v3.8/edge/' /etc/apk/repositories && apk upgrade -U -a"
...
(82/88) Replacing poppler-glib (0.56.0-r1 -> 0.56.0-r1)
(83/88) Upgrading gimp (2.8.22-r2 -> 2.10.6-r0)
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-header/.apk.a363331e9a8d3d487a216eda7ca2ffea8196714a3c49a26e to usr/lib/gimp/2.0/plug-ins/file-header/file-header.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/cartoon/.apk.8dcf9daeda099f7d5746b6ea69b304dac6a3d7e7ac42f120 to usr/lib/gimp/2.0/plug-ins/cartoon/cartoon.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/gimpressionist/.apk.9ea15f5626abef4a2a6a67e53cc297193fcdaef84cbe5750 to usr/lib/gimp/2.0/plug-ins/gimpressionist/gimpressionist.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/sharpen/.apk.c68da8a90a2326b2e799dfdf80b509892110e257957059bd to usr/lib/gimp/2.0/plug-ins/sharpen/sharpen.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-faxg3/.apk.42666728d028e8c6bc83b57e93c05c051bb8bd249aa2a685 to usr/lib/gimp/2.0/plug-ins/file-faxg3/file-faxg3.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-gif-save/.apk.f350657ed077ff3e5f5f6fbdef0cef481c6d111267aef3e2 to usr/lib/gimp/2.0/plug-ins/file-gif-save/file-gif-save.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/filter-pack/.apk.19bd28a0c8acbc1ca0f3c13052d7d5016ec6ab15f2964f32 to usr/lib/gimp/2.0/plug-ins/filter-pack/filter-pack.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/contrast-normalize/.apk.3cc77b48ef05a1c1d6be60018735d57ba0919679a34e4106 to usr/lib/gimp/2.0/plug-ins/contrast-normalize/contrast-normalize.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-csource/.apk.1a5688fd9666d688975512796e0c2ca168ce7838dc142b43 to usr/lib/gimp/2.0/plug-ins/file-csource/file-csource.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/gradient-map/.apk.c92c29787c5e0b0c64780576904f6ea67d3a95044bc6aad8 to usr/lib/gimp/2.0/plug-ins/gradient-map/gradient-map.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-pnm/.apk.da385ea537cc77a8f056db03d7e8f9bf5ee3b87acdfbba31 to usr/lib/gimp/2.0/plug-ins/file-pnm/file-pnm.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/qbist/.apk.2d44115674ae5e18db2072f77332276dc744c863d8321182 to usr/lib/gimp/2.0/plug-ins/qbist/qbist.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-psp/.apk.96d194c77174ec9bcf24a8763081ef86de20addac1b7f9f9 to usr/lib/gimp/2.0/plug-ins/file-psp/file-psp.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/map-object/.apk.060024a44385cc536458349a0cb88d755dc3f2a706125a5a to usr/lib/gimp/2.0/plug-ins/map-object/map-object.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-pcx/.apk.a05d12d5218565d31b8fa984794015a30f254eb10c783dd8 to usr/lib/gimp/2.0/plug-ins/file-pcx/file-pcx.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/gradient-flare/.apk.a9ece2fc03b249a268f09077e0dbaccb2c7bb7482c2e5edc to usr/lib/gimp/2.0/plug-ins/gradient-flare/gradient-flare.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/script-fu/.apk.0f0b53459fd53783f077d58820b3f644eae66259593d3df2 to usr/lib/gimp/2.0/plug-ins/script-fu/script-fu.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/emboss/.apk.81b74c54211133928823931613a830017938ae56b77a6a59 to usr/lib/gimp/2.0/plug-ins/emboss/emboss.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/smooth-palette/.apk.d12b219194efd3fbf17179db5d4f02299d8b6a741e6d801c to usr/lib/gimp/2.0/plug-ins/smooth-palette/smooth-palette.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-compressor/.apk.712b2bb8e13017ead0a1230b2c79eba0661dc295d0743fab to usr/lib/gimp/2.0/plug-ins/file-compressor/file-compressor.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/screenshot/.apk.dcd62f978b4361ba4c2d99a3acff953afbcc41bfb4b8f8e1 to usr/lib/gimp/2.0/plug-ins/screenshot/screenshot.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/film/.apk.a0e0c11ada421ccdf8ccdb276905447e6531bf396dd098de to usr/lib/gimp/2.0/plug-ins/film/film.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-pat/.apk.47363645cdc96944dbe7948f13f462dcf44ef9d71c702442 to usr/lib/gimp/2.0/plug-ins/file-pat/file-pat.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/tile-small/.apk.7cdd630207ea1b00ed6a78e5e2655d1870054b58b9c3411f to usr/lib/gimp/2.0/plug-ins/tile-small/tile-small.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/selection-to-path/.apk.8870205db954bc2529300d75c87b0fe8d10ea6b1d7669241 to usr/lib/gimp/2.0/plug-ins/selection-to-path/selection-to-path.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-svg/.apk.274ff0529815d883ee31129117e85e9124db04c52cbf9979 to usr/lib/gimp/2.0/plug-ins/file-svg/file-svg.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/tile/.apk.2481d1c9c205ac690f4af65ed76d09608a1bab28c1cda2ae to usr/lib/gimp/2.0/plug-ins/tile/tile.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/sample-colorize/.apk.cb37ae4ebc732a4f467a6dbc0cf3916c7927339ccc8b0a76 to usr/lib/gimp/2.0/plug-ins/sample-colorize/sample-colorize.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-pdf-save/.apk.1e3e2c5adbc33e4809d3cb6bbfc95448f8c969daa1c6a999 to usr/lib/gimp/2.0/plug-ins/file-pdf-save/file-pdf-save.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/warp/.apk.1ed4316bc2a3d290c2b6109e65ef8d7a8f6d588b6d31b40f to usr/lib/gimp/2.0/plug-ins/warp/warp.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/flame/.apk.018f909206e515c6c03ab18ee2b55cebb87c17abafd3c0a6 to usr/lib/gimp/2.0/plug-ins/flame/flame.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/pagecurl/.apk.fe367a655cc815040911a9b0878d760398562c8db61d645f to usr/lib/gimp/2.0/plug-ins/pagecurl/pagecurl.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/destripe/.apk.73710619d5a77ddc84c1e04c48478199b808a9a8460c9863 to usr/lib/gimp/2.0/plug-ins/destripe/destripe.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/edge-neon/.apk.626332d27ef264d2170369db4b330e5d073091decb2026ff to usr/lib/gimp/2.0/plug-ins/edge-neon/edge-neon.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/guillotine/.apk.5a69a4851870aaa957a909170789cf8632bb00b46d90a555 to usr/lib/gimp/2.0/plug-ins/guillotine/guillotine.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/curve-bend/.apk.77b778320e7b0965562aad17e954d06f35c317bd762c9dfc to usr/lib/gimp/2.0/plug-ins/curve-bend/curve-bend.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/color-cube-analyze/.apk.3cddc3845c39cd10dd3cf6188ae2b8ee8c62a6d7f9e7d9b0 to usr/lib/gimp/2.0/plug-ins/color-cube-analyze/color-cube-analyze.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/newsprint/.apk.ecc9d35c6c427415bcd0eca6d2401d49d2aeebe44548f3c4 to usr/lib/gimp/2.0/plug-ins/newsprint/newsprint.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/colormap-remap/.apk.3b81d43aab2cfedf5f8ec5d0f5179d90c97d2bbd5484a8eb to usr/lib/gimp/2.0/plug-ins/colormap-remap/colormap-remap.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/ifs-compose/.apk.8e6f432a16e4ef717c74d91165d8eabb76f02de582c44a6c to usr/lib/gimp/2.0/plug-ins/ifs-compose/ifs-compose.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/fractal-explorer/.apk.a5fa4cf4b74c1c1f5f634873f45f8abaa376e7fdb66157af to usr/lib/gimp/2.0/plug-ins/fractal-explorer/fractal-explorer.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/animation-optimize/.apk.f57621e36520b9d18fb48e6ff09356c79b1ca8991fb553e6 to usr/lib/gimp/2.0/plug-ins/animation-optimize/animation-optimize.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-dicom/.apk.f822fe7ec3eb63baa723c532412a1f47ccb0c8a3be9a740e to usr/lib/gimp/2.0/plug-ins/file-dicom/file-dicom.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/imagemap/.apk.42ec92293ce24e7e9565337971cae2c35e38ae28329d0f5c to usr/lib/gimp/2.0/plug-ins/imagemap/imagemap.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-gbr/.apk.3070e9c4d4a62481cb62ab191518548de2d7826195ca887e to usr/lib/gimp/2.0/plug-ins/file-gbr/file-gbr.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/plugin-browser/.apk.0fc321725e22632be24187b3cd09c66fcd800c992661303e to usr/lib/gimp/2.0/plug-ins/plugin-browser/plugin-browser.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/lighting/.apk.5d64532a0dd512b3f1b14b02640284f453cb2788298b2b9f to usr/lib/gimp/2.0/plug-ins/lighting/lighting.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-tga/.apk.90bbe438af2daa64a11360b237bfef7286ac39e4c88883a4 to usr/lib/gimp/2.0/plug-ins/file-tga/file-tga.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/depth-merge/.apk.517c875769452f2f4d2bb5518770a3fe710666f3e863a255 to usr/lib/gimp/2.0/plug-ins/depth-merge/depth-merge.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/oilify/.apk.a3458585fa37f8a363bcef91bfd2d53230bfdc289ba81719 to usr/lib/gimp/2.0/plug-ins/oilify/oilify.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-desktop-link/.apk.c7f1000a1e308a6006dda1c346153c9d4fcb056dfb765dde to usr/lib/gimp/2.0/plug-ins/file-desktop-link/file-desktop-link.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-ico/.apk.fb7c787c432ed090b3073e361399ac3b4b7237a80ff4e358 to usr/lib/gimp/2.0/plug-ins/file-ico/file-ico.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/hot/.apk.7388308df4b175391ba26fe626ef7a87fafa148191985110 to usr/lib/gimp/2.0/plug-ins/hot/hot.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-html-table/.apk.9c66606ea318ca825c13d5e5ad0911fbd5a52e770ba90072 to usr/lib/gimp/2.0/plug-ins/file-html-table/file-html-table.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/cml-explorer/.apk.25383b5193a80d59b8c6726ec11be51826d2d1671e08a9f4 to usr/lib/gimp/2.0/plug-ins/cml-explorer/cml-explorer.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-xbm/.apk.42e9b4cbea2d3e7d1c11f852938eb77765d0c73db8eca816 to usr/lib/gimp/2.0/plug-ins/file-xbm/file-xbm.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/web-browser/.apk.6e38e4f9c9dbc4a9d430fda8be2e709a9f91156570a0c4d0 to usr/lib/gimp/2.0/plug-ins/web-browser/web-browser.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/sphere-designer/.apk.86023409904ad3e64b8d003f2cc38eaa6d18aef7d0e9c18e to usr/lib/gimp/2.0/plug-ins/sphere-designer/sphere-designer.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/procedure-browser/.apk.9a89db987f5c20496be9a9872df4c8455a7c41544c8fc57a to usr/lib/gimp/2.0/plug-ins/procedure-browser/procedure-browser.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/grid/.apk.74a2cc6fafc470e6786380e8b1b4b2d8950919fc23aaa3f5 to usr/lib/gimp/2.0/plug-ins/grid/grid.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-fli/.apk.0fd710f850d7a310e088caaa9d08505863c9ec230d711424 to usr/lib/gimp/2.0/plug-ins/file-fli/file-fli.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/unit-editor/.apk.e5d820196ba240fa83d7cce0047ed1305785a22c247a6dd5 to usr/lib/gimp/2.0/plug-ins/unit-editor/unit-editor.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/softglow/.apk.91167a155c9933f0e4aedf27e0c6b974809415a9c60f4516 to usr/lib/gimp/2.0/plug-ins/softglow/softglow.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/despeckle/.apk.ed70b470515299e8ae39dfbd6d72b57f1e1ebe09909ef274 to usr/lib/gimp/2.0/plug-ins/despeckle/despeckle.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-xwd/.apk.bc8fdaed8058e1f1cf5833f78cf5dba353e1795a68753084 to usr/lib/gimp/2.0/plug-ins/file-xwd/file-xwd.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-pdf-load/.apk.a1bbc17098409b6d56a841ad2fe94e09a4dde1afae17cb28 to usr/lib/gimp/2.0/plug-ins/file-pdf-load/file-pdf-load.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-glob/.apk.60556d363bee6c856fda408a2454f9bcdad9a52a793cd1ec to usr/lib/gimp/2.0/plug-ins/file-glob/file-glob.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-bmp/.apk.f897538451de918519ebf6187f3358bd16feab23001e46c2 to usr/lib/gimp/2.0/plug-ins/file-bmp/file-bmp.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-gih/.apk.bb41af42f2ca7356fbe83cdf6ffaa4c4252248705b1be91d to usr/lib/gimp/2.0/plug-ins/file-gih/file-gih.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/photocopy/.apk.5586512848e70cd732ecaf00a9069af271d827ee0b9c280a to usr/lib/gimp/2.0/plug-ins/photocopy/photocopy.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/crop-zealous/.apk.e7805ff991563d37283c12a2a6db21232b9e053b8b766812 to usr/lib/gimp/2.0/plug-ins/crop-zealous/crop-zealous.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-sgi/.apk.f48589133f0bed404559b43509b1f034c980b502e6906f04 to usr/lib/gimp/2.0/plug-ins/file-sgi/file-sgi.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/contrast-retinex/.apk.eb05f1d0ab61c9a6959ba635cc05bab6ef91b12474dff8ca to usr/lib/gimp/2.0/plug-ins/contrast-retinex/contrast-retinex.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/help/.apk.217a52b85ce1ffb20e2145fcbd87e9ca15e6431859abc6be to usr/lib/gimp/2.0/plug-ins/help/help.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/van-gogh-lic/.apk.63c8dae6ecc64d4018af721f3a1bfc4c42e726836db3147c to usr/lib/gimp/2.0/plug-ins/van-gogh-lic/van-gogh-lic.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/animation-play/.apk.ee745abc5cd699763e71daa066a03fb6566916baea0c4928 to usr/lib/gimp/2.0/plug-ins/animation-play/animation-play.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/compose/.apk.df40f7a00d23674f958317f55a21cd5db491dc8661791633 to usr/lib/gimp/2.0/plug-ins/compose/compose.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-sunras/.apk.ebaa491a7f633b7e32d2da8d5714b0b68cc03cf8839471a7 to usr/lib/gimp/2.0/plug-ins/file-sunras/file-sunras.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/align-layers/.apk.bded1e067b5fb454dd83180ad05d6e48033dc4a5e7382f4c to usr/lib/gimp/2.0/plug-ins/align-layers/align-layers.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/colorify/.apk.d6f4c38313957cd555e1310440b7058a0a291af0a09b3837 to usr/lib/gimp/2.0/plug-ins/colorify/colorify.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/border-average/.apk.35eda6fda6f14f60f0e2c16fa29c66a595e4bc03badb4e73 to usr/lib/gimp/2.0/plug-ins/border-average/border-average.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-gif-load/.apk.41ef8db83fe41062b1e5ad23ff5d982e41a4a7bc405158b0 to usr/lib/gimp/2.0/plug-ins/file-gif-load/file-gif-load.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/nl-filter/.apk.54f7ca14d633e3224ce2aa618174d9ba0b9872bc2fe0f5f0 to usr/lib/gimp/2.0/plug-ins/nl-filter/nl-filter.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/checkerboard/.apk.3a50f870113c8484845a0661aa783615de571c9524ba441e to usr/lib/gimp/2.0/plug-ins/checkerboard/checkerboard.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/fractal-trace/.apk.acf45a25e00c8cba60c803e562df6ba6bb59ad5bbfd9fa78 to usr/lib/gimp/2.0/plug-ins/fractal-trace/fractal-trace.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/blur/.apk.984d792fb634be2733c119411cecdc0f9f83fc94afb1eb25 to usr/lib/gimp/2.0/plug-ins/blur/blur.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-jpeg/.apk.211616660069a33ae3fbd9c30a3590917c376215af18aade to usr/lib/gimp/2.0/plug-ins/file-jpeg/file-jpeg.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/mail/.apk.5bbc640cffa9a1aaa8ff03218ee042e377ef61621d05ab3b to usr/lib/gimp/2.0/plug-ins/mail/mail.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/gfig/.apk.8db205ad8adf2ff166694787c2c340e48cd8a2d9a19af9dc to usr/lib/gimp/2.0/plug-ins/gfig/gfig.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/print/.apk.fa7c0975c03c111bb3f233203c2da629bc2997b73c717803 to usr/lib/gimp/2.0/plug-ins/print/print.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/decompose/.apk.373c8a4737ac1d88b6704adf6f398dc7c574d572c0ad4258 to usr/lib/gimp/2.0/plug-ins/decompose/decompose.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-png/.apk.c77178418a2eff5a991d14bb5491b3ac6b7f6308dde8edda to usr/lib/gimp/2.0/plug-ins/file-png/file-png.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-cel/.apk.ee901d8d19ceb0e383f76f43df87db9a6060bcd0389949d8 to usr/lib/gimp/2.0/plug-ins/file-cel/file-cel.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-pix/.apk.fde6e2faff38240b50992916ce7a1077743ad896dcb30fdf to usr/lib/gimp/2.0/plug-ins/file-pix/file-pix.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-xpm/.apk.d3319869d1e74dd094739a92df199005218c00377a739707 to usr/lib/gimp/2.0/plug-ins/file-xpm/file-xpm.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/jigsaw/.apk.c8bac5d35f5a569d7d8ab85ffd54d38e761d18560e1ae377 to usr/lib/gimp/2.0/plug-ins/jigsaw/jigsaw.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/edge-dog/.apk.d284217513dcf3a0ba2dbd9ecdda7c6a2c88a583bc39810d to usr/lib/gimp/2.0/plug-ins/edge-dog/edge-dog.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/sparkle/.apk.9b473cbbfb73770427a898a57dc138fb9133deeaa618f73d to usr/lib/gimp/2.0/plug-ins/sparkle/sparkle.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/blinds/.apk.fbf81c5682b52909f375c49f39d36b586a5dab9b20524401 to usr/lib/gimp/2.0/plug-ins/blinds/blinds.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-fits/.apk.223f4f8b9e5ebd2e4b706882c440718ab2fcb8d45854466a to usr/lib/gimp/2.0/plug-ins/file-fits/file-fits.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/max-rgb/.apk.355ca91bd712d0f651b8d74ea7e8ca061f527608c30dc984 to usr/lib/gimp/2.0/plug-ins/max-rgb/max-rgb.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/color-enhance/.apk.4a3959c7b74297529f27d41c4b625073ad62c57b44edb3fa to usr/lib/gimp/2.0/plug-ins/color-enhance/color-enhance.
(84/88) Replacing scanelf (1.2.3-r0 -> 1.2.3-r0)
...
It also fails when I try to apk fix it, apparently due to last directory
in path is missing:
$ sudo apk fix
[sudo] password for ncopa:
(1/1) Reinstalling gimp (2.10.6-r0)
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-header/file-header: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/cartoon/cartoon: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/gimpressionist/gimpressionist: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/sharpen/sharpen: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/metadata-editor/metadata-editor: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/goat-exercise/goat-exercise: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-faxg3/file-faxg3: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-gif-save/file-gif-save: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/filter-pack/filter-pack: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/contrast-normalize/contrast-normalize: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-rawtherapee/file-rawtherapee: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-raw-data/file-raw-data: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-csource/file-csource: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/gradient-map/gradient-map: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-pnm/file-pnm: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/qbist/qbist: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-psp/file-psp: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/map-object/map-object: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-pcx/file-pcx: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/gradient-flare/gradient-flare: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/script-fu/script-fu: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/emboss/emboss: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/smooth-palette/smooth-palette: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-compressor/file-compressor: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/screenshot/screenshot: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/film/film: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-pat/file-pat: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/tile-small/tile-small: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/selection-to-path/selection-to-path: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-svg/file-svg: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/tile/tile: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/sample-colorize/sample-colorize: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-pdf-save/file-pdf-save: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/warp/warp: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/flame/flame: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/pagecurl/pagecurl: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/destripe/destripe: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/edge-neon/edge-neon: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/guillotine/guillotine: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/curve-bend/curve-bend: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-darktable/file-darktable: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/color-cube-analyze/color-cube-analyze: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/newsprint/newsprint: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/colormap-remap/colormap-remap: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/wavelet-decompose/wavelet-decompose: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/ifs-compose/ifs-compose: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/fractal-explorer/fractal-explorer: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-raw-placeholder/file-raw-placeholder: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/animation-optimize/animation-optimize: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-dicom/file-dicom: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/imagemap/imagemap: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/metadata-viewer/metadata-viewer: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-gbr/file-gbr: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/plugin-browser/plugin-browser: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/lighting/lighting: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-tga/file-tga: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/depth-merge/depth-merge: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/oilify/oilify: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-desktop-link/file-desktop-link: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-ico/file-ico: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/hot/hot: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-html-table/file-html-table: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/cml-explorer/cml-explorer: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-xbm/file-xbm: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/web-browser/web-browser: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/sphere-designer/sphere-designer: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/procedure-browser/procedure-browser: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/grid/grid: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/busy-dialog/busy-dialog: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-fli/file-fli: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/unit-editor/unit-editor: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/softglow/softglow: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/despeckle/despeckle: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-xwd/file-xwd: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-pdf-load/file-pdf-load: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-glob/file-glob: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-bmp/file-bmp: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-gih/file-gih: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/photocopy/photocopy: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/crop-zealous/crop-zealous: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-sgi/file-sgi: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/contrast-retinex/contrast-retinex: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-gegl/file-gegl: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/help/help: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/van-gogh-lic/van-gogh-lic: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/animation-play/animation-play: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/compose/compose: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-sunras/file-sunras: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/align-layers/align-layers: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/colorify/colorify: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/border-average/border-average: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-gif-load/file-gif-load: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/nl-filter/nl-filter: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/checkerboard/checkerboard: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/fractal-trace/fractal-trace: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/blur/blur: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-jpeg/file-jpeg: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/mail/mail: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/gfig/gfig: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-tiff/file-tiff: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/print/print: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-psd/file-psd: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/decompose/decompose: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-png/file-png: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-cel/file-cel: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-pix/file-pix: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-xpm/file-xpm: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/jigsaw/jigsaw: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/edge-dog/edge-dog: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/sparkle/sparkle: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/blinds/blinds: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/file-fits/file-fits: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/max-rgb/max-rgb: No such file or directory
ERROR: Failed to create usr/lib/gimp/2.0/plug-ins/color-enhance/color-enhance: No such file or directory
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/file-header/.apk.a363331e9a8d3d487a216eda7ca2ffea8196714a3c49a26e to usr/lib/gimp/2.0/plug-ins/file-header/file-header.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/cartoon/.apk.8dcf9daeda099f7d5746b6ea69b304dac6a3d7e7ac42f120 to usr/lib/gimp/2.0/plug-ins/cartoon/cartoon.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/gimpressionist/.apk.9ea15f5626abef4a2a6a67e53cc297193fcdaef84cbe5750 to usr/lib/gimp/2.0/plug-ins/gimpressionist/gimpressionist.
ERROR: gimp-2.10.6-r0: failed to rename usr/lib/gimp/2.0/plug-ins/sharpen/.apk.c68da8a90a2326b2e799dfdf80b509892110e257957059bd to usr/lib/gimp/2.0/plug-ins/sharpen/sharpen.
...
When I look at the strace, it seems like openat() fails to create the
tempfile:
...
unlinkat(3, "usr/lib/gimp/2.0/plug-ins/file-header/.apk.a363331e9a8d3d487a216eda7ca2ffea8196714a3c49a26e", 0) = -1 ENOENT (No such file or dire
ctory)
openat(3, "usr/lib/gimp/2.0/plug-ins/file-header/.apk.a363331e9a8d3d487a216eda7ca2ffea8196714a3c49a26e", O_RDWR|O_CREAT|O_EXCL|O_TRUNC|O_CLOEXE
C, 0755) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="", iov_len=0}, {iov_base="ERROR: ", iov_len=7}], 2ERROR: ) = 7
writev(2, [{iov_base="Failed to create usr/lib/gimp/2."..., iov_len=68}, {iov_base="No such file or directory", iov_len=25}], 2Failed to create usr/lib/gimp/2.0/plug-ins/file-header/file-header: No such file or directory) = 93
writev(2, [{iov_base="", iov_len=0}, {iov_base=NULL, iov_len=0}], 2) = 0
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
...
*(from redmine: issue id 9411, created on 2018-09-11)*v3.1Timo TeräsTimo Teräshttps://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/8752Add support for listing all (reverse) dependencies of the specified package r...2022-12-21T20:00:36ZJakub JirutkaAdd support for listing all (reverse) dependencies of the specified package recursively*(from redmine: issue id 8752, created on 2018-03-30)**(from redmine: issue id 8752, created on 2018-03-30)*v3.1https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/7100apk should support the use of full '$pkgname-$pkgver' atom as returned by 'ap...2024-03-22T11:45:14ZChris Giorgiapk should support the use of full '$pkgname-$pkgver' atom as returned by 'apk search -x $pkgname' everywhere '$pkgname' is usedCurrently, apk does not consider a full package atom, including version
($pkgname-$pkgver) to match a package which matches that exact atom.
For instance:
# apk search -x linux-grsec
linux-grsec-4.9.20-r0
# apk search -x $...Currently, apk does not consider a full package atom, including version
($pkgname-$pkgver) to match a package which matches that exact atom.
For instance:
# apk search -x linux-grsec
linux-grsec-4.9.20-r0
# apk search -x $(apk search -x linux-grsec)
#
This issue is present in all places where apk expects a $pkgname and
receives a complete atom in the format returned by ‘apk search -x
$pkgname’.
This behavior is counter-intuitive and leads to significant additional
effort being required in parsing within scripts calling apk to strip the
version, perform an operation with apk, then check the version actually
retrieved.
apk should accept the full atom as returned by ‘apk search -x’, and
throw an error if the version specified doesn’t match the available
$pkgver.
*(from redmine: issue id 7100, created on 2017-04-07)*v3.1Timo TeräsTimo Teräshttps://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/6081apk info --depends is slow2022-12-21T18:50:51Zalgitbotapk info --depends is slow*(from redmine: issue id 6081, created on 2016-08-25)**(from redmine: issue id 6081, created on 2016-08-25)*v3.1Timo TeräsTimo Teräshttps://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/5977Parallel Downloads for "apk add"2024-02-23T12:34:41ZNoah NordrumParallel Downloads for "apk add"I think it would be great to have the option to do parallel downloads of
packages, with a configurable amount of threads. Something like “apk
—no-cache —parallel=8 add openjdk8”. (with a default of 1)
You could also grab the various AP...I think it would be great to have the option to do parallel downloads of
packages, with a configurable amount of threads. Something like “apk
—no-cache —parallel=8 add openjdk8”. (with a default of 1)
You could also grab the various APKINDEXes using that same thread pool.
If you didn’t want to hammer the CDNs, you could add a hard-coded
exemption to \*.alpinelinux.org or something.
I’m running a local mirror of dl-cdn.alpinelinux.org, so I would really
like to take advantage of my internal bandwidth.
Since all the dependency information is in APKINDEX, I would think it
wouldn’t be too painful to throw it in a prioritized queue and delegate
to an executor of some kind, but I haven’t looked at the internals
(yet).
*(from redmine: issue id 5977, created on 2016-07-27)*v3.1Timo TeräsTimo Teräs