I'm trying to download the MATLAB program through the software center on Ubuntu 12.04. The installation has stalled half way through (in the applying changes phase), but I can't cancel it. I've tried restarting the computer, but the download still shows and I can't remove it. It also prevents me from downloading any other programs on software center. What can I do to remove the item from my software center download list?
Update:
I tried the solutions posted here and I get another error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Setting up man-db (2.6.1-2ubuntu1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing man-db (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
man-db
E: Sub-process /usr/bin/dpkg returned an error code (1)