Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builds for Debian 11 and 12 are broken #242

Closed
rwlodarczyk-xealth opened this issue Dec 15, 2023 · 2 comments
Closed

Builds for Debian 11 and 12 are broken #242

rwlodarczyk-xealth opened this issue Dec 15, 2023 · 2 comments

Comments

@rwlodarczyk-xealth
Copy link

For Debian 11, I get: E: Unable to locate package openresty
For Debian 12, I get: E: Version '1.21.4.3-1~bookworm1' for 'openresty' was not found

However, when performing an apt search openresty, the package is shown:

...
openresty/unknown 1.21.4.3-1~bookworm1 amd64
  core server of OpenResty for production use
...

Even an apt-get install openresty gives an error:

root@5ce456b4e83b:/# apt-get update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:4 https://openresty.org/package/debian bookworm InRelease
Reading package lists... Done
root@5ce456b4e83b:/#
root@5ce456b4e83b:/# apt-get install openresty
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package openresty is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'openresty' has no installation candidate
@rwlodarczyk-xealth
Copy link
Author

Hmm, this seems to be specific ONLY building on Macs with M1/2/3. Probably my build string is wrong because of architecture differences (e.g. arm64 vs amd64).

@neomantra
Copy link
Member

Yes, it is that. See the .travis.yml for examples:

docker build  --build-arg RESTY_APT_REPO="https://openresty.org/package/arm64/debian" --build-arg RESTY_APT_ARCH=arm64 -f bookworm/Dockerfile .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants