You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the buildpack zip I see the dependencies folder with the deb files. Attached the buildpack cached zip- apt_buildpack-cached-cflinuxfs3-v0.3.4.zip
I expected my app to retrieve dependencies from the zip.
What was the actual behavior? The app is unable to find the package and hence trying to get it from apt-get, which fails because of no access to internet.
What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running
cf curl /v2/info && cf version
?What version of the buildpack you are using?
If you were attempting to accomplish a task, what was it you were attempting to do?
What did you expect to happen?
language: apt
default_versions: []
dependency_deprecation_dates: []
dependencies:
version: 5.38.2
uri: https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/perl-5.38.2-r0.apk
sha256: e4b5e1485e975455954489c5cf56e73e36afa9bafa24339e3141c43309affd1e
cf_stacks:
version: 1.9764
uri: https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/perl-time-hires-1.9764-r7.apk
sha256: 095b9ed93b82003efccb863114603bc5be6ee69a06169f49e8ed70e3c8b8fac2
cf_stacks:
version: 1.643
uri: https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/perl-dbi-1.643-r6.apk
sha256: e89d1e1d6d926e17071f0648f382279e868707c72c8c391f4dc7ed15d8af8d34
cf_stacks:
version: 3.3.8
uri: https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/mariadb-connector-c-3.3.8-r0.apk
sha256: fa5cece036ff03c53f0f4d4ce891ac7f0c4e3ee7e0f0f96792febdcd13c969a6
cf_stacks:
version: 4.052
uri: https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/perl-dbd-mysql-4.052-r0.apk
sha256: 4b80fb10e4db44511e809fbe8b5efb9ee4072e2f062dac44bf4f212fa319e95c
cf_stacks:
version: 3.5.4
uri: https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/percona-toolkit-3.5.4-r0.apk
sha256: ef582cee8510a4115510b9ae9fb9fb5fda90f09c56bb90c98c2bd3b008ad7526
cf_stacks:
pre_package: scripts/build.sh
include_files:
In the buildpack zip I see the dependencies folder with the deb files. Attached the buildpack cached zip-
apt_buildpack-cached-cflinuxfs3-v0.3.4.zip
I expected my app to retrieve dependencies from the zip.
What was the actual behavior? The app is unable to find the package and hence trying to get it from apt-get, which fails because of no access to internet.
2024-01-30T10:06:03.399-08:00 [STG/0] [OUT] Downloading app package... 2024-01-30T10:06:05.610-08:00 [STG/0] [OUT] Downloaded app package (61.2M) 2024-01-30T10:06:05.714-08:00 [STG/0] [OUT] -----> Apt Buildpack version 0.3.4 2024-01-30T10:06:05.714-08:00 [STG/0] [OUT] -----> Updating apt cache 2024-01-30T10:06:37.163-08:00 [STG/0] [OUT] -----> Downloading apt packages 2024-01-30T10:06:37.179-08:00 [STG/0] [ERR] E: Unable to locate package percona-toolkit 2024-01-30T10:06:37.180-08:00 [STG/0] [OUT] Reading package lists... 2024-01-30T10:06:37.180-08:00 [STG/0] [OUT] Building dependency tree... 2024-01-30T10:06:37.180-08:00 [STG/0] [OUT] 2024-01-30T10:06:37.180-08:00 [STG/0] [OUT] �[31;1m**ERROR**�[0m Error running supply: failed apt-get install Reading package lists... 2024-01-30T10:06:37.180-08:00 [STG/0] [OUT] Building dependency tree... 2024-01-30T10:06:37.180-08:00 [STG/0] [OUT] 2024-01-30T10:06:37.180-08:00 [STG/0] [OUT] 2024-01-30T10:06:37.180-08:00 [STG/0] [OUT] exit status 100 2024-01-30T10:06:37.181-08:00 [STG/0] [ERR] Failed to run all supply scripts: exit status 14 2024-01-30T10:06:37.187-08:00 [STG/0] [OUT] Exit status 225 2024-01-30T10:06:37.464-08:00 [STG/0] [OUT] Cell d498bae6-85e6-4520-a174-784adfd7b139 stopping instance f1731fa8-1d1d-43c7-b827-d5d834386334 2024-01-30T10:06:37.464-08:00 [STG/0] [OUT] Cell d498bae6-85e6-4520-a174-784adfd7b139 destroying container for instance f1731fa8-1d1d-43c7-b827-d5d834386334 2024-01-30T10:06:37.513-08:00 [API/2] [ERR] Failed to stage build: staging failed 2024-01-30T10:06:37.944-08:00 [STG/0] [OUT] Cell d498bae6-85e6-4520-a174-784adfd7b139 successfully destroyed container for instance f1731fa8-1d1d-43c7-b827-d5d834386334
I am running this on cflinuxfs3 (Cloud Foundry Linux-based filesystem - Ubuntu Bionic 18.04 LTS) machine.
Please confirm where necessary:
The text was updated successfully, but these errors were encountered: