bugGNU Octave - Bugs: bug #44524, pkg uninstall invalidname removes...

 
 

bug #44524: pkg uninstall invalidname removes global package entries

Submitted by:  John Donoghue <lostbard>
Submitted on:  Thu 12 Mar 2015 06:08:53 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: JohnDOpen/Closed: Closed
Release: devOperating 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:41:17 AM UTC, comment #4:

FYI this was also previously reported as bug #36453. Thanks for fixing!

Mike Miller <mtmiller>
Project Administrator
Thu 12 Mar 2015 09:19:53 PM UTC, comment #3:

I modified the cset to just use isempty rather than length (...) == 0 and pushed it (http://hg.savannah.gnu.org/hgweb/octave/rev/6670df97456c).

Rik <rik5>
Project Administrator
Thu 12 Mar 2015 06:39:04 PM UTC, comment #2:

Fixed typo

(file #33321)

John Donoghue <lostbard>
Project Member
Thu 12 Mar 2015 06:34:25 PM UTC, comment #1:

This patch checks delete_idx before continuing with the rest of the pkg delete.

(file #33320)

John Donoghue <lostbard>
Project Member
Thu 12 Mar 2015 06:08:53 PM UTC, original submission:

When an unknown package name is used in uninstall, all names in the pkg list disappear:

The installed files all appear to still be there.
It happens in Windows and in Linux - although appears to be just global installed packages that disappears, which is what the windows packages default to.

John Donoghue <lostbard>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #33321:  dontdelpkg2.patch added by lostbard (6KiB - application/octet-stream)
file #33320:  dontdelpkg.patch added by lostbard (6KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by lostbard (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
    Thu 12 Mar 2015 09:19:53 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 12 Mar 2015 06:39:04 PM UTClostbardAttached File-=>Added dontdelpkg2.patch, #33321
    Thu 12 Mar 2015 06:34:25 PM UTClostbardAttached File-=>Added dontdelpkg.patch, #33320
    Thu 12 Mar 2015 06:09:30 PM UTClostbardSummarypkg uninstall invalidname=>pkg uninstall invalidname removes global package entries

    Back to the top


    Powered by Savane 3.1-cleanup1