#278 Cannot update dnf in Vagrant F25 libvirt box
Closed: Invalid 3 years ago Opened 3 years ago by bowlofeggs.

Whenever I try to dnf upgrade on my Vagrant 25 libvirt guest, dnf fails seemingly due to some weird state on the image:

$ sudo dnf upgrade dnf -y
Last metadata expiration check: 0:27:40 ago on Wed May 24 17:28:05 2017.
Dependencies resolved.
=============================================================================================================================================================================================================================================
 Package                                              Arch                                                    Version                                                         Repository                                                Size
=============================================================================================================================================================================================================================================
Upgrading:
 dnf                                                  noarch                                                  1.1.10-6.fc25                                                   updates                                                  276 k

Transaction Summary
=============================================================================================================================================================================================================================================
Upgrade  1 Package

Total download size: 276 k
Downloading Packages:
[SKIPPED] dnf-1.1.10-3.fc25_1.1.10-6.fc25.noarch.drpm: Already downloaded                                                                                                                                                                   
/usr/share/locale/bg/LC_MESSAGES/dnf.mo: No such file or directory
cannot reconstruct rpm from disk files
dnf-1.1.10-6.fc25.noarch: Delta RPM rebuild failed
dnf-1.1.10-6.fc25.noarch.rpm                                                                                                                                                                                 227 kB/s | 276 kB     00:01    
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                        155 kB/s | 276 kB     00:01     
Delta RPMs reduced 0.3 MB of updates to 0.4 MB (-36.1% saved)
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Upgrading   : dnf-1.1.10-6.fc25.noarch                                                                                                                                                                                                 1/2 
Error unpacking rpm package dnf-1.1.10-6.fc25.noarch
Error unpacking rpm package dnf-1.1.10-6.fc25.noarch
error: unpacking of archive failed on file /var/cache/dnf: cpio: chown
dnf-1.1.10-6.fc25.noarch was supposed to be installed but is not!
  Verifying   : dnf-1.1.10-6.fc25.noarch                                                                                                                                                                                                 1/2 
dnf-1.1.10-3.fc25.noarch was supposed to be removed but is not!
  Verifying   : dnf-1.1.10-3.fc25.noarch                                                                                                                                                                                                 2/2 

Failed:
  dnf.noarch 1.1.10-6.fc25                                                                                                                                                                                                                   

Complete!

Metadata Update from @dustymabe:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)
- Issue tagged with: cloud-base

3 years ago

Login to comment on this ticket.

Metadata