On 24 November 2012 04:48, Terry Duell <address@hidden> wrote:
Can someone please suggest the 'proper' process (assuming that there is
one) that I should follow to get to an updated set of packages, so
'pkg' knows what it should know and Octave paths are correct?
My suggestion would be the following:
1 - remove all packages installed from the repos.
2 - remove your ~/octave directory (well, make a copy of it somewhere
else in case in something goes wrong). This are your local
installation of packages.
3 - remove ~/.octave_packages (your database with locally installed
packages)
4 - remove OCTAVE_HOME()/share/octave/packages and octave_config_info
("libdir")/octave/packages (get the value of OCTAVE_HOME and
octave_config_info ("libdir") from an Octave prompt). These are global
packages you may have installed as root
5 - remove OCTAVE_HOME()/share/octave/octave_packages (your database
for globally installed packages)
When you start Octave now, you should now have a clean start. It
should also be possible to rebuild the databases with "pkg rebuild"
but I never tried it.