bugGNU Octave - Bugs: bug #56351, pkg: missing dependencies error...

 
 

bug #56351: pkg: missing dependencies error message could be clearer

Submitter:  Mike Miller <mtmiller>
Submitted:  Sun 19 May 2019 08:10:01 PM UTC
   
 
Category:  Octave Function Severity:  2 - Minor
Priority:  3 - Low Item Group:  Documentation
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 29 May 2019 05:56:34 PM UTC, comment #1: 

It might also be useful for the error message to differentiate the two possibilities that users might interpret or act on differently:

1. a necessary package is not installed at all, install it

2. a necessary package is installed, but the version is not new enough, it needs to be upgraded

Mike Miller <mtmiller>
Group Member
Sun 19 May 2019 08:10:01 PM UTC, original submission:  

The pkg function prints the following error message when the user installs a package that depends on another package that is not yet installed (or is too old)


error: the following dependencies were unsatisfied:
   parallel needs struct >= 1.0.12


This error message could use some small tweaking, without making it too much longer, to help users that are unfamiliar with the 'pkg' command or the Octave Forge packages in general.

For example, maybe something like this?


error: the following packages are missing, please install them with "pkg install -forge"
    parallel depends on struct (>= 1.0.12)


Of course, a package dependency may not be installable with "-forge", so that advice is not completely honest.

Other ideas?

Motivated by feedback on https://lists.gnu.org/archive/html/help-octave/2019-05/msg00120.html

Mike Miller <mtmiller>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only group members can vote.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2020-01-31 mtmiller Release5.1.0 dev
2019-05-29 mtmiller Priority5 - Normal 3 - Low
2019-05-19 mtmiller Carbon-CopyRemoved 80942 -

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code