David,
On May 15, 2008, at 2:45 AM, David Bateman wrote:
Marius Schamschula wrote:
Hi all,
I've been updating my installation of octave-forge.
Here is what has happened:
I had a existing install of previous versions of octave forge
(20070821 and 20071014) that had been installed from the single
archive distribution, via a hand coded .m file (I use this script on
several Mac OS X 10.4 and 10.5 machines). With 20080507 I wanted to
automate things so I don't have to hand edit for each additional pkg
added.
I had intended to have my script uninstall older (obsolete) packages,
but found no mechanism for uninstalling old packages. So I deleted
all
installed packages and the corresponding octave_packages file, and
reinstalled. I found a few stray paths (see my previous email) and
realized that I had installed an useless, at least on a Macintosh,
windows pkg. I wanted to uninstall it but got the following message:
octave:8> pkg uninstall windows
warning: some of the packages you want to uninstall are not
installed.
The package,however is listed among the installed packages:
What happens if you try "pkg rebuild" prior to trying to uninstall the
package?
I had tried pkg rebuild
After sending out the e-mail I figured out the solution to my problem
(partially):
I had installed packages globally. This means I ran octave as root
via sudo. Thus, I could only uninstall them by running octave the
same way. I wish the error message had been more clear about the
reason for not uninstalling...
My second issue still remains:
I have multiple versions of packages installed and would like to
remove obsolete ones without touching the current. I see no mechanism
to do this, e.g.:
pkg uninstall symbolic 0.0.3
or something similar.
Marius
--
Marius Schamschula
Webmaster
The Huntsville Macintosh Users Group
www.hmug.org
webmaster at hmug dot org
marius at schamschula dot com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev