Octave for GNU/Linux: Difference between revisions

831 bytes removed ,  7 September 2013
→‎Troubleshooting: moved to Debian page
(→‎Ubuntu 12.04: move to the Debian page)
(→‎Troubleshooting: moved to Debian page)
Line 18: Line 18:
For more details, see the [[Debian]] specific instructions page.
For more details, see the [[Debian]] specific instructions page.


=== 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
=Fedora=
=Fedora=
The packages can be installed using the yum command, they are:
The packages can be installed using the yum command, they are: