Score:3

Error message related to package list being shown frequently on Ubuntu 20.04

li flag

To the best of my knowledge these errors are because of either 2 gnome-shell extensions or virtualbox. I have removed both now but still getting the problems maybe they have corrupted system configuration. Is there any way to fix it?

Now I don't know what's going but I haven't received a single snap update for quite few days.

These are two of errors

enter image description here

Score:2
zw flag

You have to remove problematic local software lists and install updates by using commands below:

sudo rm -v /var/lib/dpkg/lock* /var/cache/apt/archives/lock
sudo rm -vrf /var/lib/apt/lists/*
sudo apt-get update

sudo apt-get dist-upgrade
sudo apt-get install -f -y
sudo dpkg --configure -a

To update Snaps use

sudo snap refresh
Anurag Pathak avatar
li flag
If I use "sudo rm -v /var/lib/dpkg/lock* /var/cache/apt/archives/lock" won't I lose packages without knowing what I am removing?
N0rbert avatar
zw flag
Yes, they are safe commands.
Anurag Pathak avatar
li flag
I did whatever you've asked but again after a few days the error message is appearing.
N0rbert avatar
zw flag
The please run `sudo apt-get update` and add its output to question.
Anurag Pathak avatar
li flag
manual update checking works it's just the auto updates which sometimes doesn't work and shows error.
Anurag Pathak avatar
li flag
Actually what the problem that I think occurring is that whenever a new update arrives the software updater screen is appearing automatically and hence such problems are shown.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.