canonical / ubuntu.com

The official website for the Ubuntu operating system
https://ubuntu.com
Other
201 stars 201 forks source link

22.04.4 Download Link Redirects to Wrong Architecture. #13681

Open woohyun7878 opened 7 months ago

woohyun7878 commented 7 months ago

Operating on Apple M1 MacBook Pro, Chrome browser.

The following button should redirect to arm64 architecture for my device, but actually redirects to https://ubuntu.com/download/desktop/thank-you?version=22.04.4&architecture=amd64. This behavior is reproducible on macOS.

Screenshot 2024-03-19 at 1 54 05 PM


Reported from: https://ubuntu.com/download/desktop

carkod commented 7 months ago

Thanks for reporting this. I believe it's working now?

woohyun7878 commented 7 months ago

Hi, the issue persists on my M1 device with a clean cache both on Chrome and Safari.

How are you detecting user architecture? I believe that some browser features are obsolete for compatibility reasons1 2. For example, the following is my local navigator.userAgent String:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36

However, I am definitely operating on an M1 chip.

image
  1. https://github.com/keepassxreboot/keepassxc-browser/issues/1550
  2. https://news.ycombinator.com/item?id=23910280
carkod commented 7 months ago

I see. I don't think we have anything in place to detect architecture. Feel free to contribute.

waveform80 commented 6 months ago

Even if we did detect architecture, there are no generic arm64 desktop images to download. There are specific pre-installed images like the Ubuntu Desktop for Raspberry Pi, but there's nothing this button could reasonably point to in the general case (currently).

waveform80 commented 6 months ago

Oh, apparently there are generic arm64 images now! Not sure they'd work on the Apple hardware, but I guess we should link to them somehow.

priyanshudotexe commented 1 week ago

Hey, I am interested in this issue, can you please assign this issue to me