Bug 2316312 - Toolbox is stuck at version 38 on Asahi Linux
Summary: Toolbox is stuck at version 38 on Asahi Linux
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: toolbox
Version: 40
Hardware: aarch64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Debarshi Ray
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-03 16:09 UTC by Alex Arnold
Modified: 2024-11-07 02:06 UTC (History)
5 users (show)

Fixed In Version: toolbox-0.0.99.6-5.fc41 toolbox-0.0.99.6-5.fc40 toolbox-0.0.99.6-5.fc39
Clone Of:
Environment:
Last Closed: 2024-10-04 13:48:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Log (3.04 KB, text/plain)
2024-10-03 18:56 UTC, Alex Arnold
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github containers toolbox pull 1561 0 None open pkg/utils: Update fallback release to 40 for non-fedora hosts 2024-10-03 20:39:35 UTC

Description Alex Arnold 2024-10-03 16:09:06 UTC
When trying to create a new toolbox container it tries to use version 38 instead of version 40.

Reproducible: Always

Comment 1 Debarshi Ray 2024-10-03 18:32:09 UTC
Could you please show your /etc/os-release and the output from 'toolbox --verbose create' ?

Comment 2 Alex Arnold 2024-10-03 18:56:01 UTC
Created attachment 2050270 [details]
Log

Comment 3 Debarshi Ray 2024-10-03 20:39:35 UTC
(In reply to Alex Arnold from comment #2)
> Created attachment 2050270 [details]
> Log
>
> [...]
>
> alex@macbookair:~$ cat /etc/os-release
> NAME="Fedora Linux Asahi Remix"
> VERSION="40 (KDE Plasma)"
> ID=fedora-asahi-remix
> ID_LIKE=fedora

Okay, I see the problem.

Currently, Toolbx only looks at ID in os-release(5), and doesn't fall back to ID_LIKE.  So, when it sees fedora-asahi-remix, it thinks that it's an unknown distribution that's not part of the officially supported set, and uses the fallback setting of fedora-toolbox:38.

There are two things to fix.

First, we should bump the fallback version to a supported version of Fedora.  I submitted a pull request for it, which I will backport to Fedora:
https://github.com/containers/toolbox/pull/1561

Second, we should add support for ID_LIKE to Toolbx.  Unfortunately, we need to wait a bit with this, because I would really like to roll a dot-zero release in the coming days, and this would be too much of a churn.

In the meantime, you could use toolbox.conf(5) to override the 'distro' and 'release' options to match your Fedora Asahi Remix host.

Comment 4 Debarshi Ray 2024-10-04 13:48:31 UTC
Fixed in Rawhide:
https://bodhi.fedoraproject.org/updates/FEDORA-2024-de68b6db47

I will wait for other supported Fedora branches until the 0.0.99.6 release builds to go into stable.

Comment 5 Fedora Update System 2024-10-08 16:39:25 UTC
FEDORA-2024-f073144bc1 (toolbox-0.0.99.6-5.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-f073144bc1

Comment 6 Fedora Update System 2024-10-09 02:38:37 UTC
FEDORA-2024-f073144bc1 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-f073144bc1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-f073144bc1

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2024-10-11 01:31:28 UTC
FEDORA-2024-f073144bc1 (toolbox-0.0.99.6-5.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2024-10-20 18:52:29 UTC
FEDORA-2024-4833b67e5f (toolbox-0.0.99.6-5.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-4833b67e5f

Comment 9 Fedora Update System 2024-10-21 02:23:44 UTC
FEDORA-2024-4833b67e5f has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-4833b67e5f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-4833b67e5f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2024-10-22 20:28:37 UTC
FEDORA-2024-699dd76c84 (toolbox-0.0.99.6-5.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-699dd76c84

Comment 11 Fedora Update System 2024-10-23 01:48:33 UTC
FEDORA-2024-699dd76c84 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-699dd76c84`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-699dd76c84

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2024-11-05 04:42:22 UTC
FEDORA-2024-4833b67e5f (toolbox-0.0.99.6-5.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2024-11-07 02:06:16 UTC
FEDORA-2024-699dd76c84 (toolbox-0.0.99.6-5.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.