Topgrade: Updating error with mpv-libs file
I'm trying to update to the latest version but I get this error:
How can I continue to install?
ChatGPT suggested the following, but I don't want to blindly run commands...
This will retry the update and confirm the error without topgrade’s noise.
---
sudo rpm-ostree rollback
Then, reboot:
systemctl reboot
After reboot, run the upgrade again:
sudo rpm-ostree upgrade
---
sudo rpm-ostree cleanup -m
This helps avoid "file exists" errors caused by deployment collisions.
---
Check your layered packages:
rpm-ostree status
If mpv or mpv-libs shows as layered, remove it:
sudo rpm-ostree uninstall mpv
Then run:
sudo rpm-ostree upgrade
You can later re-layer mpv with:
sudo rpm-ostree install mpv
---
dnf download mpv-libs # Run this inside a toolbox or container
sudo rpm-ostree override replace ./mpv-libs-<version>.rpm
Then try rpm-ostree upgrade again.
Checkout mpv-libs-0.40.0.1.fc42.x86_64: Hardlinking 81/....file to limp.so.2.5.0: file existsHow can I continue to install?
ChatGPT suggested the following, but I don't want to blindly run commands...
Try upgrading manually
sudo rpm-ostree upgradeThis will retry the update and confirm the error without topgrade’s noise.
---
Rollback to a clean deployment
sudo rpm-ostree rollback
This boots into the previously working deployment.
Then, reboot:
systemctl reboot
After reboot, run the upgrade again:
sudo rpm-ostree upgrade
---
Clean up deployments
sudo rpm-ostree cleanup -m
This helps avoid "file exists" errors caused by deployment collisions.
---
Remove layered packages (like mpv-libs, if layered)
Check your layered packages:
rpm-ostree status
If mpv or mpv-libs shows as layered, remove it:
sudo rpm-ostree uninstall mpv
Then run:
sudo rpm-ostree upgrade
You can later re-layer mpv with:
sudo rpm-ostree install mpv
---
Use overrides only if needed
dnf download mpv-libs # Run this inside a toolbox or container
sudo rpm-ostree override replace ./mpv-libs-<version>.rpm
Then try rpm-ostree upgrade again.