On Thu 30 Jun 2016 at 13:27:56 +0100, Lisi Reisz wrote: > Too late. :-( apt-get install cups gets the same error message as above now. > > On 30 June 2016 at 13:25, Lisi Reisz <lisi.re...@gmail.com> wrote: > > Thanks, Brian. > > > > ctrl-C had no effect at all. So I shut the terminal down. Then coudl > > not restart a terminal so went into a virtual console and tried to do > > # apt-get upgrade with the result: > > E. Could not 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? > > > > Obviously the answer is yes - but what do I do now?? > > > > Lisi > > > > On 30 June 2016 at 13:11, Brian <a...@cityscape.co.uk> wrote: > >> On Thu 30 Jun 2016 at 12:58:24 +0100, Lisi Reisz wrote: > >> > >>> I am rephrasing my question: - how do I make the upgrader skip a step > >>> when it is hung, without halting the entire process? > >>> > >>> Sorry, I really dislike impatient questioners, but I am at a client's > >>> hose and I am not keen to use ctrl-C because I don't know what else > >>> still needs doing. I just want to skip to the next step. > >> > >> Your reluctance is understandable but after a ctrl-C you should be able > >> to recover with 'apt-get upgrade' without any ill effects.
'ps ax | grep dpkg'. Kill the process. You might need 'kill -9'.