[Pkg-octave-devel] postrm instead of prerm for packages with pkg.m
Thomas Weber
thomas.weber.mail at gmail.com
Sat Aug 2 20:43:54 UTC 2008
We currently call "pkg rebuild" in a prerm script for all octave-forge
packages. I think that must go into a postrm script:
The following is a package install-purge lifecycle. Note that Octave still
thinks the package is there at the end.
# octave --silent --eval "pkg list"
no packages installed.
# aptitude install octave-nan
...
# octave --silent --eval "pkg list"
Package Name | Version | Installation directory
--------------+---------+-----------------------
nan *| 1.0.6 | /usr/share/octave/packages/nan-1.0.6
# aptitude purge octave-nan
...
# octave --silent --eval "pkg list"
Package Name | Version | Installation directory
--------------+---------+-----------------------
nan | 1.0.6 | /usr/share/octave/packages/nan-1.0.6
The package is still mentioned in octave_packages, but the files have been
removed.
Thomas
More information about the Pkg-octave-devel
mailing list