Octave for GNU/Linux: Difference between revisions
Jump to navigation
Jump to search
→Debian and Debian-based (such as Ubuntu): Ubuntu-specific issue
Carandraug (talk | contribs) (→Debian-based (Ubuntu): Do not repeat information, link to Debian) |
(→Debian and Debian-based (such as Ubuntu): Ubuntu-specific issue) |
||
Line 17: | Line 17: | ||
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= |