help-octave
[Top][All Lists]
Advanced

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

Re: `pkg unload' with dependencies


From: Carlo de Falco
Subject: Re: `pkg unload' with dependencies
Date: Tue, 5 Jan 2010 10:44:09 +0100


On 5 Jan 2010, at 08:25, John W. Eaton wrote:

On  4-Jan-2010, Muhali wrote:

| If package foo depends on package goo
|
| `pkg load foo' will also load package goo. But
|
| `pkg unload goo' will not unload foo, nor give any warning. This behavior is
| misleading.

I would expect loading a package to also load required dependencies.
But I would not expect unloading to unload dependencies since other
packages might also depend on them.
I think that is normal behavior for a package system.

but, in the notation used by the OP, unloading package "goo" that was loaded because "foo" depends on it should at least raise a warning saying that "foo" might not work properly anymore...
I'd say this is a bug.

jwe
c.



reply via email to

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