the command that you used should have worked perfectly. I have tested it
on Windows 7, but it worked on my machine. I have no Windows 10
environment to check with.
temporary directory, which seems strange. Do you run Octave with
to find the root cause. Please try:
Package installation will then halt right before the error. Please debug
permissions of the temporary directory. This will help us to identify
the problem.
On 10.12.2017 11:53, Ashraf Mousa wrote:
> Dear Oliver
> I have tried the following command:
> pkg install -local -forge netcdf
>
> However I get the same error about permision
> *C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-nJLy6R: Permission de*
> *nied*
> *error: called from*
> * unpack at line 244 column 5*
> * untar at line 47 column 5*
> * install at line 81 column 9*
> * pkg at line 394 column 9*
> *
> *
> *Did I used a wrong command?*
> *Shall I re-install octave using admin?*
> *Any other ideas.*
> *Thanks alot*
> *Cheers*
>
> Prof. Ashraf ElKutb Mousa
> Prof. of Geodesy, Senior Geodesist
> Crustal Movement lab
> Geodynamic Dept.
> National Research Institute of Astronomy and Geophysics, Helwan, Cairo
> Mob. : +002-01061087313
> Tel (home): +002-22-5187001
> Tel (Work): +002-22-5541100 (ext. 347)
> Fax (Work): +002-22-5548020
>
>
> On Wednesday, December 6, 2017 5:03 PM, Oliver Heimlich
> <
address@hidden> wrote:
>
>
> Hi,
>
> I can't check in detail whether this causes your issue right now. On
> Windows the most frequent issue is that the normal user account can't
> install packages globally.
>
> Please try pkg install with the -local option, which installs the
> package in your user profile, which should not fail because of file
> system permissions.
>
> HTH
> Oliver Heimlich
>
>
> Am 6. Dezember 2017 12:54:13 MEZ schrieb Ashraf Mousa
> <
address@hidden>:
>
> Dear octave users
> I am running windows 10 64 bit.
> I installed octave 4.2.1 with no problem.
> My problem is that I can not update pkgs nor installing new ones.
> Here are examples of what I get :
> 1- command (pkg install -forge netcdf)
> C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-YmhPqa: Permission denied
> error: called from
> unpack at line 244 column 5
> untar at line 47 column 5
> install at line 81 column 9
> pkg at line 394 column 9
> 2- command (pkg install netcdf-1.0.11.tar.gz)
> [Note that I used this command after downloading the pkg manually
> and I changed the dir to where I put the downloaded file]
> C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-UiIKXz: Permission denied
> error: called from
> unpack at line 244 column 5
> untar at line 47 column 5
> install at line 81 column 9
> pkg at line 394 column 9
> 3- command (pkg update)
> C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-EzApRv: Permission denied
> error: called from
> unpack at line 244 column 5
> untar at line 47 column 5
> install at line 81 column 9
> pkg at line 394 column 9
> pkg at line 552 column 11
>
> Hope to receive some detailed help
> best regards
> Yours
>
> Prof. Ashraf ElKutb Mousa
> Prof. of Geodesy, Senior Geodesist
> Crustal Movement lab
> Geodynamic Dept.
> National Research Institute of Astronomy and Geophysics, Helwan, Cairo
> Mob. : +002-01061087313
> Tel (home): +002-22-5187001
> Tel (Work): +002-22-5541100 (ext. 347)
> Fax (Work): +002-22-5548020
>
>
>