Update manager aborts on eclipse-platform-gcj when updating from Dapper to Edgy

Bug #64395 reported by Ernst Persson
4
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Fix Released
Undecided
Matthias Klose
java-gcj-compat (Ubuntu)
Fix Released
Undecided
Matthias Klose

Bug Description

Binary package hint: update-manager

Failed to install "/var/cache/apt/archives/eclipse-platform-gcj_3.1.2-3ubuntu1_i386.deb"

The upgrade aborts now. Please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bugreport.

subprocess new post-removal script returned error exit status 127

Revision history for this message
Ernst Persson (ernstp) wrote :
Revision history for this message
Ernst Persson (ernstp) wrote :
Revision history for this message
Ernst Persson (ernstp) wrote :
Revision history for this message
Ernst Persson (ernstp) wrote :

Right, the term.log has all the gooey details on eclipse-platform-gcj

Revision history for this message
Michael Vogt (mvo) wrote :

Unpacking replacement eclipse-platform-gcj ...
/usr/bin/gcj-dbtool-4.1: error while loading shared libraries: libgcj.so.70: cannot open shared object file: No such file or directory
dpkg: warning - old post-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
dpkg: error processing /var/cache/apt/archives/eclipse-platform-gcj_3.1.2-3ubuntu1_i386.deb (--unpack):
 subprocess new post-removal script returned error exit status 127
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 127
Preparing to replace eclipse-platform 3.1.2-1ubuntu6 (using .../eclipse-platform_3.1.2-3ubuntu1_i386.deb) ...
Unpacking replacement eclipse-platform ...
.2-3ubuntu1_i386.deb) ...
Preparing to replace eclipse-rcp-gcj 3.1.2-1ubuntu6 (using .../eclipse-rcp-gcj_3.1.2-3ubuntu1_i386.deb) ...
Unpacking replacement eclipse-rcp-gcj ...
not open shared object file: No such file or directory
dpkg: error processing /var/cache/apt/archives/eclipse-rcp-gcj_3.1.2-3ubuntu1_i386.deb (--unpack):

Revision history for this message
Matthias Klose (doko) wrote :

the gcj packages are installed and configured, before libgcj7-0 is even installed; currently I cannot see anything about the package beeing tried to install.

Changed in gcj-4.1:
status: Unconfirmed → Needs Info
Revision history for this message
Ernst Persson (ernstp) wrote :

What do you want more info about?

I had Eclipse with -gcj packages installed on Dapper, ran update-manager -c -d and then this happened.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your additional information.

The logs should be fine, no more info needed. I was unable to reproduce this problem on a i386 dapper->edgy upgrade but maybe I had a slightly different set of eclispse packages installed.

Changed in gcj-4.1:
status: Needs Info → Unconfirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

Not sure what's going on here, but it can't be fixed in Edgy now; please investigate and decide whether it needs the "later" milestone I've added for early work in Feisty.

Revision history for this message
Matt Zimmerman (mdz) wrote :

Matthias, please have a look at this for Herd 1

Changed in eclipse:
assignee: nobody → doko
Revision history for this message
Tollef Fog Heen (tfheen) wrote :

This is probably caused by a bug in dh_nativejava where it adds the following snippet to postrm:

if [ -x "/usr/bin/rebuild-gcj-db" ]; then
        /usr/bin/rebuild-gcj-db
fi

rebuild-gcj-db can exist on the file system due to the package being unpacked (but not configured) without it being usable, so dh_nativejava should probably have an || true there.

doko, can you please get this fixed?

Revision history for this message
Matthias Klose (doko) wrote :

fixed in java-gcj-compat_1.0.65-8ubuntu2

Changed in java-gcj-compat:
assignee: nobody → doko
status: Unconfirmed → Fix Released
Revision history for this message
Matthias Klose (doko) wrote :

reuploaded eclipse 3.2.1-2ubuntu1

Changed in eclipse:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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