bugGNU Octave - Bugs: bug #51398, 'pkg update' fails as first...


bug #51398: 'pkg update' fails as first instruction in a fresh instalation

Submitted by:  Denis J Navas <djnavas>
Submitted on:  Thu 06 Jul 2017 03:30:30 AM UTC  
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Installation Failure
Status: Need InfoAssigned to: None
Originator Name: Denis J NavasOpen/Closed: Open
Release: 4.2.1Operating System: Microsoft Windows

Add a New Comment(Rich Markup)

You are not logged in

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


Fri 07 Jul 2017 11:59:38 AM UTC, comment #4:

The 1.1 is the DOS 8.3 short version of the path name so is correct.

If you rerun pkg update does it work?

For pkg list, try running "pkg rebuild" first and see if that populates the list.

John Donoghue <lostbard>
Project Member
Fri 07 Jul 2017 03:13:27 AM UTC, comment #3:

Found a probable source of the problem with the path variable.
Octave version is not 1.1 but 4.2.1!

>> getenv ("PATH")

ans = C:\FOSS\OCTAVE~1.1\bin;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;

Denis J Navas <djnavas>
Fri 07 Jul 2017 12:34:46 AM UTC, comment #2:

The installer is "octave-4.2.1-w32-installer.exe"
My machine is 32 bits, use Windows 7 starter, Service Pack 1.
Octave is installed in "C:\FOSS\Octave-4.2.1"
All the windows updates are applied.
Was installed as an aplication for multiple users.
I am the only user registered as administrator in this machine.

The update process asked for "dicom-0.2.0" but the software only has "C:\FOSS\Octave-4.2.1\share\octave\packages\dicom-0.1.1", therefore I downloade it and placed in my working directory, in "C:\Users\Denis\Documents\Octave".

The user path variable has been set to "C:\FOSS\Octave-4.2.1".
The installer does not set any path, system or user variable.

Also, "pkg list" reports nothing.

When I wrote, "fails as first instruction" I mean that the first run after installation, I inmediatly ran pkg update without any prior command before.

Denis J Navas <djnavas>
Thu 06 Jul 2017 03:04:15 PM UTC, comment #1:


I tried a fresh install and do not see the issue occuring.

Was octave installed via the installer, or zip file, and 32 or 64 bit version?

The title says 'fails as first instruction', deoes that mean when you reran the command it worked?

John Donoghue <lostbard>
Project Member
Thu 06 Jul 2017 03:30:30 AM UTC, original submission:

Here is the error message:

>> pkg update

system: unable to start subprocess for '"gzip -d -c "C:\Users\Denis\Documents\Octave\dicom-0.2.0.tar.gz" | tar xf - 2>&1"'
error: called from
unpack at line 245 column 20
untar at line 47 column 5
install at line 81 column 9
pkg at line 394 column 9
pkg at line 552 column 11

GNU Octave, version 4.2.1
Windows 7 SP 1, starter edition.
Installed for all users.

Denis J Navas <djnavas>


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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by lostbard (Posted a comment)
  • -unavailable- added by djnavas (Submitted the item)
  • -unavailable- added by djnavas (I checked and did not see it reported.)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 06 Jul 2017 03:04:15 PM UTClostbardStatusNone=>Need Info
    Thu 06 Jul 2017 03:30:30 AM UTCdjnavasCarbon-Copy-=>Added djnavas

    Back to the top

    Powered by Savane 3.1-cleanup1