Doesn't show filelist on amd only packages

Bug #1876451 reported by Doug McMahon on 2020-05-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pkg-website
Undecided
Unassigned

Bug Description

Test case:
go to any focal package page that doesn't offer i386 packages.
amend /filelist to url
Ex.
https://packages.ubuntu.com/focal/totem-plugins/filelist

What happens:

Error

No such package in this suite on this architecture.

Conversely go to a package that does build i386, do the same
EX.
https://packages.ubuntu.com/focal/libavcodec58/filelist

What happens:
shows filelist.

Manfred Hampl (m-hampl) wrote :

In my opinion such URL (without architecture) makes sense only for packages that are architecture-independent ("all").
Arch-independent packages in the distant past have been built on i386 builders, and now (I guess at least since xenial) are packaged on amd64. I assume that due to this history when omitting the architecture in the URL, the i386 version is displayed. See e.g. https://packages.ubuntu.com/xenial/totem-plugins/filelist which shows "i386" in the header.
Maybe URLs without architecture should be marked as wrong with some different error message except for arch-independent packages.

Doug McMahon (mc3man) wrote :

Thanks Manfred, that makes sense. Got so used to simply amending to url stopped noticing it 'redirected' to i386.
So editing the url now produces intended result..

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers