661
edits
Carandraug (talk | contribs) (→Pre-compiled binaries: from the GNU/Linux page) |
Carandraug (talk | contribs) (→Pre-compiled binaries: troubleshooting from GNU/Linux page) |
||
Line 6: | Line 6: | ||
Octave is often split over multiple packages to cover the different parts of it. Aside the {{codeline|octave}} package that installs GNU Octave, there is also {{codeline|octave-doc}}, {{codeline|octave-info}}, and {{codeline|octave-htmldoc}} for the documentation, {{codeline|liboctave-dev}} for the octave development library (required to install most packages), and {{codeline|octave-dbg}} for the debugging symbols. | Octave is often split over multiple packages to cover the different parts of it. Aside the {{codeline|octave}} package that installs GNU Octave, there is also {{codeline|octave-doc}}, {{codeline|octave-info}}, and {{codeline|octave-htmldoc}} for the documentation, {{codeline|liboctave-dev}} for the octave development library (required to install most packages), and {{codeline|octave-dbg}} for the debugging symbols. | ||
=== Troubleshooting === | |||
At Ubuntu, broken packages install may cause a <span color="red">error: `pkg' undefined</span> error, previously reported as [https://bugs.launchpad.net/ubuntu/+source/octave3.2/+bug/465005 bug 465005]: | |||
... | |||
Setting up octave3.2 (3.2.2-2build1) ... | |||
error: `pkg' undefined near line 0 column 1 | |||
dpkg: error processing octave3.2 (--configure): | |||
subprocess installed post-installation script returned error exit status 1 | |||
Processing triggers for libc-bin ... | |||
ldconfig deferred processing now taking place | |||
Processing triggers for menu ... | |||
Errors were encountered while processing: | |||
octave3.2 | |||
E: Sub-process /usr/bin/dpkg returned an error code (1) | |||
Fix this by complete reinstall: | |||
sudo apt-get --purge remove octave3.2 | |||
sudo apt-get --purge remove octave3.2-common | |||
sudo apt-get install octave3.2 | |||
== Octave's PPA == | == Octave's PPA == |