apt-get updateはできるのにapt-get updateができません。
$ sudo apt-get update ヒット:1 http://jp.archive.ubuntu.com/ubuntu bionic InRelease ヒット:2 http://jp.archive.ubuntu.com/ubuntu bionic-updates InRelease ヒット:3 http://jp.archive.ubuntu.com/ubuntu bionic-backports InRelease ヒット:4 http://security.ubuntu.com/ubuntu bionic-security InRelease パッケージリストを読み込んでいます... 完了 $ sudo apt-get upgrade E: ロック /var/lib/dpkg/lock-frontend が取得できませんでした - open (11: リソースが一時的に利用できません) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
対策:
$ sudo rm /var/lib/apt/lists/lock $ sudo rm /var/lib/dpkg/lock