Upgrading or installing octave 3.8.0 with octave-vrml installed fails in dpkg trigger

Bug #1288136 reported by Walter Garcia-Fontes
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Octave
Unknown
Unknown
octave (Debian)
Fix Released
Unknown
octave (Ubuntu)
Fix Released
High
Mike Miller

Bug Description

I tried to upgrade to Ubuntu 14.04 using "update-manager -d". Everything went smooth, but at the stage of "installing packages" an error started to appear and it said it was caused by "octave". At some point the whole upgrade process aborted.

I completed by uninstalling octave and all associated packages, and issuing "sudo apt-get dist-upgrade" and "sudo apt-get autoremove". The upgrade completely fine.

Then I tried to reinstall octave, and I get the error reported in the attachment "info.txt". Octave was reinstalled nevertheless and so far I think it is working fine, but I always get the ouput shown in the "info.txt" attachment when I try to "sudo apt-get upgrade".

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-release-upgrader-core 1:0.212
ProcVersionSignature: Ubuntu 3.13.0-15.35-generic 3.13.5
Uname: Linux 3.13.0-15-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: Unity
Date: Wed Mar 5 10:10:15 2014
InstallationDate: Installed on 2013-11-28 (96 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to trusty on 2014-03-05 (0 days ago)
VarLogDistupgradeTermlog:

Related branches

Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :
Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

Attachment with output produced by "sudo apt-get upgrade".

Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

This seems to be caused by some of the packages in octave-forge till depending on Octave 3.6.1, and not on the current version 3.8.0.

Octave works fine but these packages are not installed.

Revision history for this message
Brian Murray (brian-murray) wrote :

The upgrade log file shows the following:

Processing triggers for octave (3.6.4-3) ...^M
octave: error while loading shared libraries: libmpi.so.1: cannot open shared object file: No such file or directory^M
dpkg: error processing package octave (--unpack):^M
 subprocess installed post-installation script returned error exit status 127^M

So this seems to be an issue with the octave package.

affects: ubuntu-release-upgrader (Ubuntu) → octave (Ubuntu)
Revision history for this message
Mike Miller (mtmiller) wrote :

Thanks for testing the upgrade and reporting this bug. Are you able to test the upgrade with just Octave, or with some of the packages removed, to help eliminate which ones are the source of the problems? I suspect the problem is with some of the packages that are dependent on Octave and not with Octave by itself. We are in the middle of transitioning Octave in Debian right now, not all of the dependent packages are done yet, and not everything may be correctly rebuilt in Ubuntu at this point. I'll try to do some upgrade tests myself too and see if I can help narrow down the problem packages.

Also do you see a difference between this bug and bug #1288311, or can we mark that as a duplicate of this one?

Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

Thanks, yes, installing only Octave works. The problem is with some packages. "sudo apt-get install octave" works, but "sudo apt-get install octave*" tries to install all packages and it fails to install some of them.

Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

Duplicated bug 1288311 here.

Revision history for this message
Mike Miller (mtmiller) wrote :

Do you (or did you) have the package octave-vrml installed? I think the error you are seeing when trying to install or upgrade all Octave packages at once is due to an Octave bug parsing the octave-vrml package. Please check whether you had octave-vrml installed at the time of the upgrade errors, and if so I will mark this bug appropriately.

I'm still a little concerned about the libmpi.so.1 error during the saucy -> trusty upgrade, not sure where that is coming from, I'll see if I can do an upgrade test and reproduce.

Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

I upgraded another system where I also had all packages installed, but removed octave-vrml first. Now octave installed fine, the upgrade still aborted (looks like mysql configuration problem) but I couldn't find any reference to libmpi.so.1 .

So it looks like the only confirmed problem is octave-vrml

Revision history for this message
Mike Miller (mtmiller) wrote :

Excellent, thanks for checking and confirming that octave-vrml was the source of the problem. Linking related upstream bug reports.

Changed in octave (Ubuntu):
status: New → Confirmed
summary: - Upgrade to Ubuntu 14.04 aborted because octave gave a dependency error
+ Upgrading or installing octave 3.8.0 with octave-vrml installed fails in
+ dpkg trigger
Revision history for this message
Mike Miller (mtmiller) wrote :

Here is a link to the upstream change that fixes this bug in 3.8.0:

http://hg.savannah.gnu.org/hgweb/octave/rev/442bca7dea44

Changed in octave (Debian):
status: Unknown → Confirmed
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

It prevents the package (or a dependent one) from functioning correctly at all.

Changed in octave (Ubuntu):
importance: Undecided → High
Mike Miller (mtmiller)
Changed in octave (Ubuntu):
assignee: nobody → Mike Miller (mtmiller)
status: Confirmed → In Progress
status: In Progress → Confirmed
Changed in octave (Debian):
status: Confirmed → Fix Released
Martin Pitt (pitti)
Changed in octave (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package octave - 3.8.0-5ubuntu5

---------------
octave (3.8.0-5ubuntu5) trusty; urgency=medium

  * Fix installing packages where dependency name contains '-'. (LP: #1288136)
 -- Mike Miller <email address hidden> Mon, 10 Mar 2014 09:11:34 -0400

Changed in octave (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.