I'm running Ubuntu 16.10. The Ubuntu Software program in the GUI (which came with the installation) alerted me that there was a system update to install, so I clicked "yes" to install it through the GUI. There's no progress bar or anything like it for me to tell what's going on with it, so I initially assumed that it'd worked OK and everything was fine. I closed Ubuntu Software.
Meanwhile, I'd like to install some other software, this time using apt-get in the terminal. Unfortunately, when I try, it says "Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?" When I ran into this, I opened Ubuntu Software again and looked in the Updates section. Now, it says that there are no updates to add. But the problem with the administration directory being un-lockable persists, and when I try to install software through the GUI, it doesn't work either—I get the spinny wheel of "waiting."
I'm guessing that this means that the system update is still in progress and that's why the administration directory can't be locked. If I'd done the system update in the terminal, I'd know this for a fact because the prompt $ wouldn't appear again until the update is finished (...I think...I'm awfully new at this!) How can I tell how much longer the system update has to go, or at least confirm that it's still running and not just hanging endlessly?
Mar 22 08:31 upgrade-stamp
. I started the upgrade today, the 23, at about 12:45, so it didn't complete, evidently—if I understand you right? – Flourish Mar 23 '17 at 17:0913973 ? 00:00:07 aptd 14589 pts/1 00:00:02 aptd
Which I suppose means apt is still running... Thank you so much for this help; I'm still a little confused but far less than I was!
– Flourish Mar 23 '17 at 17:12$ ps -e | grep apt
, so I'll go do something else to occupy myself. Thank you so much for calming an Ubuntu n00b's fears, user535733. – Flourish Mar 23 '17 at 17:17I don't want to be overly impatient, but an hour seems like a long time, and I need to install some things to move forward with my day!
– Flourish Mar 23 '17 at 17:59