Article 6KXA3 Cannot update to release 39 likely because of no space in /root

Cannot update to release 39 likely because of no space in /root

by
Hasek39
from LinuxQuestions.org on (#6KXA3)
I still haven't updated my Fedora installation to the current 39 and would like to do so before 40 is released. Somehow it didn't work via GUI Software so I tried a command line upgrade.
Code:sudo dnf upgrade --refreshfailed with the following output
Code:[MIRROR] vim-common-9.1.181-1.fc38.x86_64.rpm: Curl error (23): Failed writing received data to disk/application for http://mirror.yandex.ru/fedora/linux/updates/38/Everything/x86_64/Packages/v/vim-common-9.1.181-1.fc38.x86_64.rpm [Failure writing output to destination]
[FAILED] vim-common-9.1.181-1.fc38.x86_64.rpm: Curl error (23): Failed writing received data to disk/application for http://mirror.yandex.ru/fedora/linux/updates/38/Everything/x86_64/Packages/v/vim-common-9.1.181-1.fc38.x86_64.rpm [Failure writing output to destination]
(1072-1073/1121): th 84% [================- ] 23 MB/s | 2.0 GB 00:16 ETA
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Error downloading packages:
vim-common-2:9.1.181-1.fc38.x86_64: Download failed: Curl error (23): Failed writing received data to disk/application for http://mirror.yandex.ru/fedora/linux/updates/38/Everything/x86_64/Packages/v/vim-common-9.1.181-1.fc38.x86_64.rpm [Failure writing output to destination]and it doesn't allow me to procedure with the upgrade further
Code:[hasek@fedora-laptop ~]$ sudo dnf system-upgrade reboot
[sudo] password for hasek:
Error: system is not ready for upgradeFurthermore I suspect an additional problem may be that I have a very low space available in /root
Code:[hasek@fedora-laptop ~]$ sudo du -hs /*
4.0K /afs
0 /bin
324M /boot
0 /dev
37M /etc
138G /home
0 /lib
0 /lib64
16K /lost+found
8.0K /media
4.0K /mnt
8.1G /opt
du: cannot access '/proc/9679/task/9679/fd/3': No such file or directory
du: cannot access '/proc/9679/task/9679/fdinfo/3': No such file or directory
du: cannot access '/proc/9679/fd/3': No such file or directory
du: cannot access '/proc/9679/fdinfo/3': No such file or directory
0 /proc
62M /root
du: cannot access '/run/user/1000/doc': Permission denied
du: cannot access '/run/user/1000/gvfs': Permission denied
2.2M /run
0 /sbin
4.0K /srv
0 /sys
8.0K /tmp
17G /usr
44G /varCan anybody kindly walk me through cleaning possible temporary logs or whatever it may be taking disk space in /root/ and how to proceed with completing the system upgrade?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments