Hi
Originally Posted by
majordread
W: GPG error:
http://packages.medibuntu.org natty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783
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?
You have two errors here.
1. You are missing a GPG key
2. The dpkg lock file is locked.
You should fix (2) before you fix (1).
Open a terminal and type
Code:
sudo lsof /var/lib/dpkg/lock
Enter your password. It will not be echoed to the screen.
This will tell you what has got a lock on dpkg.
Post the results back here. I am interested to see what has a lock on dpkg.
You can then either close that program, restart your PC or send a -TERM to the program with the lock by using kill and the pid.
After that you need to import the key.
EDIT: Added command.
Code:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2EBC26B60C5A2783
then type
Code:
sudo apt-get update
Kind regards
Bookmarks