buildpacks / pack

CLI for building apps using Cloud Native Buildpacks
https://buildpacks.io
Apache License 2.0
2.47k stars 279 forks source link

Installation of pack-cli on Ubuntu 24.04 LTS fails #2152

Closed gergoistvannagy closed 1 month ago

gergoistvannagy commented 1 month ago

Summary

Following the instruction here: https://buildpacks.io/docs/for-platform-operators/how-to/integrate-ci/pack/ for Linux/Ubuntu sudo add-apt-repository ppa:cncf-buildpacks/pack-cli fails to complete.

The repository is added to the source list, though as there is no Release file for Ubuntu 24.04 LTS the subsequent sudo apt update command fails to run.


Reproduction

Steps
  1. use Ubuntu 24.04 LTS
  2. in a bash run sudo add-apt-repository ppa:cncf-buildpacks/pack-cli
  3. see the output
Current behavior

PPA repository is added to the repository list though during the add-apt-repository this is the output (relevant part is copied only)

Ign:5 https://ppa.launchpadcontent.net/cncf-buildpacks/pack-cli/ubuntu noble InRelease Err:6 https://ppa.launchpadcontent.net/cncf-buildpacks/pack-cli/ubuntu noble Release 404 Not Found [IP: 2620:2d:4000:1::81 443] E: The repository 'https://ppa.launchpadcontent.net/cncf-buildpacks/pack-cli/ubuntu noble Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.

Expected behavior

ppa:cncf-buildpacks/pack-cli is added as repository and with proper Release file there is no need to relax security check for apt update


Environment

System Details Report


Report details

Hardware Information:

Software Information:

pack info

I haven't reach this point to actually run that.

docker info

Not needed for the fix.

jjbustamante commented 1 month ago

We hope next pack 0.34.0 version will be available for Ubuntu Noble Numbat

gergoistvannagy commented 1 month ago

It's working using 0.34.0 as described here: https://launchpad.net/~cncf-buildpacks/+archive/ubuntu/pack-cli