can not update apps from software center

Asked by pragyant prada behera

when i go to software/updates in my ubuntu 20.04, it is showing an error message like below

"Unable to get list of updates: Failed to save firmware signature: Failed to create file '/home/username/.cache/gnome-software/fwupd/remotes.d/lvfs/metadata.xml.gz.jcat.Q58EA1': Permission denied "

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
pragyant prada behera
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Maybe there is a wrong ownership on one or more files below your home directory.

What output do you get for the command

find ~ ! -user $USER -ls

Revision history for this message
pragyant prada behera (pragyant) said :
#2
Revision history for this message
pragyant prada behera (pragyant) said :
#3

I used above command "find ~ ! -user $USER -ls" and
out of many output , I have just one output showing error -

42598817 4 drwx------ 2 root root 4096 Sep 27 12:10 /home/ritima/.cache/keyring-T38PA1
find: ‘/home/ritima/.cache/keyring-T38PA1’: Permission denied

Now can you help me solve this issue ?

Revision history for this message
Manfred Hampl (m-hampl) said (last edit ):
#4

Try

sudo chown -R ritima:ritima /home/ritima/.cache/keyring-T38PA1/