Page 1 of 1

Apt-Get Not working

Posted: Mon Jun 17, 2019 12:05 pm
by srmcatee
Hello,

I just installed Ubuntu 18 desktop AMi. I am on the instance and when I try to install something via apt-get I get this error:

E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

I've tried to kill the process. But it will not die:

ubuntu@ip-10-0-1-22:~$ ps aux | grep -i apt
root 3571 0.0 0.0 4628 768 ? Ss 11:54 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily install
root 3587 0.0 0.0 4628 1676 ? S 11:54 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held install
ubuntu 32300 0.0 0.0 13136 1040 pts/0 S+ 12:04 0:00 grep --color=auto -i apt

Re: Apt-Get Not working

Posted: Mon Jun 17, 2019 8:45 pm
by jsun
It is checking for new updated software. It usually finishes in 5 minutes. Just wait a little.

Re: Apt-Get Not working

Posted: Tue Jun 18, 2019 10:49 am
by srmcatee
Thank you. I figured that out (after five minutes or so) :)