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

 
 

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

Submitted by:  Mike Miller <mtmiller>
Submitted on:  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:  5.1.0 Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

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>
Project Administrator
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>
Project Administrator

 

(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

 

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 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2019-05-29 mtmiller Priority5 - Normal => 3 - Low
2019-05-19 mtmiller Carbon-CopyRemoved 80942 => -

Back to the top


Powered by Savane 3.4