This error is due to a local build of Octave at /usr/local/bin/octave that is conflicting with the package maintainer scripts.
This bug is resolved in the octave package version 4.2.1-3 and later, available in Ubuntu 18.04. As a workaround on older systems, you can manually delete the octave installed under /usr/local. ** Changed in: octave (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1674014 Title: package octave 4.0.0-3ubuntu9.1 failed to install/upgrade: il sottoprocesso installato script di post-installation ha restituito lo stato di errore 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/octave/+bug/1674014/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs