Ticket #692 (closed defect: fixed)

Opened 14 years ago

Last modified 13 years ago

icedtea6-plugin doesn't get installed on -workstation

Reported by: jdreed Owned by:
Priority: high Milestone: Natty Beta
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description

Despite debathena-extra-software recommending icedtea6-plugin, it does not get installed. (It gets installed on -cluster because the kiosk package now depends on it as a hack to fix #675).

We should figure out why and fix it.

Change History

comment:1 Changed 13 years ago by jdreed

  • Priority changed from low to high
  • Milestone changed from IAP 2011 to Natty Alpha

We should see if this is still present in Natty (or Maverick, for that matter).

comment:2 follow-up: ↓ 4 Changed 13 years ago by jdreed

  • Status changed from new to proposed

Wow, we suck. r24751 added icedtea6-plugin to -workstation Recommends:, but, uh, we never built it.

comment:3 Changed 13 years ago by jdreed

  • Status changed from proposed to new

Nope, that's not the problem. With the new version, aptitude now says:

The following packages are RECOMMENDED but will NOT be installed:        
    icedtea6-plugin

No amount of coaxing can convince apt{-get,itude} to tell me why it thinks it can't install icedtea6-plugin.

comment:4 in reply to: ↑ 2 Changed 13 years ago by jdreed

Replying to jdreed:

Wow, we suck. r24751 added icedtea6-plugin to -workstation Recommends:, but, uh, we never built it.

Er, extra-software, not -workstation.

Somebody who knows more about APT than me needs to look into this. Note that aptitude -r install will pull icedtea6-plugin in _if_ workstation has not already been installed. I will also try and repro on Natty -- if it's just Lucid, we may not care that much.

comment:5 Changed 13 years ago by jdreed

Geoff looked at this and believes the explanation of the behavior is as follows:
On a production workstation, extra-software recommends openjdk-6-jdk, which depends openjdk-6-jre, which _suggests_ icedtea6-plugin. Aptitude has already looked at icedtea6-plugin and decided not to install it, so when it shows up in the new extra-software as a recommendation, aptitude says "Well, I didn't install it before, and there must have been a good reason for that, so I'm not going to do it now". Geoff may poke further, but the right answer here is to make our equivs packages be not-equivs packges, so we can do distro-specific changes. (The only reason icedtea6-plugin is a recommendation and not a dependency is that we recommend sun-java6-plugin | icedtea6-plugin). In post-Karmic, sun-java6-plugin doesn't exist, so we should just depend icedtea6-plugin, except we can't do that using equivs packages.

comment:6 Changed 13 years ago by jdreed

Er, wait, can't we solve this by just:

Depends: sun-java6-plugin | icedtea6-plguin

comment:7 Changed 13 years ago by jdreed

  • Status changed from new to committed

Anders notes that icedtea6-plugin is usable on all platforms on which it exists now, so we can just Depend: icedtea6-plugin if it exists, and if it doesn't (Lenny), the user needs to deal on their own.
r25056

comment:8 Changed 13 years ago by jdreed

  • Status changed from committed to closed
  • Resolution set to fixed

extra-software 1.0.1 fixes this.

Note: See TracTickets for help on using tickets.