I have recently upgraded my OS to Ubuntu 18.04 (fresh install via boot device). However, when trying the command:
sudo apt-get upgrade
It works fine until ~75% when it stops and says:
snapd.snap-repair.service is a disabled or a static unit, not starting it.
I'm not quite sure what this means and if I Crtl-Z to get out of it, any time I try to install anything I get:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
and have to restart my computer to install anything.
apt-get
program but it still holds a lock in/var/lib/dpkg/lock
which prevents you from starting it a 2nd time. Hit CTRL-C instead of Z to actually stop and end theapt-get
process. – PerlDuck May 17 '18 at 14:35snapd.snap-repair.service is a disabled or a static unit, not starting it.
doesn't look like an error, but it seems to be just an info message. I'd recommend waiting for the process to end, and if it doesn't, please add the full log output of the apt command. – Dan May 17 '18 at 14:38I get: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. So then i try that command to get the error I was previously referring to in my original post. If I ctrl-C to try to quit at that point, I get a bunch of stuff that won't fit in this comment and this error at the end: Errors were encountered while processing: snapd
– Permittivity May 17 '18 at 17:50