Frozen install in Software Centre

Asked by Ryan Gramm

So first off I am new to the Ubuntu landscape so forgive me...

While trying to install MATLab on my computer I was being impatient and while going through software centre I clicked an install of what I thought was MATLab. It was only a Debian interface for MATLab and half way through the install asked me to locate the install folder for MATLab. Since I did not already have an install of MATLab on my computer I clicked forward through which I thought would allow me to cancel which led to a loop of telling me that I need to locate my MATLab install then telling me the install could not continue without the location. I then closed the window asking me to locate the install. The Software centre install is still running, but not making any progress from where it stopped when asking for the install location and I cannot cancel the install.

Any suggestions on how to just cancel the install?

Thanks in advance

Question information

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

What is the output of:

dpkg -l | grep matlab; lsb_release -a; uname -a

Thanks

Revision history for this message
Ryan Gramm (ryanoracer33) said :
#2

Ok here is what it gave me:

No LSB modules are available
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
Linux cybertronian2 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:32:50 UTC 2012
 i686 i686 i386 GNU/Linux

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Try:

sudo apt-get --purge remove matlab*; sudo apt-get clean

May help

Revision history for this message
Ryan Gramm (ryanoracer33) said :
#4

ran that script. this is what it generated:

ryan@cybertronian2:~$ sudo apt-get --purge remove matlab*; sudo apt-get clean
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'dynare-matlab' for regex 'matlab*'
Note, selecting 'matlab-dev' for regex 'matlab*'
Note, selecting 'matlab-gdf' for regex 'matlab*'
Note, selecting 'matlab-support-dev' for regex 'matlab*'
Note, selecting 'matlab-spm8' for regex 'matlab*'
Note, selecting 'matlab' for regex 'matlab*'
Note, selecting 'matlab-support' for regex 'matlab*'
Package matlab-support-dev is not installed, so not removed
Package dynare-matlab is not installed, so not removed
Package matlab-gdf is not installed, so not removed
Package matlab-support is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Setting up man-db (2.6.1-2) ...
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
No apport report written because MaxReports has already been reached
                                                                    Errors were encountered while processing:
 man-db
E: Sub-process /usr/bin/dpkg returned an error code (1)

Software centre still has half a progress bar on installing the Matlab UI and says applying changes.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Close software centre, or kill it then run:

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

Revision history for this message
Ryan Gramm (ryanoracer33) said :
#6

close software centre and ran, then returned:

Setting up man-db (2.6.1-2) ...
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

re-opened software centre and process still running for the MATLab UI

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#7

Have yoiu tried rebooting? I know that is is the usual Windows ways of working, but it might help also on Ubuntu.

Revision history for this message
Ryan Gramm (ryanoracer33) said :
#8

Thanks Manfred Hampl, that solved my question.

Revision history for this message
Ryan Gramm (ryanoracer33) said :
#9

Thanks. I restarted it once before I ran the scripts and one time after and never got anywhere with it. Powered it down all the way a 3rd time and when I booted up the queue was cleared. Thanks guys