Apt-Get Not working

Forum for general user discussions related to Netspectrum Ubuntu Desktop AMI. https://aws.amazon.com/marketplace/sear ... tu+desktop
srmcatee
Posts: 5
Joined: Sat May 28, 2016 6:15 pm

Apt-Get Not working

Postby srmcatee » Mon Jun 17, 2019 12:05 pm

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

jsun
Site Admin
Posts: 83
Joined: Tue May 26, 2015 9:52 pm

Re: Apt-Get Not working

Postby jsun » Mon Jun 17, 2019 8:45 pm

It is checking for new updated software. It usually finishes in 5 minutes. Just wait a little.

srmcatee
Posts: 5
Joined: Sat May 28, 2016 6:15 pm

Re: Apt-Get Not working

Postby srmcatee » Tue Jun 18, 2019 10:49 am

Thank you. I figured that out (after five minutes or so) :)


Return to “Ubuntu Desktop AMI users”

Who is online

Users browsing this forum: No registered users and 1 guest