What is the proper way to back out software-center if it gets stuck inthe middle of a download

Asked by B Dice

I was downloading "mutt" from Ubuntu Software Center when the download got stuck halfway through. I dont want to just close the program because it might break my whole apt system. (it's happened to me before). What's the proper procedure for systematically recovering from this without screwing up apt all together? Thank you in advance for your advice.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

Has it finished now? If not then reboot and run:

sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a

It will resolve the issue with the packages.

Revision history for this message
B Dice (bdice1986) said :
#2

Thank you for sharing that with me. I will be sure to try it if or when it
happens again. I almost cant wait for it to break again so i can fix it!
Thanks again.

On Tue, Jun 3, 2014 at 3:06 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #249715 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/249715
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Has it finished now? If not then reboot and run:
>
> sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a
>
> It will resolve the issue with the packages.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/249715/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/249715
>
> You received this question notification because you asked the question.
>

Revision history for this message
B Dice (bdice1986) said :
#3

Thanks actionparsnip, that solved my question.