bugGNU Octave - Bugs: bug #36453, pkg uninstall -global 'something...


bug #36453: pkg uninstall -global 'something uninstalled' clears the cached package database

Submitted by:  Muhali <muhali>
Submitted on:  Fri 11 May 2012 06:36:26 PM UTC  
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

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


Fri 13 Mar 2015 02:42:02 AM UTC, comment #3: 

This was reported again as bug #44524 and fixed in changeset:


Mike Miller <mtmiller>
Project Administrator
Tue 12 Jun 2012 01:35:11 PM UTC, comment #2: 

This is also happening on Windows, but it does not require the -global flag, as package (un)install is global by default under native Windows.

Michael Goffioul <goffioul>
Sun 13 May 2012 02:15:24 PM UTC, comment #1: 

Actually the packages are not uninstalled, the global_list file is just deleted.  As a workaround, running

pkg rebuild -global

should give you back your list of installed packages.

In testing this I have discovered some other odd related behaviors.  Does anyone know why a global uninstall iterates first through the union of local and global packages, then local packages only?


Mike Miller <mtmiller>
Project Administrator
Fri 11 May 2012 06:36:26 PM UTC, original submission:  

Suppose package 'foo' is not installed. Then doing

pkg uninstall -global foo

leads to a loss of all globally installed packages.

Muhali <muhali>


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

Attach Files:

No files currently attached


Depends on the following items: None found

   bug dependencies.


Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by muhali (Submitted the item)

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

    Only project members can vote.




    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-13 mtmiller StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
    2014-03-09 mtmiller Dependencies- => bugs #41812 is dependent
    2013-10-28 mtmiller CategoryNone => Octave Function
        Item GroupNone => Incorrect Result
        Operating SystemGNU/Linux => Any
    2012-06-12 mtmiller Summarypkg uninstall -global \'something uninstalled\' uninstalls everything (global) => pkg uninstall -global 'something uninstalled' clears the cached package database
    2012-05-13 mtmiller StatusNone => Confirmed

    Back to the top

    Powered by Savane 3.5