Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm in the middle of upgrading to 13.10 but it has been stuck on installing cups-server-common all day long!!! What would be the best thing to do without compromising my system???

share|improve this question
    
Well I seemed to figure out what to do. In a panic in the past, while upgrading when it froze I would reboot and than would be unable to log back into my system. First in terminal I entered pkill -U <username>, than would log back in, next in terminal: sudo rm /var/lib/dpkg/lock (since updating was locked by another process) lastly dpkg dpkg --configure -a –  bethnesbitt Oct 25 '13 at 11:33
    
Could you write that as answer instead of a comment? –  Braiam Oct 26 '13 at 15:10

3 Answers 3

Well I seemed to figure out what to do. In a panic in the past, while upgrading when it froze I would reboot and than would be unable to log back into my system.

First in terminal I entered pkill -U username

logged back in

next in terminal: sudo rm /var/lib/dpkg/lock (since updating was locked by another process)

lastly dpkg dpkg --configure -a –

share|improve this answer

Thanks Beth, .. worked for me ..with some slight corrections / caveats ;)

First in terminal enter (N.B. immediately logs username out):

pkill -U username

log back in, next in terminal (as updating was locked by another process):

sudo rm /var/lib/dpkg/lock

lastly:

sudo dpkg --configure -a

share|improve this answer

I don't have enough reputation to comment on user207943's post so I am adding a full reply.

I had a similar problem on a 13.04 to 13.10 upgrade (Ubuntu not Xubuntu, and tex-common not cups). The method of user207943 worked to finish the install, however, for me I found that most of the upgrade was still unfinished. This took me a while to solve, but in the end was simple, so I thought I would share just in case someone finds this page on a google (like I did). I had to run:

sudo apt-get upgrade

to finish upgrading packages. This looked like everything was now done (If I paid more attention I would have seen that certain packages like linux-generic were NOT upgraded). Then, after a restart I found I had no network devices available (neither wireless or Ethernet). Eventually I found the solution was that I needed to run:

sudo apt-get dist-upgrade

After a restart 13.10 seems to be fine. Two simple commands, about 3 hours of my life wasted finding the second one :(

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.