[Top][All Lists]

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

[Octave-bug-tracker] [bug #55143] pkg install only succeeds on second at

From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #55143] pkg install only succeeds on second attempt (Windows only)
Date: Sat, 1 Dec 2018 12:07:36 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

Update of bug #55143 (project octave):

              Item Group:              Regression => Unexpected Error       


Follow-up Comment #3:

Just do:

- pkg load image
  <run one of the binary image pkg modules>
- pkg unload image
- clear -f
- pkg uninstall image
- pkg install image-2.8.1.tar.gz

and see & report back what happens.
My guess is that it will work right away the first time.

FYI: for myself I'm pretty sure what your problem is. I usually encounter it
when installing cross-builds made from a new mxe-octave build tree (I renew
that every 2 months) and then finding out that when loading linear-algebra its
old gsvd.oct shadows a core functions. (Like you I have OF packages loaded, in
my case a.o., linear-algebra through .octaverc.)
To remove that gsvd.oct module I need to unload linear-algebra, run clear -f,
and only then I can remove gsvd.oct in the linear-algebra binary subdir under
./lib/octave/. (To avoid this I have a patched linear-algebra w/o binary
modules but I usually forget to adapt src/linear-algebra.mk in mxe-octave
before building the installer).
It isn't hard to conceive that uninstalling any loaded OF package with binary
modules needs the above-mentioned steps. It's is especially the "clear -f"
that must not be forgotten, at least on Windows.

BTW  This pkg.m behavior has existed in Octave for years and years, but I
didn't bother as there's a workaround.
Now that there's a bug report it's definitely time to fix it. To do that some
more info is needed:
- what happens on Linux when a loaded OF-package with binary modules is
upgraded? could you try and find out, please?

Status -> still kept at "need info"
Item group -> Unexpected error


Reply to this item at:


  Message sent via Savannah

reply via email to

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