Unable to upgrade Bazzite distrobox

I’m getting a strange error when trying to do a plain ujust update. Out of the blue, it cannot upgrade the NVIDIA packages in distrobox.

I’ve rebased, reset rpm-ostree, tried fiddling with distrobox to clear the caches, nothing.

Any idea? Here’s the log section for the failing distrobox upgrade:

ujust update

── 23:30:42 - System update ────────────────────────────────────────────────────
==== AUTHENTICATING FOR org.projectatomic.rpmostree1.upgrade ====
Authentication is required to update software
Authenticating as: me
Password: 
==== AUTHENTICATION COMPLETE ====
Pulling manifest: ostree-unverified-registry:ghcr.io/ublue-os/bazzite-gnome-nvidia:stable
No upgrade available.

── 23:30:46 - Distrobox ────────────────────────────────────────────────────────
 Upgrading fedora...
distrobox: Installing basic packages...
/usr/bin/dnf
Last metadata expiration check: 0:44:00 ago on Sat 01 Jun 2024 10:46:47 PM WEST.
Dependencies resolved.
==========================================================================================================================================================================
 Package                                       Architecture                   Version                                 Repository                                     Size
==========================================================================================================================================================================
Upgrading:
 audit-libs                                    x86_64                         3.1.3-1.fc39                            updates                                       124 k
 cups-libs                                     x86_64                         1:2.4.8-3.fc39                          updates                                       267 k
 git                                           x86_64                         2.45.1-1.fc39                           updates                                        53 k
 git-core                                      x86_64                         2.45.1-1.fc39                           updates                                       4.7 M
 git-core-doc                                  noarch                         2.45.1-1.fc39                           updates                                       2.9 M
 glibmm2.4                                     x86_64                         2.66.7-1.fc39                           updates                                       680 k
 hwdata                                        noarch                         0.382-1.fc39                            updates                                       1.6 M
 libaom                                        x86_64                         3.9.0-1.fc39                            updates                                       1.8 M
 libgcc                                        x86_64                         13.3.1-1.fc39                           updates                                       118 k
 libgomp                                       x86_64                         13.3.1-1.fc39                           updates                                       328 k
 libsolv                                       x86_64                         0.7.29-1.fc39                           updates                                       426 k
 libstdc++                                     x86_64                         13.3.1-1.fc39                           updates                                       869 k
 libusb1                                       x86_64                         1.0.27-2.fc39                           updates                                        76 k
 libva-nvidia-driver                           x86_64                         0.0.12-1.fc39                           updates                                        51 k
…
 zsh                                           x86_64                         5.9-10.fc39                             updates                                       3.3 M

Transaction Summary
==========================================================================================================================================================================
Upgrade  34 Packages

Total size: 31 M
Downloading Packages:
[SKIPPED] openh264-2.4.1-1.fc39.x86_64.rpm: Already downloaded                                                                                                           
[SKIPPED] audit-libs-3.1.3-1.fc39.x86_64.rpm: Already downloaded                                                                                                         
[SKIPPED] cups-libs-2.4.8-3.fc39.x86_64.rpm: Already downloaded                                                                                                          
[SKIPPED] git-2.45.1-1.fc39.x86_64.rpm: Already downloaded                                                                                                               
[SKIPPED] git-core-2.45.1-1.fc39.x86_64.rpm: Already downloaded                                                                                                          
[SKIPPED] git-core-doc-2.45.1-1.fc39.noarch.rpm: Already downloaded                                                                                                      
[SKIPPED] glibmm2.4-2.66.7-1.fc39.x86_64.rpm: Already downloaded                                                                                                         
[SKIPPED] hwdata-0.382-1.fc39.noarch.rpm: Already downloaded                                                                                                             
[SKIPPED] libaom-3.9.0-1.fc39.x86_64.rpm: Already downloaded                                                                                                             
[SKIPPED] libgcc-13.3.1-1.fc39.x86_64.rpm: Already downloaded                                                                                                            
[SKIPPED] libgomp-13.3.1-1.fc39.x86_64.rpm: Already downloaded                                                                                                           
[SKIPPED] libsolv-0.7.29-1.fc39.x86_64.rpm: Already downloaded                                                                                                           
[SKIPPED] libstdc++-13.3.1-1.fc39.x86_64.rpm: Already downloaded                                                                                                         
[SKIPPED] libusb1-1.0.27-2.fc39.x86_64.rpm: Already downloaded                                                                                                           
[SKIPPED] libva-nvidia-driver-0.0.12-1.fc39.x86_64.rpm: Already downloaded                                                                                               
[SKIPPED] nano-7.2-5.fc39.x86_64.rpm: Already downloaded                                                                                                                 
[SKIPPED] nano-default-editor-7.2-5.fc39.noarch.rpm: Already downloaded                                                                                                  
[SKIPPED] osinfo-db-20240510-1.fc39.noarch.rpm: Already downloaded                                                                                                       
[SKIPPED] perl-Git-2.45.1-1.fc39.noarch.rpm: Already downloaded                                                                                                          
[SKIPPED] pipewire-1.0.7-1.fc39.x86_64.rpm: Already downloaded                                                                                                           
[SKIPPED] pipewire-alsa-1.0.7-1.fc39.x86_64.rpm: Already downloaded                                                                                                      
[SKIPPED] pipewire-libs-1.0.7-1.fc39.x86_64.rpm: Already downloaded                                                                                                      
[SKIPPED] pipewire-pulseaudio-1.0.7-1.fc39.x86_64.rpm: Already downloaded                                                                                                
[SKIPPED] python3-unbound-1.20.0-1.fc39.x86_64.rpm: Already downloaded                                                                                                   
[SKIPPED] systemd-254.13-1.fc39.x86_64.rpm: Already downloaded                                                                                                           
[SKIPPED] systemd-boot-unsigned-254.13-1.fc39.x86_64.rpm: Already downloaded                                                                                             
[SKIPPED] systemd-libs-254.13-1.fc39.x86_64.rpm: Already downloaded                                                                                                      
[SKIPPED] systemd-networkd-254.13-1.fc39.x86_64.rpm: Already downloaded                                                                                                  
[SKIPPED] systemd-pam-254.13-1.fc39.x86_64.rpm: Already downloaded                                                                                                       
[SKIPPED] systemd-resolved-254.13-1.fc39.x86_64.rpm: Already downloaded                                                                                                  
[SKIPPED] systemd-udev-254.13-1.fc39.x86_64.rpm: Already downloaded                                                                                                      
[SKIPPED] unbound-anchor-1.20.0-1.fc39.x86_64.rpm: Already downloaded                                                                                                    
[SKIPPED] unbound-libs-1.20.0-1.fc39.x86_64.rpm: Already downloaded                                                                                                      
[SKIPPED] zsh-5.9-10.fc39.x86_64.rpm: Already downloaded                                                                                                                 
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
  installing package libva-nvidia-driver-0.0.12-1.fc39.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.

Error: An error occurred

I have the same exact problem. Good to know I am not alone with this.

Error Summary
-------------
Disk Requirements:
   At least 1MB more space needed on the /usr/share/doc/libva-nvidia-driver filesystem.

I ended up removing the distrobox and manually creating another, also called “fedora”. But I also had to manually specify for it to use the :40 image, since :latest appears to still point to :39.

(On my mobile, if I can still find the command history later I’ll add another reply with what I did)

I think someone needs to fix something in both the Bazzite upgrade process and distrobox release tagging.

In the meantime, ujust update has stopped complaining.

I don’t use Bluefin nor Bazzite, but

if you used ujust assemble or ujust distrobox-assemble or just wrote the command yourself and specified the same image with the same ‘latest’ tag, without the --pull argument …

… it won’t pull a new image, it will use the one you have locally, that might be the reason it gave you 39, even though it says latest. (Locally, you have the version that was latest when you pulled it)

You can see that using podman images

The images can be deleted using podman rmi <IMAGE ID>

If there is no image, assemble will pull the actual latest image before creating the container.

I had the same error, I solved it by cloning the box “fedora” into a box “temp”, deleting “fedora”, and then cloning “temp” into a new box “fedora”. I was able to do this using BoxBuddy, I was able to check that updates ran on the first copy.

edit: That didn’t actually work. Instead, I ran podman image pull ghcr.io/ublue-os/fedora-distrobox and ran ujust assemble for Fedora, that worked. I could have just deleted the image, as mentioned, but I didn’t realize it would pull for me.