Java is not included in ubuntu-restricted-extras

Bug #359934 reported by poppop
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntu-restricted-extras (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ubuntu-restricted-extras

The description of this package cites java runtime environment but it is not installed.
The description or dependencies should be modified.

Extract of description :

Installing this package will pull in support for MP3 playback and
decoding, support for various other audio formats (GStreamer plugins),
Microsoft fonts, Java runtime environment, Flash plugin, LAME (to create
compressed audio files), and DVD playback.

ProblemType: Bug
Architecture: i386
Dependencies:

DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: ubuntu-restricted-extras 30
ProcEnviron:
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-restricted-extras
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Przemek K. (azrael) wrote :

related bug: Bug #366039

Revision history for this message
Tommy Trussell (tommy-trussell) wrote :

The description needs to be clear that Java is NO LONGER included in this package because an unrestricted version is available. The description could suggest a recommended open version, such as recommending the IcedTea6 plugin (which I presume would have the appropriate OpenJDK packages as dependencies).

For those of us who used this package as a "shortcut" for setting up a new system might want a separate "media" package if the "restricted" nomenclature is no longer appropriate.

Revision history for this message
CeesSluis (testcees) wrote :

Java is no longer included in the 32 bit version. But the 64 bit version still installs both the sun as the openjdk java.

Revision history for this message
Christian Wolf (christianwolf) wrote :

Unfortunately, the web plugin for OpenJDK is broken in Jaunty and Karmic (and might stay broken...), see bug #344705: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/344705

For the most users, and all Ubuntu beginners, OpenJDK in this current state is useless; Java applets only work with the sun-java-6 packages.

 I therefore suggest to add the package "sun-java6-plugin" as dependency until the OpenJDK plugin will work again (which might be Karmic+1....).

Changed in ubuntu-restricted-extras (Ubuntu):
status: New → In Progress
assignee: nobody → Simon Olofsson (simono)
Revision history for this message
No (11111nonononono-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

An updated package is now in my testing PPA. Please test it and report if it fixes this issue.
Thanks!
https://launchpad.net/~simono/+archive/ppa

Changed in ubuntu-restricted-extras (Ubuntu):
status: In Progress → Incomplete
Revision history for this message
Christian Wolf (christianwolf) wrote :

Your package looks fine but is not fetching anything here (neither Java nor anything else, fresh Karmic Beta, all additional updates installed).

Revision history for this message
No (11111nonononono-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

Christian, I'm not really sure what you mean. When I add the PPA to the Software sources on the Karmic Beta Live CD and do a sudo aptitude install ubuntu-restricted-extras it wants to install sun-java6-plugin along with many other packages.

Revision history for this message
Christian Wolf (christianwolf) wrote :

Simon,

I tried again, still not pulling any of the dependencies it is supposed to pull. It just quietly installs, and that is it. I tried with Gdebi and also dpkg -i from the command line. However, I can not rule out that (my) Karmic Beta installation is broken - yesterday I had problems fecthing updates and today, Gdebi window does not want to close.

Revision history for this message
No (11111nonononono-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

I'm not sure if gdebi installs recommended software. And dpkg doesn't fetch dependencies at all.
What you need to do is:
Add ppa:simono/ppa in the Ubuntu Software Center (under Software Sources). Now you can install the package (check if the version is 37~ppa1).

Revision history for this message
No (11111nonononono-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

Christian, can you confirm that my package fixes your issue? karmic is approaching and it would be nice if we could get this in before it's too late.

Revision history for this message
Christian Wolf (christianwolf) wrote :

Your package is a s good as the .36, it is pulling all the goodies from the repositories incl. Sun Java plugin, but only when installed via synaptic from your PPA as additional software source.

It is, like the "original" metapackage, not doing anything when being installed via direkt download and gdebi as it only "recommends" but does not "requires" the other packages.

So your package is as good as the former and does pull sun-java6-plugin, but I am really surprised why Michael Vogt chose this way - people coming from windows, trying to download and install the package will think it is broken as it does not do the job. Not your fault, but IMHO a design bug in the original ubuntu-restricted-extras.

Revision history for this message
No (11111nonononono-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

The old version (36) didn't recommend sun-java6-plugin on i386 which 37 does.
I don't think that downloading the package and installing it via gdebi is a common use case.
It is a recommendation because ubuntu-restricted-extras is a meta-package. The nice thing about recommends is, that you can de-select them.

Changed in ubuntu-restricted-extras (Ubuntu):
status: Incomplete → Confirmed
assignee: Simon Olofsson (simono) → nobody
Revision history for this message
No (11111nonononono-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :
Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

The recommends will not be changed back to depends - this allows people to remove elements of the restricted extras, without removing the restricted-extras package itself.

Revision history for this message
No (11111nonononono-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

Sarah, exactly. That's why I'm proposing to to add sun-java6-plugin as a recommendation to u-r-e.

Revision history for this message
Christian Wolf (christianwolf) wrote :

Thank you Simon for updating the package.

Re the "recomends" issue, I do not want to start a discussion here, since the original bug is fixed, but as a last suggestion here:

Please consider that people who want to remove single packages are not those who actually need this meta-package. They know how to use package management and could install the required packages without *-restricted-extras.

The beginners and Windows converts have no use from this package in its current form as it is not working when they install it as beginners do - via direkt download and double click. Again: Those who can install it via package mangement actually do not need *-restricted-extras. And for the target audience, the package in its current form is useless.

It does not matter too much in reality anymore, as more and more beginners use Ubuntu Tweak and get the meta package from there, but this is IMHO (no offense intended) a classical design bug, where a valid technic argument renders the software actual useless for the target audience.

Thank you again for fixing!

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

If people are downloading debs via direct download, and double clicking, they're doing it wrong. We deliberately have a very clear add/remove programs section, which is the simplified version of synaptic, and what people should be using. It is built for beginners, and is easier to use than search+find+download+double click - not to mention, gives descriptions for software before downloading them.

If we have documentation about needing to direct download and double click to get software packages which are easily available in the standard repositories, this needs to be changed. Please point these links out if you have seen them.

Revision history for this message
Dean Sas (dsas) wrote : Re: [Bug 359934] Re: Java is not included in ubuntu-restricted-extras

Sarah Hobbs wrote:
> If we have documentation about needing to direct download and double
> click to get software packages which are easily available in the
> standard repositories, this needs to be changed. Please point these
> links out if you have seen them.

The system documentation tells users to use software centre. It later
mentions synaptic and after that mentions that you can download and
install software but that this is not recommended.

How many people actually read it vs continuing on with their Windows/OSX
behaviour is another things..

Revision history for this message
Benjamin Drung (bdrung) wrote :

I have applied your patch, changed your changelog entry to make your change clearer (check the changelog for version 35), and fix some lintian warnings.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-restricted-extras - 37

---------------
ubuntu-restricted-extras (37) lucid; urgency=low

  [ Simon Olofsson ]
  * Prefer sun-java6-plugin over icedtea6-plugin on i386, too (LP: #359934)

  [ Benjamin Drung ]
  * Bump Standards-Version to 3.8.3
  * Add ${misc:Depends} to Depends
  * Remove unsused ${*-restricted-extras:Depends} from Depends
  * Refer to versioned GPL-2
  * debian/rules: Remove binary-indep target tasks, because we do not build
    architecture-independent packages
 -- Benjamin Drung <email address hidden> Sun, 03 Jan 2010 15:56:07 +0100

Changed in ubuntu-restricted-extras (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
No (11111nonononono-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

Thanks, Benjamin!

Revision history for this message
Heimen Stoffels (vistaus) wrote :

Why is Java now again preferred over IcedTea? Java isn't getting updates from Ubuntu since it is in Multiverse. And IcedTea works like a charm since 9.10

Revision history for this message
Przemek K. (azrael) wrote :

I think it was because of Bug #344705 which was mentioned earlier here.

Revision history for this message
No (11111nonononono-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

Vistaus, Sun's Java isn't "preferred" over IcedTea. It's just that IcedTea might not work for everybody so were including an alternative in ubuntu-restricted-extras. u-r-e isn't installed by default. Hopefully we can remove u-r-e at all, when there's an open source alternative for all the packages included :)

Revision history for this message
Heimen Stoffels (vistaus) wrote :

So users of the restricted extras have to stick with a not-by-ubuntu updated Sun Java? Nice idea! Not.

Revision history for this message
Pjotr12345 (computertip) wrote :

Vistaus +1

It's completely irresponsible, to put an outdated and insecure JRE in ubuntu-restricted-extras. Either put a secure version of JRE in u-r-e, and then keep JRE secure, by providing updates for it. Or don't put it in u-r-e at all, and preferably not even in the repo's.

Nearly everyone installs u-r-e in Ubuntu. This way, they are all at risk, because few people realize that thereby they install an insecure JRE version. I think this is totally and utterly unacceptable.

Revision history for this message
Benjamin Drung (bdrung) wrote :

ubuntu-restricted-extras contains restricted in its name. In an ideal world you wouldn't need this package. The switched dependency is due to bug #344705. When the IcedTea plugin works like Sun's Java plugin, the dependencies can be changed back.

BTW, according to popcon [1] 25 % have ubuntu-restricted-extras installed.

[1] http://popcon.ubuntu.com/

Revision history for this message
Dave Stroud (bigdavesr) wrote :

This is still a problem in lucid. Icetea does not work for me. and I cant install sun java.This needs to be fixed.

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.