Apt-Get Not working
Posted: 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
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