A closed question is the mark of a site that is letting those without knowledge run amuck. Today I ran into another one. Others had already commented that this question should not have been closed. Those who do not understand technology would never admit their error. The powers that be have also decided that questions fitting a limited number of formulas are what increase advertising revenue so real questions and real answers be damned. For those who don’t remember my last closed question post you can find it here.
I am on Ubuntu 20.04 LTS. When I go into the Ubuntu Store, I find that there are two updates ready for snapd and core. When I try to apply the updates, I get this error:
From the questionUnable to update snapd: snap has no updates available
That was the gist of the question that someone who knows nothing closed. Many attempts had been made at solving it. They were well meaning, but rather spastic. Nobody was keeping track of what order they did things in. Eventually “the problem went away on its own.”
No it didn’t. You just didn’t keep track of what you did in what order . . . I did. Since I’m certain nobody at that site will admit they made an egregious error closing the question I’m certain they won’t approve my modifications which included a detailed explanation of the problem and the solution. You, dear reader, will have the benefit of that knowledge while the moderators hide in shame.
The Problem is AGILE
This problem is rampant in Ubuntu 20 through 22.04. It will be a problem in Ubuntu until Canonical abandons Snap for FlatPak like the rest of the Linux world.The question should have never been closed.
The problem is that Canonical uses AGILE which is a completely false software development methodology. Without Waterfall SDLC and a Systems Architect riding roughshod over development you create these problems.
No Architectural Design.
ubuntu-software (which is the application behind the little orange shopping bag)
is a snap application.
You cannot update the snap-store when a snap application has it open. We have quite a few partial solutions listed with the original question. The problem is the stuff is in the wrong order.
If you
sudo apt-get update
sudo apt-get upgrade
sudo snap refresh
Then open the shopping bag, you will get this error.
The Answer
Since this is a closed question that should have never been closed and it really needs an answer, here it is.
sudo apt-get update
sudo apt-get upgrade
sudo snap refresh
Reboot now. After booting open a terminal
killall snap-store
snap refresh
You will be prompted for your sudo password. You will then see a progress bar overwriting your text until you see the following:
This lack of architectural design is impacting tens of thousands of people and the question should have never been closed. This isn’t a problem caused by a partial upgrade or any of the usual suspects. This is a failed design. If you cannot get to the command line you cannot get around this problem.
Now when you open the orange shopping bag you should see
The Closed Question Should Not Be Closed
At the time of this writing
the question has 24K views. I’m not exaggerating when I say this problem impacts tens of thousands of people. Ubuntu is used as a development environment for many embedded systems projects so this problem will continue to impact users. AGILE cannot produce a valid system architecture. You cannot write code looking no further ahead than six inches past your shoes and turn out a quality product.