You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
To run topgrade and have it work even if rpm-ostree was installed on a conventional install (ie. not an immutable install).
So, once it detects that "libostree" is installed, it attempts to run rpm-ostree upgrade, and if that fails, it checks for conventional package managers.
What actually happened?
Once it detects that "libostree" (actually checks for rpm-ostree executable) is installed, it attempts to run rpm-ostree upgrade and fails out with no option to work around this.
Additional Details
Which operating system or Linux distribution are you using?
―― 14:41:10 - System update ――――――――――――――――――――――――――――――――――――――――――――――――――――
2022-08-29T18:41:10.850Z DEBUG topgrade::utils > Detected "/usr/bin/rpm-ostree" as "rpm-ostree"
2022-08-29T18:41:10.850Z DEBUG topgrade::executor > Running "/usr/bin/rpm-ostree" "upgrade"
error: This system was not booted via libostree.
Currently, most rpm-ostree commands only work on ostree-based host systems.
rpm-ostree is a dependencies for other things not just for atomic installs (eg. osbuild).
Maybe you could check for the error code and then try other package managers. Maybe split out libostree solutions from System update and into it's own (therefore you can at least blacklist it). Or there might be something in /etc/os-release which can specify whether to do the System update via libostree or conventional package managers.
/etc/os-release is actually perfect. When installing Fedora Silverblue or Kinoite it has a OSTREE_VERSION entry where a conventional installation doesn't. So it's existence should be enough to determine whether it should check for rpm-ostree at all.
What did you expect to happen?
To run topgrade and have it work even if rpm-ostree was installed on a conventional install (ie. not an immutable install).
So, once it detects that "libostree" is installed, it attempts to run
rpm-ostree upgrade
, and if that fails, it checks for conventional package managers.What actually happened?
Once it detects that "libostree" (actually checks for
rpm-ostree
executable) is installed, it attempts to runrpm-ostree upgrade
and fails out with no option to work around this.Additional Details
Fedora 36
cargo install topgrade
Topgrade 9.0.1
The text was updated successfully, but these errors were encountered: