CentOS 8.x gnome-software

From Notes_Wiki
Revision as of 03:43, 19 April 2022 by Saurabh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:

  1. Ensure that dnf and gnome-software are not running:
    ps aux | grep dnf
    ps aux | grep gnome-software
  2. Clean all cache of dnf
    dnf clean all
    rm -rf /var/cache/dnf
    mdkir /var/cache/dnf
  3. Clear all gnome-software cache from the user (non-root) from which graphical software is being launched
    cd ~/.cache
    rm -rf gnome-software
  4. Edit all CentOS8-Stream-*.repo files in '/etc/yum.repos.d' and uncomment 'baseurl'
  5. After that open gnome-software and use the refresh option at top left (Looks similar to reload icon)
  6. 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