Add a New Comment (Rich Markup)
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
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
(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
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 project members can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 3 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.12