package octave (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 127

Asked by Levis

a problem occurred while installing:
source package: octave 4.0.0-3ubuntu9.1

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: octave (not installed)
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
Uname: Linux 4.4.0-38-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Wed Sep 28 18:50:28 2016
DuplicateSignature:
 package:octave:(not installed)
 Setting up ubuntu-make (16.09~trusty1) ...
 /var/lib/dpkg/info/ubuntu-make.postinst: 6: /var/lib/dpkg/info/ubuntu-make.postinst: register-python-argcomplete3: not found
 dpkg: error processing package ubuntu-make (--configure):
  subprocess installed post-installation script returned error exit status 127
ErrorMessage: subprocess installed post-installation script returned error exit status 127
InstallationDate: Installed on 2014-12-14 (654 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.12~ubuntu16.04.1
SourcePackage: octave
Title: package octave (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 127
UpgradeStatus: Upgraded to xenial on 2016-09-28 (0 days ago)

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu octave Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Levis (alevis) said :
#1

I think installing octave manually might stop this from happening next time I log back in;
sudo apt-get install octave
Selecting previously unselected package octave.
(Reading database ... 1082391 files and directories currently installed.)
Preparing to unpack .../octave_4.0.0-3ubuntu9.1_amd64.deb ...
Unpacking octave (4.0.0-3ubuntu9.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for man-db (2.7.5-1) ...
Setting up octave (4.0.0-3ubuntu9.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3)

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

You can check by running:

sudo apt-get -f install

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

The culprit seems not to be octave, but ubuntu-make

Setting up ubuntu-make (16.09~trusty1) ...
/var/lib/dpkg/info/ubuntu-make.postinst: 6: /var/lib/dpkg/info/ubuntu-make.postinst: register-python-argcomplete3: not found

I assume that this package comes from a PPA. If you still see this error, you should contact the PPA maintainer.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

What is the output of:

apt-cache policy ubuntu-make

Thanks

Can you help with this problem?

Provide an answer of your own, or ask Levis for more information if necessary.

To post a message you must log in.