Kernel-devel and breeze-icon-theme upgrade failed, f39

I was going to upgrade to fedora 40 and so I did sudo dnf upgrade --refresh but in the end kernel-devel and breeze-icon-theme upgrade failed

    Running transaction
      Preparing        :                                                                                      1/1 
      Upgrading        : breeze-icon-theme-5.115.0-1.fc39.noarch                                              1/3 
    Error unpacking rpm package breeze-icon-theme-5.115.0-1.fc39.noarch
      Installing       : kernel-devel-6.8.7-200.fc39.x86_64                                                   2/3 
    error: unpacking of archive failed on file /usr/share/doc/breeze-icon-theme/README.md;6628ad4a: cpio: rename failed - Directory not empty
    error: breeze-icon-theme-5.115.0-1.fc39.noarch: install failed
    
    Error unpacking rpm package kernel-devel-6.8.7-200.fc39.x86_64
      Verifying        : kernel-devel-6.8.7-200.fc39.x86_64                                                   1/3 
      Verifying        : breeze-icon-theme-5.115.0-1.fc39.noarch                                              2/3 
      Verifying        : breeze-icon-theme-5.113.0-1.fc39.noarch                                              3/3 
    
    Failed:
      breeze-icon-theme-5.113.0-1.fc39.noarch               breeze-icon-theme-5.115.0-1.fc39.noarch              
      kernel-devel-6.8.7-200.fc39.x86_64   

Also did install @development-tools thought it would resolve the issue but it didn’t. helppp