CentOS 8.x gnome-software
From Notes_Wiki
Home > CentOS > CentOS 8.x > System Administration > Package management > CentOS 8.x gnome-software
Solving update not working properly issue
If you want to use graphical software update that is part of CentOS 8.x, you can open search by pressing window button and open 'Software'. At backend it runs 'gnome-software' command. If gnome-software update shows error such as:
Unable to download update All mirrors were tried Path to rpm file
while there is no issue in using dnf (indicating no problem with repository configuration / network connection etc.), then problem can be solved by using below steps:
- Ensure that dnf and gnome-software are not running:
- ps aux | grep dnf
- ps aux | grep gnome-software
- Clean all cache of dnf
- dnf clean all
- rm -rf /var/cache/dnf
- mdkir /var/cache/dnf
- Clear all gnome-software cache from the user (non-root) from which graphical software is being launched
- cd ~/.cache
- rm -rf gnome-software
- Edit all CentOS8-Stream-*.repo files in '/etc/yum.repos.d' and uncomment 'baseurl'
- After that open gnome-software and use the refresh option at top left (Looks similar to reload icon)
- This should lead to functioning gnome-software which reports correct update options and status.
Refer:
Home > CentOS > CentOS 8.x > System Administration > Package management > CentOS 8.x gnome-software