[Pkg-octave-devel] Bug#670892: octave: octave.postinst failure after install, purge, and reinstall

Mike Miller mtmiller at ieee.org
Mon Apr 30 05:08:22 UTC 2012


Package: octave
Version: 3.6.1-4
Severity: normal

The following sequence results in octave being uninstallable due to postinst
failure.  Assume no octave packages installed initially:

# apt-get install octave
# apt-get purge octave
# apt-get install octave
Setting up octave (3.6.1-4) ...
error: could not find the file or path /usr/share/octave/packages
error: called from:
error:   /usr/share/octave/3.6.1/m/pkg/pkg.m at line 1234, column 5
error:   /usr/share/octave/3.6.1/m/pkg/pkg.m at line 418, column 16
error:   /usr/share/octave/3.6.1/m/startup/octaverc at line 26, column 1

dpkg: error processing octave (--configure):
 subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                      Processing triggers for menu ...
Errors were encountered while processing:
 octave
E: Sub-process /usr/bin/dpkg returned an error code (1)

The directory is owned by octave-common but octave removes it when purged.
Maybe the entire octave.postrm should become octave-common.postrm?



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages octave depends on:
ii  dpkg-dev                             1.16.2
ii  libamd2.2.0                          1:3.4.0-2
ii  libarpack2                           3.1.0-2
ii  libatlas3gf-base [liblapack.so.3gf]  3.8.3-27
ii  libblas3gf [libblas.so.3gf]          1.2.20110419-2
ii  libc6                                2.13-30
ii  libcamd2.2.0                         1:3.4.0-2
ii  libccolamd2.7.1                      1:3.4.0-2
ii  libcholmod1.7.1                      1:3.4.0-2
ii  libcolamd2.7.1                       1:3.4.0-2
ii  libcurl3-gnutls                      7.25.0-1
ii  libcxsparse2.2.3                     1:3.4.0-2
ii  libfftw3-3                           3.3-1
ii  libfltk1.1                           1.1.10-13
ii  libfreetype6                         2.4.9-1
ii  libgcc1                              1:4.7.0-3
ii  libgl1-mesa-glx [libgl1]             7.11.2-1
ii  libglpk0                             4.45-1
ii  libgomp1                             4.7.0-3
ii  libgraphicsmagick++3                 1.3.12-1.1+b2
ii  libgraphicsmagick3                   1.3.12-1.1+b2
ii  liblapack3gf [liblapack.so.3gf]      3.3.1-1
ii  liboctave1                           3.6.1-4
ii  libpcre3                             1:8.30-4
ii  libqhull5                            2009.1-3
ii  libqrupdate1                         1.1.1-1
ii  libstdc++6                           4.7.0-3
ii  libumfpack5.4.0                      1:3.4.0-2
ii  octave-common                        3.6.1-4
ii  texinfo                              4.13a.dfsg.1-10
ii  zlib1g                               1:1.2.6.dfsg-2

Versions of packages octave recommends:
ii  gnuplot           4.6.0-5
ii  libatlas3gf-base  3.8.3-27

Versions of packages octave suggests:
pn  octave-doc      <none>
pn  octave-htmldoc  <none>
pn  octave-info     <none>





More information about the Pkg-octave-devel mailing list