bugGNU Octave - Bugs: bug #36515, pkg unload does not consider...


bug #36515: pkg unload does not consider dependencies

Submitted by:  Carnë Draug <carandraug>
Submitted on:  Mon 21 May 2012 11:39:09 AM UTC  
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Mon 21 May 2012 11:39:09 AM UTC, original submission:


when a package that is a dependency of others is unloaded, no warning is given and the other packages stay loaded which can lead to problems with them.

I'd imagine the following possible behaviors:

1) do not unload the package and issue a warning about the reason why
2) unload the package together with all packages that depend on it and issue a warning about it
3) unload only the selected package (current behaviour) but I think this should be the behaviour if selecting unload with the -nodeps flag

What should be the best way to handle this? I have attached two empty packages that simply depend on each other to test this things.


Carnë Draug <carandraug>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #25897:  ori1-1.0.0.tar.gz added by carandraug (370B - application/x-gzip)
file #25898:  ori2-1.0.0.tar.gz added by carandraug (370B - application/x-gzip)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by carandraug (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 28 Oct 2013 03:18:34 AM UTCmtmillerCategoryNone=>Octave Function
      Item GroupNone=>Incorrect Result
    Mon 21 May 2012 11:39:09 AM UTCcarandraugAttached File-=>Added ori1-1.0.0.tar.gz, #25897
      Attached File-=>Added ori2-1.0.0.tar.gz, #25898

    Back to the top

    Powered by Savane 3.1-cleanup