octave-maintainers
[Top][All Lists]
Advanced

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

Re: "pkg uninstall <name>" clears package list if <name> is not installe


From: Michael Goffioul
Subject: Re: "pkg uninstall <name>" clears package list if <name> is not installed
Date: Tue, 12 Jun 2012 14:10:30 +0100

On Tue, Jun 12, 2012 at 2:07 PM, Ben Abbott <address@hidden> wrote:

On Jun 12, 2012, at 9:03 AM, Mike Miller wrote:

> On Tue, Jun 12, 2012 at 8:51 AM, Ben Abbott <address@hidden> wrote:
>>
>> On Jun 12, 2012, at 8:23 AM, Michael Goffioul wrote:
>>
>>> Hi,
>>>
>>> I found an issue on my compiled 3.6.2: if you "pkg uninstall <name>" for a package that is not currently installed, the stored package list is then cleared (fortunately it can be rebuilt with "pkg rebuild"). I can't check at the moment, but is this still occurring in default branch?
>>>
>>> Michael.
>>>
>>
>> Using both the stable and default branches, I tried ...
>>
>>        pkg list
>>        pkg uninstall foobar
>>        pkg list
>>
>> I get the same list of packages each time.
>
> See https://savannah.gnu.org/bugs/?36453
>
> IIRC I think it depends on whether you have global packages, local
> packages, or a combination of both.
>
> --
> mike

Mine are all local.

I think they're all global by default under Windows (I don't specify any -global flag to pkg.m). That's probably the difference.

Michael.
 

reply via email to

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