terminal not closing

Asked by Rick Miller

I've been trying to install Ubuntu Restricted Extras. First I ran sudo apt-get update, then(2)sudo apt-get install ubuntu-restricted-extras to which I received: dpkg was interrupted (3) run sudo dpkg --configure -a. Ran that command and after almost 5mins. the previous command returned : Warning: failed to detect conical device overlay; Warning : could not determine root device from /etc/fstab. Well, OK, I then went on to run command 2 again and it keeps coming back with: 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?

   I then rebooted and tried again...got same results. At this point I'm befuddled. What may be causing the terminal to determine another terminal is open? Ubuntu 17.10 xfce

THANX
Rick

Addendum: @ 5:19 p.m. Just tried to install SoundJuicer and got same message E: Something has the terminal locked "open"

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Rick Miller
Solved:
Last query:
Last reply:
Revision history for this message
Rick Miller (69rixter) said :
#1

ADDENDUM: Found the 'answer" sudo fuser -vki /var/lib/dpkg/lock; sudo dpkg --configure -a then: sudo apt update