I think this is the result of having a broken /usr/local/bin/octave-3.2.2 before installing the package. For example this will break the install:
$ sudo ln -s /bin/false /usr/local/bin/octave-3.2.2 $ sudo apt-get install octave3.2
This fails with:
dpkg: error processing octave3.2 (--configure): subprocess installed post-installation script returned error exit status 1
Removing the link allows install to succeed.
$ sudo rm /usr/local/bin/octave-3.2.2 $ sudo apt-get install octave3.2
I think this is the result of having a broken /usr/local/ bin/octave- 3.2.2 before installing the package. For example this will break the install:
$ sudo ln -s /bin/false /usr/local/ bin/octave- 3.2.2
$ sudo apt-get install octave3.2
This fails with:
dpkg: error processing octave3.2 (--configure):
subprocess installed post-installation script returned error exit status 1
Removing the link allows install to succeed.
$ sudo rm /usr/local/ bin/octave- 3.2.2
$ sudo apt-get install octave3.2