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

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

[Octave-bug-tracker] [bug #31946] pkg: better error reporting when tryin


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #31946] pkg: better error reporting when trying to remove system packages
Date: Thu, 29 Jul 2021 16:20:35 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36

Follow-up Comment #11, bug #31946 (project octave):

bug still present in octave 6.3.0

on a clean windows install, doing attempting a 'local' uninstall of a  bundled
'global' package:


>> pkg list video
Package Name  | Version | Installation directory
--------------+---------+-----------------------
       video  |   2.0.0 | ...\mingw64\share\octave\packages\video-2.0.0

>> pkg uninstall video
warning: some of the packages you want to uninstall are not installed
warning: called from
    uninstall at line 72 column 7
    pkg at line 582 column 7

warning: no packages will be uninstalled
warning: called from
    uninstall at line 77 column 5
    pkg at line 582 column 7


the 'fourth.patch' patch no longer applies cleanly to default, but only
because i think the 4th blob doesn't do anything.

looking at this, there are a few things still hanging - 'no package of that
name installed' doesn't work when multiple packages are called. it should echo
the named package(s) that aren't there. 

and some of the language should be updated - referring to system packages as
global and user packages as local.  i'll try to work up a modified patch to
address these.  

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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