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

Support for Ubuntu 22.04 via apt repository? #15

Closed
j-koehler opened this issue Jul 7, 2022 · 27 comments
Closed

Support for Ubuntu 22.04 via apt repository? #15

j-koehler opened this issue Jul 7, 2022 · 27 comments

Comments

@j-koehler
Copy link

j-koehler commented Jul 7, 2022

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?

@j-koehler j-koehler changed the title Support for Ubuntu 22.04? Support for Ubuntu 22.04 via apt repository? Jul 7, 2022
@gilacost gilacost reopened this Aug 18, 2022
@jeffwidman
Copy link

jeffwidman commented Oct 30, 2022

@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
Copy link

jtwebman commented Jan 8, 2023

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

@dalbarado
Copy link
Collaborator

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

@jtwebman
Copy link

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

@jrosser
Copy link

jrosser commented Mar 1, 2023

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
Copy link

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
Copy link

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
Copy link
Collaborator

dalbarado commented Mar 9, 2023

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
Copy link

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
Copy link

seanking2919 commented Apr 16, 2023

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
Copy link

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
Copy link
Collaborator

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.

@jeffwidman
Copy link

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

@D0cH0lliday
Copy link

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
Copy link

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
Copy link
Author

j-koehler commented May 8, 2023

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
Copy link
Collaborator

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
Copy link
Collaborator

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
Copy link

seanking2919 commented Jun 8, 2023

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
Copy link

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
Copy link
Collaborator

dalbarado commented Jun 13, 2023

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
Copy link

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
Copy link

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
Copy link

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
Copy link

jeffwidman commented Aug 22, 2023

@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.

jeffwidman added a commit to jeffwidman/dependabot-core that referenced this issue Aug 22, 2023
Install Erlang from Ubuntu Universe rather than Erlang Solutions.
Unfortunately that means we will probably lag on Erlang versions in the
future.

While this isn't ideal from an Erlang perspective, this unblocks the
`22.04` upgrade, which is a bigger deal for the other ecosystems.

I'm hopeful this is only a temporary state of affairs and someone from
the community steps up to provide a PR switching to installing from
either the Erlang Solutions PPA or the RabbitMQ PPA.

See also:
* esl/packages#15
* dependabot#7865
* https://erlangforums.com/t/erlang-solutions-apt-package-for-otp-25/1552/1
* https://erlangforums.com/t/the-eef-is-looking-for-volunteers-to-take-over-esls-build-packages/2238/1
@dalbarado
Copy link
Collaborator

Has been added APT support for that version

@cen1
Copy link

cen1 commented Feb 19, 2024

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

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

No branches or pull requests

9 participants