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

ujust update broken #2183

Closed
rcarmo opened this issue Feb 4, 2025 · 9 comments
Closed

ujust update broken #2183

rcarmo opened this issue Feb 4, 2025 · 9 comments
Labels
bug Something isn't working

Comments

@rcarmo
Copy link

rcarmo commented Feb 4, 2025

Describe the bug

After the last update (and, coincidentally, #2179 ?), I am suddenly getting:

❯ ujust update
ERROR Failed to deserialize /usr/share/ublue-os/topgrade.toml: TOML parse error at line 10, column 1
   |
10 | bootc = false
   | ^^^^^
unknown field `bootc`, expected one of `yay_arguments`, `aura_aur_arguments`, `aura_pacman_arguments`, `arch_package_manager`, `show_arch_news`, `garuda_update_arguments`, `trizen_arguments`, `pikaur_arguments`, `pamac_arguments`, `dnf_arguments`, `nix_arguments`, `nix_env_arguments`, `apt_arguments`, `enable_tlmgr`, `redhat_distro_sync`, `suse_dup`, `rpm_ostree`, `emerge_sync_flags`, `emerge_update_flags`, `home_manager_arguments`


── 21:53:38 - System update ────────────────────────────────────────────────────
Updating and loading repositories:
Repositories loaded.
Package                                     Arch   Version                      Repositor      Size
Upgrading:
 fwupd                                      x86_64 1.9.28-1.fc41                updates     7.5 MiB
   replacing fwupd                          x86_64 1.9.26-100.ublue             copr:copr   7.4 MiB
 fwupd-plugin-flashrom                      x86_64 1.9.28-1.fc41                updates    35.8 KiB
   replacing fwupd-plugin-flashrom          x86_64 1.9.26-100.ublue             copr:copr  35.8 KiB
 fwupd-plugin-modem-manager                 x86_64 1.9.28-1.fc41                updates   137.3 KiB
   replacing fwupd-plugin-modem-manager     x86_64 1.9.26-100.ublue             copr:copr 137.3 KiB
 fwupd-plugin-uefi-capsule-data             x86_64 1.9.28-1.fc41                updates     2.0 MiB
   replacing fwupd-plugin-uefi-capsule-data x86_64 1.9.26-100.ublue             copr:copr   2.0 MiB
 gnome-shell                                x86_64 47.3-1.fc41                  updates    13.7 MiB
   replacing gnome-shell                    x86_64 47.2-1.fc41.switcheroo.0.0.g copr:copr  13.7 MiB
 gnome-software                             x86_64 47.4-1.fc41                  updates    12.1 MiB
   replacing gnome-software                 x86_64 47.1-101.ublue.fc41          <unknown>  12.0 MiB
 libopenjph                                 x86_64 0.18.2-1.fc41                updates   442.5 KiB
   replacing libopenjph                     x86_64 0.18.0-1.fc41                <unknown> 444.9 KiB
Installing weak dependencies:
 gnome-software-rpm-ostree                  x86_64 47.4-1.fc41                  updates   262.4 KiB

Transaction Summary:
 Installing:         1 package
 Upgrading:          7 packages
 Replacing:          7 packages

Total size of inbound packages is 9 MiB. Need to download 0 B.
After this operation, 469 KiB extra will be used (install 36 MiB, remove 36 MiB).
Is this ok [y/N]: y
[1/1] gnome-software-rpm-ostree-0:47.4-1.fc41.x86_64       100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
---------------------------------------------------------------------------------------------------
[1/2] fwupd-0:1.9.28-1.fc41.x86_64                         100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
---------------------------------------------------------------------------------------------------
[1/3] fwupd-plugin-flashrom-0:1.9.28-1.fc41.x86_64         100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
---------------------------------------------------------------------------------------------------
[1/4] fwupd-plugin-modem-manager-0:1.9.28-1.fc41.x86_64    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
---------------------------------------------------------------------------------------------------
[1/5] fwupd-plugin-uefi-capsule-data-0:1.9.28-1.fc41.x86_6 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
---------------------------------------------------------------------------------------------------
[1/6] gnome-shell-0:47.3-1.fc41.x86_64                     100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
---------------------------------------------------------------------------------------------------
[1/7] gnome-software-0:47.4-1.fc41.x86_64                  100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
---------------------------------------------------------------------------------------------------
[1/8] libopenjph-0:0.18.2-1.fc41.x86_64                    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
---------------------------------------------------------------------------------------------------
[8/8] Total                                                100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
SQL statement evaluation failed: "
    INSERT INTO
        "trans" (
            "dt_begin",
            "dt_end",
            "rpmdb_version_begin",
            "rpmdb_version_end",
            "releasever",
            "user_id",
            "description",
            "comment",
            "state_id",
            "id"
        )
        VALUES
            (1738706025, 0, '42c358427a496ee7dc1c221ceef10a6387ed6fbb8e315d90ecef8ce0dddc5818', '', '41', 1000, '/usr/bin/dnf upgrade', '', (SELECT "id" FROM "trans_state" WHERE "name" = 'Started'), NULL)
": (8) - attempt to write a readonly database
System update failed:
   0: Command failed: `/usr/bin/sudo /usr/bin/dnf upgrade`
   1: `/usr/bin/sudo` failed: exit status: 1

Location:
   src/steps/os/linux.rs:250
Retry? (y)es/(N)o/(s)hell/(q)uit

What did you expect to happen?

I expected the upgrade to work.

Output of bootc status

sudo bootc status
● Booted ostree
           Commit: 09614835da20a1d97c05d1c4714174c5b94525a7f7abf3cff891fcb7a6251ff2

  Rollback ostree
           Commit: 83339a52b3b0a4a105ce63bc8718a8e406cccd2581faeaa31b9cc773beb5e11e

Output of groups

> groups
me wheel

Extra information or context

❯ sudo rpm-ostree upgrade
note: automatic updates (stage) are enabled
Pulling manifest: ostree-image-signed:docker://ghcr.io/ublue-os/bluefin:latest
Checking out tree 918280a... done
Enabled rpm-md repositories: updates fedora google-chrome rpmfusion-nonfree-nvidia-driver rpmfusion-nonfree-steam updates-archive
Importing rpm-md... done
rpm-md repo 'updates' (cached); generated: 2025-02-04T01:10:20Z solvables: 19258
rpm-md repo 'fedora' (cached); generated: 2024-10-24T13:55:59Z solvables: 76624
rpm-md repo 'google-chrome' (cached); generated: 2025-02-04T17:43:23Z solvables: 4
rpm-md repo 'rpmfusion-nonfree-nvidia-driver' (cached); generated: 2024-12-17T11:02:42Z solvables: 17
rpm-md repo 'rpmfusion-nonfree-steam' (cached); generated: 2024-12-02T07:45:38Z solvables: 2
rpm-md repo 'updates-archive' (cached); generated: 2025-02-04T01:33:29Z solvables: 27755
Resolving dependencies... done
No upgrade available.
@dosubot dosubot bot added the bug Something isn't working label Feb 4, 2025
@rcarmo
Copy link
Author

rcarmo commented Feb 4, 2025

In the meantime I did an rpm-ostree rollback, tried ujust update again (it worked) and after that update things are broken again.

Tagging @castrojo for visibility.

@tulilirockz
Copy link
Collaborator

Should be fixed with #2182

@francoism90
Copy link

francoism90 commented Feb 5, 2025

@tulilirockz Do we have to wait for a new image?

Running sudo dnf upgrade results in the same error.

@m2Giles
Copy link
Member

m2Giles commented Feb 5, 2025

Run rpm-ostree upgrade to get the newest image of ujust update is not working for you.

@francoism90
Copy link

@m2Giles This is the latest image.

@m2Giles
Copy link
Member

m2Giles commented Feb 5, 2025

Why are you running sudo dnf upgrade?

@francoism90
Copy link

@m2Giles Topgarde does this

@m2Giles
Copy link
Member

m2Giles commented Feb 5, 2025

Have you attempted to run rpm-ostree upgrade?

@rcarmo
Copy link
Author

rcarmo commented Feb 5, 2025

Should be fixed with #2182

Thank you @tulilirockz , I confirm it works now.

@rcarmo rcarmo closed this as completed Feb 5, 2025
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

4 participants