octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #57122] pkg uninstall incorrectly errors out o


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #57122] pkg uninstall incorrectly errors out on unrelated dependencies
Date: Sun, 27 Oct 2019 11:34:36 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4

URL:
  <https://savannah.gnu.org/bugs/?57122>

                 Summary: pkg uninstall incorrectly errors out on unrelated
dependencies
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Sun 27 Oct 2019 04:34:35 PM CET
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Philip Nienhuis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

(Sorry, title could be better, suggestions?)

When trying to uninstall a package that no other installed package depends on
while there are missing dependencies elsewhere, pkg.m emits an error message
and stops:

>> pkg uninstall octproj
error: the following dependencies where unsatisfied:
   geometry needs matgeom >= 1.0.0


Indeed geometry-4.0.0 needs matgeom (that was indeed missing), but none of
them depends on octproj. IMO octproj could safely be uninstalled.

Expected result (in this case):
The error message had better be a warning, and octproj should be uninstalled.

The relevant code isn't easy to follow, but if confirmed I'll try to come up
with a cset.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57122>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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