help-octave
[Top][All Lists]
Advanced

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

Re: inadequate/inconsisten 'help pkg' message; problems with downloading


From: Sergei Steshenko
Subject: Re: inadequate/inconsisten 'help pkg' message; problems with downloading
Date: Tue, 2 Aug 2011 05:35:33 -0700 (PDT)

It looks like package removing does not work.


This is what I read in 'help pkg':

"
    `uninstall'
          Uninstall named packages.  For example,

               pkg uninstall image

          removes the `image' package from the system.  If another
          installed package depends on the `image' package an error
          will be issued.  The package can be uninstalled anyway by
          using the `-nodeps' option.

".

This is what I observe in reality:

"
octave:3> pkg uninstall -nodeps -verbose java
warning: some of the packages you want to uninstall are not installed
octave:4> quit

error: feval: function `java_exit' not found
address@hidden:~/whatever/junk/dir> (export GNUTERM=wxt; 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/binsh/octave)
GNU Octave, version 3.4.2
Copyright (C) 2011 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "i686-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.

For information about changes from previous versions, type `news'.

warning: function 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/share/octave/packages/statistics-1.0.10/fstat.m
 shadows a core library function
warning: function 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/share/octave/packages/statistics-1.0.10/prctile.m
 shadows a core library function
warning: dispatch is obsolete and will be removed from a future version of 
Octave; please use classes instead
warning: 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/share/octave/packages/integration-1.0.7/PKG_ADD:
 possible Matlab-style short-circuit operator at line 9, column 32
warning: function 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/lib/octave/packages/linear-algebra-2.0.0/i686-pc-linux-gnu-api-v45+/mgorth.oct
 shadows a core library function
warning: function 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/share/octave/packages/multicore-0.2.15/gethostname.m
 shadows a built-in function
warning: addpath: 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/lib/octave/packages/ocs-0.1.1/i686-pc-linux-gnu-api-v45+/../utl:
 No such file or directory
warning: addpath: 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/lib/octave/packages/ocs-0.1.1/i686-pc-linux-gnu-api-v45+/../asm:
 No such file or directory
warning: addpath: 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/lib/octave/packages/ocs-0.1.1/i686-pc-linux-gnu-api-v45+/../tst:
 No such file or directory
warning: addpath: 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/lib/octave/packages/ocs-0.1.1/i686-pc-linux-gnu-api-v45+/../nls:
 No such file or directory
warning: addpath: 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/lib/octave/packages/ocs-0.1.1/i686-pc-linux-gnu-api-v45+/../prs:
 No such file or directory
warning: addpath: 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/lib/octave/packages/ocs-0.1.1/i686-pc-linux-gnu-api-v45+/../sbn:
 No such file or directory
warning: function 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/share/octave/packages/oct2mat-1.0.7/arg.m
 shadows a built-in function
warning: function 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/share/octave/packages/oct2mat-1.0.7/fflush.m
 shadows a built-in function
warning: function 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/share/octave/packages/oct2mat-1.0.7/file_in_loadpath.m
 shadows a built-in function
warning: function 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/share/octave/packages/oct2mat-1.0.7/file_in_path.m
 shadows a built-in function
warning: function 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/share/octave/packages/oct2mat-1.0.7/rindex.m
 shadows a core library function
warning: function 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/share/octave/packages/oct2mat-1.0.7/substr.m
 shadows a core library function
warning: function 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/share/octave/packages/oct2mat-1.0.7/toascii.m
 shadows a built-in function
warning: function 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/share/octave/packages/oct2mat-1.0.7/tolower.m
 shadows a built-in function
warning: function 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/share/octave/packages/oct2mat-1.0.7/toupper.m
 shadows a built-in function
warning: function 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/share/octave/packages/plot-1.0.8/colstyle.m
 shadows a core library function
warning: gmsh does not seem to be present some functionalities will be disabled
warning: dx does not seem to be present some functionalities will be disabled
warning: function 
/mnt/sdb8/sergei/AFSWD_debug/20110601/octave-3.4.2/share/octave/packages/strings-1.0.7/strtrim.m
 shadows a core library function
octave:1> pkg describe java
---
Package name:
        java
Version:
        1.2.8
Short description:
        Provides Java interface with OO-like Java objects manipulation
Status:
        Loaded
octave:2>  
".

Why do I see the

"
warning: some of the packages you want to uninstall are not installed
"

message ? According to my understanding of the excerpt from 'help pkg'
the -nodeps option means unconditional removal of the package in
question.

Why do I see after 'uninstall'

"
Status:
        Loaded
" ?

Can a non-existent package be loaded ?

I have sufficient file system privileges to manipulate files - my user ID
is the files owner user ID.

Thanks,
  Sergei.


reply via email to

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