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

topgrade throws an exception when trying to update a system (aurora made) container named arch #68

Open
bearyjd opened this issue Jan 1, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@bearyjd
Copy link

bearyjd commented Jan 1, 2025

Describe the bug

When I run topgrade, a container "arch" that was made by the system (i have deleted it in an effort to try to "recreate it with Toolbx version 0.0.17 or newer." but it does not fix this error

output of topgrade

── 15:35:19 - System update ────────────────────────────────────────────────────
[sudo] password for user:
Sorry, try again.
[sudo] password for user:
Note: This system is image (rpm-ostree) based.
note: automatic updates (stage) are enabled
Pulling manifest: ostree-image-signed:docker://ghcr.io/ublue-os/aurora-dx-nvidia:latest
No upgrade available.

── 15:35:33 - Toolbx ───────────────────────────────────────────────────────────
Error: container arch is too old and no longer supported
Recreate it with Toolbx version 0.0.17 or newer.
toolbx failed:
0: Command failed: /usr/bin/toolbox run -c arch env 'TOPGRADE_PREFIX='\''Toolbx arch'\''' /run/host/usr/bin/topgrade --only system --no-self-update --skip-notify
1: /usr/bin/toolbox failed: exit status: 1

What did you expect to happen?

I expected topgrade to run without errors. It runs through hte rest of my containers flawlessly except this one "arch" container that the system keeps building.

Output of bootc status

Output of groups

Extra information or context

No response

@dosubot dosubot bot added the bug Something isn't working label Jan 1, 2025
@ledif
Copy link
Collaborator

ledif commented Jan 1, 2025

I'm not aware of any place in Aurora that unconditionally creates an arch toolbox, so it shouldn't have been "made by the system."

If you do not need that toolbox, try deleting it with toolbox rm arch and running topgrade again.

@bearyjd
Copy link
Author

bearyjd commented Jan 3, 2025

ok -- figured out what is autocreating the container.

it is the arch-opentabletdriver.service created from that ujust rule.

I found it in the ~/.config/systemd/user/*.service

the container was/is being created with an image out of https://github.com/ublue-os/toolboxes

I think this is a ublue bug -- if any of those containers are installed, topgrade thinks toolbox installed them and this error is thrown even though the ujust rule calls virutalbox:

Error: container XXX is too old and no longer supported
Recreate it with Toolbx version 0.0.17 or newer.
toolbx failed:
0: Command failed: /usr/bin/toolbox run -c XXX env 'TOPGRADE_PREFIX='''Toolbx arch'''' /run/host/usr/bin/topgrade --only system --no-self-update --skip-notify
1: /usr/bin/toolbox failed: exit status:

@ledif
Copy link
Collaborator

ledif commented Jan 4, 2025

Did you rebase from Bazzite at some point? There is no ujust rule in Aurora that manages opentabletdriver. The only reference to it in the ublue org is in Bazzite: https://github.com/search?q=org%3Aublue-os%20%20arch-opentabletdriver.service%20&type=code.

If that is the case, I can transfer the issue to the Bazzite project for them to triage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants