[Pkg-octave-devel] Bug#681064: Bug#681064: octave: does not configure properly

Thomas Weber tweber at debian.org
Tue Jul 10 18:18:34 UTC 2012


On Tue, Jul 10, 2012 at 01:23:44PM +0200, Santiago Vila wrote:
> After "apt-get update; apt-get upgrade; apt-get dist-upgrade" today I decided
> to install octave and octave-info, then purge octave3.2 and octave3.2-info.
> 
> Now octave does not configure:
> 
> # dpkg --pending --configure 
> Setting up octave (3.6.2-2) ...
> warning: X11 DISPLAY environment variable not set
> error: could not find the file or path /usr/share/octave/packages
> error: called from:
> error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 1234, column 5
> error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 418, column 16
> error:   /usr/share/octave/3.6.2/m/startup/octaverc at line 26, column 1

When removing the package, octave3.2's postrm file is run, which
(correctly) removes the empty directory /usr/share/octave/packages.
octave 3.6 is then installed and brings this directory with it. When
purging octave3.2 later, its postrm is run *again* and removes the
directory (which now belongs to octave 3.6).

I guess the best fix is to change octave 3.6 postinst file to recreate this
directory if it does not exist.
The good news is that we will not run again into this as octave 3.6
brings this directory with it. 

	Thomas





More information about the Pkg-octave-devel mailing list