Getting error upgrading fedora through system update.
Running updates and getting error on distrobox.
Error: Transaction test error:
installing package libva-nvidia-driver-0.0.12-2.fc40.x86_64 needs 16KB more space on the /usr/share/doc/libva-nvidia-driver filesystem
Error Summary
-------------
Disk Requirements:
At least 1MB more space needed on the /usr/share/doc/libva-nvidia-driver filesystem.
13 Replies
rpm-ostree status | fpaste
df -h | fpaste
Odd, let me ask around
Thank you so much!
I also have this issue, on both desktop and laptop. Would it be possible to somehow alloctate more space manually?
I was also having this issue, which seems to be caused by two directories in /usr/share to do with libva-nvidia-driver being mounted as readonly subvolumes from btrfs in the distrobox. I got the update to go through on my bazzite install by unmounting both /usr/share/doc/libva-nvidia-driver and /usr/share/licenses/libva-nvidia-driver inside the distrobox, letting them fall back to a read-write mount, then running the upgrade. So something like:
distrobox enter fedora
sudo umount /usr/share/doc/libva-nvidia-driver
sudo umount /usr/share/licenses/libva-nvidia-driver
sudo dnf upgrade
# (or just run the System Update again, it should work now)
I'll let @Kyle Gospo weigh in on this, but given it was just a COPYING license and a README file in those two directories, I wasn't personally concerned with losing those if they were on ephemeral storage for the distrobox as long as the lib itself was updated, which it seems to be now.
Hope that helps!Confirming this work around solves the specific update issue.
Thanks @hellfur
Finally updating has introduced a new warning for me related to mesa but doesn't seem to be an issue:
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
mesa-filesystem x86_64 24.0.9-1.fc40 updates 20 k
mesa-libglapi x86_64 24.0.9-1.fc40 updates 50 k
Skipping packages with broken dependencies:
mesa-dri-drivers x86_64 24.0.9-1.fc40 updates 25 M
Confirming I got this to work.
distrobox enter fedora
sudo umount /usr/share/doc/libva-nvidia-driver
sudo umount /usr/share/licenses/libva-nvidia-driver
sudo dnf upgrade # (or just run the System Update again, it should work now)
i did this part and worked well for other updates except
distrobox: Installing basic packages...
/usr/bin/dnf
Last metadata expiration check: 2:08:10 ago on Fri 22 Nov 2024 11:04:53 AM +04.
Dependencies resolved.
================================================================================
Package Arch Version Repo Size
================================================================================
Upgrading:
libva-nvidia-driver x86_64 0.0.13^20241108git259b7b7-2.fc40 updates 52 k
Transaction Summary
================================================================================
Upgrade 1 Package
Total download size: 52 k
Downloading Packages:
libva-nvidia-driver-0.0.13^20241108git259b7b7-2 31 kB/s | 52 kB 00:01
-------------------------------------------------------------------------------- Total 20 kB/s | 52 kB 00:02
Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Upgrading : libva-nvidia-driver-0.0.13^20241108git259b7b7-2.fc40 1/2 Error unpacking rpm package libva-nvidia-driver-0.0.13^20241108git259b7b7-2.fc40.x86_64 Failed: libva-nvidia-driver-0.0.12-2.fc40.x86_64
libva-nvidia-driver-0.0.13^20241108git259b7b7-2.fc40.x86_64
Error: Transaction failed Error: An error occurred occures did i do something wrong ?
-------------------------------------------------------------------------------- Total 20 kB/s | 52 kB 00:02
Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Upgrading : libva-nvidia-driver-0.0.13^20241108git259b7b7-2.fc40 1/2 Error unpacking rpm package libva-nvidia-driver-0.0.13^20241108git259b7b7-2.fc40.x86_64 Failed: libva-nvidia-driver-0.0.12-2.fc40.x86_64
libva-nvidia-driver-0.0.13^20241108git259b7b7-2.fc40.x86_64
Error: Transaction failed Error: An error occurred occures did i do something wrong ?
@hellfur I tried the same process and got the same error: " Upgrading : libva-nvidia-driver-0.0.13^20241108git259b7b7-2.fc40.x86_64 1/2
Error unpacking rpm package libva-nvidia-driver-0.0.13^20241108git259b7b7-2.fc40.x86_64
Failed:
libva-nvidia-driver-0.0.12-2.fc40.x86_64 libva-nvidia-driver-0.0.13^20241108git259b7b7-2.fc40.x86_64
Error: Transaction failed Error: An error occurred " Any other ideas? Thanks for assisting!
Error: Transaction failed Error: An error occurred " Any other ideas? Thanks for assisting!
There are a couple more mount conflicts with the fedora distrobox on the latest version of the libva-nvidia-driver. These updated instructions should work this time. (Hopefully this doesn't keep happening, but 🤷 ) @AngryArabFromFoxNews @TechniKel
@hellfur it worked for me but had an issue the first time where sudo rm -f /usr/share/doc/libva-nvidia-driver/README.md didnt delete file, it said read file cant delete. but then did a system update then did the proccess u said and now it got updated thank you
thank you very much
Thank you! It didn't work when I did the regular system update but when I used dnf upgrade right after unmounting and removing the files it worked for me. Have a great day!