Package operation failed-- Tried multiple tut's on how to fix with no results

Asked by Jacob

installArchives() failed: Selecting previously unselected package fraqtive.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 218756 files and directories currently installed.)
Preparing to unpack .../fraqtive_0.4.6-3_amd64.deb ...
Unpacking fraqtive (0.4.6-3) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Setting up octave (3.8.1-1ubuntu1) ...
error: couldn't read directory /usr/local/share/octave/packages: No such file or directory
error: called from
    rebuild at line 29 column 7
    pkg at line 505 column 25
dpkg: error processing package octave (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of qtoctave:
 qtoctave depends on octave; however:
  Package octave is not configured yet.

dpkg: error processing package qtoctave (--configure):
 dependency problems - leaving unconfigured
Setting up fraqtive (0.4.6-3) ...
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
Error in function:
Setting up octave (3.8.1-1ubuntu1) ...
error: couldn't read directory /usr/local/share/octave/packages: No such file or directory
error: called from
    rebuild at line 29 column 7
    pkg at line 505 column 25
dpkg: error processing package octave (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of qtoctave:
 qtoctave depends on octave; however:
  Package octave is not configured yet.

dpkg: error processing package qtoctave (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Please provide the output of the following diagnostic commands:

uname -a
lsb_release -crid
sudo dpkg --audit
dpkg -l | grep octave
apt-cache policy octave

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

Also add the output of:

file /usr/local/share/octave

Thanks

Revision history for this message
Jacob (jw0076) said :
#3

jacob@jacob-Q551LN:~$ uname -a

Linux jacob-Q551LN 4.2.0-30-generic #36~14.04.1-Ubuntu SMP Fri Feb 26 18:49:23 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Jacob (jw0076) said :
#4

jacob@jacob-Q551LN:~$ uname -a

Linux jacob-Q551LN 4.2.0-30-generic #36~14.04.1-Ubuntu SMP Fri Feb 26 18:49:23 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
jacob@jacob-Q551LN:~$ ^C
jacob@jacob-Q551LN:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty

-----------------------------------
jacob@jacob-Q551LN:~$ sudo dpkg --audit

The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
 octave GNU Octave language for numerical computations

--------------------------------------------------------
jacob@jacob-Q551LN:~$ dpkg -l | grep octave

ii liboctave3:amd64 4.0.0-3ubuntu2~octave~trusty3 amd64 Shared libraries of the GNU Octave language
iF octave 4.0.0-3ubuntu2~octave~trusty3 amd64 GNU Octave language for numerical computations
ii octave-common 4.0.0-3ubuntu2~octave~trusty3 all architecture-independent files for octave

----------------------------------------------------------
jacob@jacob-Q551LN:~$ apt-cache policy octave

octave:
  Installed: 4.0.0-3ubuntu2~octave~trusty3
  Candidate: 4.0.0-3ubuntu2~octave~trusty3
  Version table:
 *** 4.0.0-3ubuntu2~octave~trusty3 0
        500 http://ppa.launchpad.net/octave/stable/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
     3.8.1-1ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages

--------------------------------------------------------------
jacob@jacob-Q551LN:~$ file /usr/local/share/octave

/usr/local/share/octave: directory

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

You are using a PPA. I suggest you contact the PPA maintainer and report the issue. Alternatively remove the PPA and uninstall the application and use the version from the Ubuntu repository which will install without issue.

Revision history for this message
Jacob (jw0076) said :
#6

May I ask what a PPA is??

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

PPA's are Personal Package Archives.
Someone provides his own versions of software.

PPA's do not undergo the same process of validation as packages in the main ubuntu repositories. PPA keys are cryptographically signed but are still a low security alternative to the main repository and so the user will be installing software at their own risk.

source https://help.ubuntu.com/community/Repositories/Ubuntu#Adding_PPAs

Can you help with this problem?

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

To post a message you must log in.