octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: package manager patch + problem


From: Michael Goffioul
Subject: Re: package manager patch + problem
Date: Tue, 27 Feb 2007 21:21:09 +0100
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)


what does

pkg unload <pkg>
clear all;
pkg uninstall <pkg>

do? Perhaps the clear all isn't needed, but might be.. I think there are
also some packages in octave-forge that cheat and use "mlock" to prevent
the files being removed, and I don't know how that will work..

"clear all" should be enough. Locked files shouldn't be a problem for m-files. I don't know if it's possible to lock an oct-file, but if yes, then it might be problem; however, I guess the file is only locked when the code is actually executed; so
by restarting octave and then "pkg uninstall", it should be OK.

Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]