esl / packages

Makefile- and Docker-based build system for ESL's erlang and elixir binary packages.
Apache License 2.0
9 stars 6 forks source link

Support for Ubuntu 22.04 via apt repository? #15

Closed j-koehler closed 10 months ago

j-koehler commented 2 years ago

Hi,

it looks like Ubuntu 22.04 (jammy jellyfish) is half supported (packages are there (ctrl+f "jammy" returns multiple hits)) but the packages can't be retreived via the apt repository. Looks like there is a folder but Release file is missing and because of this: apt is complaining.

Example output from Docker container (just as an easy way to provide the required output):

root@277b9d1c4a0f:/# echo "deb https://packages.erlang-solutions.com/ubuntu jammy contrib" > /etc/apt/sources.list.d/erlang-solutions.list
root@277b9d1c4a0f:/# curl --silent https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc --output /tmp/erlang_solutions.asc && DEBIAN_FRONTEND=noninteractive apt-key add /tmp/erlang_solutions.asc
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
root@277b9d1c4a0f:/# apt-get update
Ign:1 https://packages.erlang-solutions.com/ubuntu jammy InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease          
Err:3 https://packages.erlang-solutions.com/ubuntu jammy Release          
  404  Not Found [IP: 18.66.2.94 443]
Hit:4 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:5 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done
E: The repository 'https://packages.erlang-solutions.com/ubuntu jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

Is this a work in progress?

jeffwidman commented 1 year ago

@gilacost Is there any timing of when you expect this to be live? It's currently preventing Dependabot from upgrading to Ubuntu 22.04:

We can switch to downloading / installing erlang via a different method, but the pre-built binaries have been appreciated for keeping up with the latest versions of Erlang.

Also related:

jtwebman commented 1 year ago

Is Elixir dying? Seems strange that a Ubuntu 22.04 still doesn't have a build.

dalbarado commented 1 year ago

Hi there, I m taking care of this issue. The packages are created on s3. Will be available soon at esl packages url.

jtwebman commented 1 year ago

Thank you but also was a good kick in the butt to just build my own compiled version of Elixir

jrosser commented 1 year ago

it would also be great to get the arm64 build coverage matching the amd64, seems to be some mismatch in here https://packages.erlang-solutions.com/erlang/debian/pool/ and i'd really like to be running this on jammy arm64 as well as amd64

seanking2919 commented 1 year ago

Hi there, I m taking care of this issue. The packages are created on s3. Will be available soon at esl packages url.

Good to hear. I just really wish you folks at Erlang Solutions were more transparent on these issues and when you'll fix them.

D0cH0lliday commented 1 year ago

Hi there, I m taking care of this issue. The packages are created on s3. Will be available soon at esl packages url.

Good to hear. I just really wish you folks at Erlang Solutions were more transparent on these issues and when you'll fix them.

Any update on the release for Jammy?

dalbarado commented 1 year ago

Working on get online a new packages experience (Work in progress in this repo) the old system will be replaced soon. Expected time is by the end of March.

D0cH0lliday commented 1 year ago

Working on get online a new packages experience (Work in progress in this repo) the old system will be replaced soon. Expected time is by the end of March.

Any update on the release for Jammy?

seanking2919 commented 1 year ago

Working on get online a new packages experience (Work in progress in this repo) the old system will be replaced soon. Expected time is by the end of March.

Any update on the release for Jammy?

I'm wondering the same thing. It's mid-April and I'm frustrated with the lack of transparency from Erlang Solutions on this issue.

D0cH0lliday commented 1 year ago

While we wait for a status update, I did come across this repo as an alternative for sourcing updated packages. https://launchpad.net/~rabbitmq/+archive/ubuntu/rabbitmq-erlang

dalbarado commented 1 year ago

I there sorry for the late reply, Here you could find the binaries for Jammy. It will be on Dry-run until June 1st and it will replace the old unsupported one. The site is http://binaries2.erlang-solutions.com/

Bug Fixing

jeffwidman commented 1 year ago

Is ☝️ going to be the new binaries location for all ubuntu packages? Ie, Focal?

D0cH0lliday commented 1 year ago

I there sorry for the late reply, Here you could find the binaries for Jammy. It will be on Dry-run until June 1st and it will replace the old unsupported one. The site is http://binaries2.erlang-solutions.com/

Bug Fixing

* Working on get the full solution for APT Repositories. Having some issues with old metadata system, so I m building it from scratch. It will be available next week.

It is now the end of the week, can we get a status update?

D0cH0lliday commented 1 year ago

I there sorry for the late reply, Here you could find the binaries for Jammy. It will be on Dry-run until June 1st and it will replace the old unsupported one. The site is http://binaries2.erlang-solutions.com/ Bug Fixing

* Working on get the full solution for APT Repositories. Having some issues with old metadata system, so I m building it from scratch. It will be available next week.

It is now the end of the week, can we get a status update?

End of the 2nd week, any progress made on getting the repo up and packages posted?

j-koehler commented 1 year ago

Tbh, I'm done with that. Using other repositories now. See https://www.rabbitmq.com/which-erlang.html#erlang-repositories - don't want to sound salty or anything. If there are no resources for, that's fine to me. But the communication needs improvement.

dalbarado commented 1 year ago

First of all sorry for the inconvenience and the delay on answer, this issue work is almost finished. Current binaries system -unsupported- will be archived and replaced for this new one at July 1st. If needed it will be accessible on http://archives.erlang-solutions.com. This will be on Production reflecting those changes in May 19st: Included the apt repository support for Jammy.

dalbarado commented 1 year ago

Hey there the apt repository and support for Jammy and other products with APT is finally here. Please let me know if you found some issues or any comments. The idea is to get track of the issues here and also start involving the community if we could do the things better. As you mentioned there was some issues with the communications and we want to improve that.

seanking2919 commented 1 year ago

Hey there the apt repository and support for Jammy and other products with APT is finally here. Please let me know if you found some issues or any comments. The idea is to get track of the issues here and also start involving the community if we could do the things better. As you mentioned there was some issues with the communications and we want to improve that.

False. This link shows absolutely nothing: https://packages.erlang-solutions.com/ubuntu/dists/jammy/contrib/binary-amd64/Packages

Edit: If it's the case you're using a new subdomain from now on, you need to update the ESL site. If you intend to move binaries2.erlang-solutions.com to packages.erlang-solutions.com, please move it as soon as possible. I'm getting extremely frustrated with how you're communicating in this regards. You need to clarify better when you say "the apt repository and support for Jammy and other products with APT is finally here" because I thought when I first saw this, you meant you finally updated the packages.erlang-solutions.com site to include this.

D0cH0lliday commented 1 year ago

First of all sorry for the inconvenience and the delay on answer, this issue work is almost finished. Current binaries system -unsupported- will be archived and replaced for this new one at July 1st. If needed it will be accessible on http://archives.erlang-solutions.com. This will be on Production reflecting those changes in May 19st: Included the apt repository support for Jammy.

Hey there the apt repository and support for Jammy and other products with APT is finally here. Please let me know if you found some issues or any comments. The idea is to get track of the issues here and also start involving the community if we could do the things better. As you mentioned there was some issues with the communications and we want to improve that.

The http://archives.erlang-solutions.com URL is just a redirect to https://www.erlang-solutions.com. Even if you browse to the downloads and select Elixir as the desired download, the instructions and repo have not been updated to include Jammy or the new repository URL.

Considering that this is a primary distribution point for your products, I would think that Erlang Solutions would make it a higher priority to have a working repo. My team is already talking about rewriting our application in another language so that our work is no longer held up by Erlang's inability to communicate, publish timely updates to their packages and have a working repo. Since we may not be around for it, I will congratulate you, 2 weeks early, on the 1 year anniversary of this issue being opened up.

dalbarado commented 1 year ago

Hey there, you re right, we re trying to do our best effort into this. Maybe I stated it wrong at beginning, causing this confusion. We will maintain our currents URLs for the old packages system - to try to not broke anything on people which re using the old version- and will enable this archive redirect as soon as possible. In order to facilitate faster the binaries needed, only for this threath, I told you that the https://binaries2.erlang-solutions.com had the new packages system working, with APT support, for the versions needed - Jammy - , this url was on dry-run until we launch. The launch on the ESL website is being prepared, also to communicate better as you stated, in our channels and our Site, forums and blogs. We have experiencing some delays, that are preventing to focus on this, because our team has to work in some urgent task. Sorry for the inconvenience it might causing to you guys, my spirit was to bring some solutions and I believe it didn't goes well. I taked notes and will try to get it working as expected.

D0cH0lliday commented 1 year ago

Hey there, you re right, we re trying to do our best effort into this. Maybe I stated it wrong at beginning, causing this confusion. We will maintain our currents URLs for the old packages system - to try to not broke anything on people which re using the old version- and will enable this archive redirect as soon as possible. In order to facilitate faster the binaries needed, only for this threath, I told you that the https://binaries2.erlang-solutions.com had the new packages system working, with APT support, for the versions needed - Jammy - , this url was on dry-run until we launch. The launch on the ESL website is being prepared, also to communicate better as you stated, in our channels and our Site, forums and blogs. We have experiencing some delays, that are preventing to focus on this, because our team has to work in some urgent task. Sorry for the inconvenience it might causing to you guys, my spirit was to bring some solutions and I believe it didn't goes well. I taked notes and will try to get it working as expected.

Any progress on the launch of the new repo?

seanking2919 commented 1 year ago

Hey there, you re right, we re trying to do our best effort into this. Maybe I stated it wrong at beginning, causing this confusion. We will maintain our currents URLs for the old packages system - to try to not broke anything on people which re using the old version- and will enable this archive redirect as soon as possible. In order to facilitate faster the binaries needed, only for this threath, I told you that the https://binaries2.erlang-solutions.com had the new packages system working, with APT support, for the versions needed - Jammy - , this url was on dry-run until we launch. The launch on the ESL website is being prepared, also to communicate better as you stated, in our channels and our Site, forums and blogs. We have experiencing some delays, that are preventing to focus on this, because our team has to work in some urgent task. Sorry for the inconvenience it might causing to you guys, my spirit was to bring some solutions and I believe it didn't goes well. I taked notes and will try to get it working as expected.

  1. Not to sound salty, but I've switched to RabbitMQ's Erlang repositories. I normally would try to have more patience, but I was falling behind quite a bit in terms of Linux Mint versions (Linux Mint 21.1 came out by the time I had upgraded to Linux Mint 21).
  2. It worries me that for well over a year, you had no repository for Ubuntu 22.04 releases. My perception of what's going on may be wrong, but I don't know if you folks really thought through how you're going to do a smooth migration to the new system.
  3. If you're unable or not willing to maintain your Elixir/Erlang repositories for releases for whatever reason, just admit so. And give instructions on how to migrate to other alternative repositories. Just a thought.
D0cH0lliday commented 1 year ago

Hey there, you re right, we re trying to do our best effort into this. Maybe I stated it wrong at beginning, causing this confusion. We will maintain our currents URLs for the old packages system - to try to not broke anything on people which re using the old version- and will enable this archive redirect as soon as possible. In order to facilitate faster the binaries needed, only for this threath, I told you that the https://binaries2.erlang-solutions.com had the new packages system working, with APT support, for the versions needed - Jammy - , this url was on dry-run until we launch. The launch on the ESL website is being prepared, also to communicate better as you stated, in our channels and our Site, forums and blogs. We have experiencing some delays, that are preventing to focus on this, because our team has to work in some urgent task. Sorry for the inconvenience it might causing to you guys, my spirit was to bring some solutions and I believe it didn't goes well. I taked notes and will try to get it working as expected.

Any progress on the launch of the new repo?

Since it is now August, it is pretty clear that the end of July is no longer a target for the new repo to be online, when can we expect that to be available?

jeffwidman commented 1 year ago

@dalbarado Is there any update here? It looks like the packages have been uploaded, but I get the error:

Ign:5 https://binaries2.erlang-solutions.com/ubuntu focal InRelease
Err:6 https://binaries2.erlang-solutions.com/ubuntu focal Release
  404  Not Found [IP: 18.172.170.8 443]
Reading package lists... Done
E: The repository 'https://binaries2.erlang-solutions.com/ubuntu focal 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.

It's also a bit weird that the example for "adding repository" on https://www.erlang-solutions.com/downloads/ lists trusty/precise/saucy but not lunar/jammy / focal.

dalbarado commented 10 months ago

Has been added APT support for that version

cen1 commented 6 months ago

The error about a missing Release file is still happening so why was this issue closed?