update-manager wants to install openjdk-6-jre:i386

Bug #924096 reported by Alistair Buxton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager-core (Ubuntu)
New
Medium
djodjo

Bug Description

I have a 64 bit system upgraded from oneiric. Every time I run update manager it says that two "new installs" are available:

openjdk-6-jre-headless:i386
openjdk-6-jre:i386

If I allow it to attempt installing these packages, dpkg crashes with:

dpkg: error processing /var/cache/apt/archives/openjdk-6-jre-headless_6b24~pre4-1ubuntu1_i386.deb (--unpack):
 conffile './etc/java-6-openjdk/security/java.policy' is not in sync with other instances of the same package
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

(full log also attached attached)

After this has happened apt is in a broken state. sudo apt-get -f install will not fix it, as it just tries again and fails to install the openjdk-6-jre:i386 package. It is necessary to go to a terminal and run "apt-get -f purge icedtea-6-jre-cacao:i386 icedtea-6-jre-jamvm:i386" before any further package tasks can be performed.

If I run "apt-get dist-upgrade" then it tells me there are no updates. Only update-manager is trying to install those i386 packages.

I have tried purging everything java related from the system, 32 bit or 64 bit, but those two "updates" just won't go away.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: openjdk-6-jre (not installed)
ProcVersionSignature: Ubuntu 3.2.0-12.20-generic 3.2.2
Uname: Linux 3.2.0-12-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Tue Jan 31 04:49:55 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110921.2)
SourcePackage: openjdk-6
UpgradeStatus: Upgraded to precise on 2012-01-29 (1 days ago)

Related branches

Revision history for this message
Alistair Buxton (a-j-buxton) wrote :
tags: added: multiarch
Revision history for this message
Michael Vogt (mvo) wrote :

(from irc):

The output of apt-cache policy:

openjdk-6-jre-headless:i386:
  Installed: (none)
  Candidate: 6b24~pre4-1ubuntu1
  Version table:
     6b24~pre4-1ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main i386 Packages
openjdk-6-jre-headless:
  Installed: 6b24~pre4-1ubuntu1
  Candidate: 6b24~pre4-1ubuntu1
  Version table:
 *** 6b24~pre4-1ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status

Michael Vogt (mvo)
Changed in openjdk-6 (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Alistair Buxton (a-j-buxton) wrote :

This bug was opened against openjdk-6 but describes the update-manager end of the bug because someone blindsided me with "that's a multiarch bug". If you are going to fix the update-manager end, should I change the affected project on this bug to update-manager and then file a new bug against openjdk-6 that specifically addresses the inability to simultaneously install 32 bit and 64 bit?

It seems to me that were it not for the multiarch bug here, update-manager would have quietly installed that i386 package and I wouldn't have seen it - but other than that the two problems are completely unrelated.

Revision history for this message
Alistair Buxton (a-j-buxton) wrote :

The openjdk multiarch bugs turns out to be already reported here:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/879167

Therefore moving this bug to update-manager for reasons outlined in previous comment.

affects: openjdk-6 (Ubuntu) → update-manager (Ubuntu)
djodjo (stjoeldesorgue)
affects: update-manager (Ubuntu) → update-manager-core (Ubuntu)
Changed in update-manager-core (Ubuntu):
assignee: nobody → djodjo (stjoeldesorgue)
status: In Progress → New
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.