Bug 1168963 - PackageKit codec installation is broken (attempts to install packages that are already present)
Summary: PackageKit codec installation is broken (attempts to install packages that ar...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-packagekit
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-28 14:40 UTC by Berend De Schouwer
Modified: 2015-12-02 16:35 UTC (History)
15 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-12-02 05:18:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 743336 0 None None None Never

Description Berend De Schouwer 2014-11-28 14:40:44 UTC
Description of problem:

On viewing certain websites with videos, Epiphany prompts a PackageKit prompt:
'PackageKit-gstreamer-plugin requires an additional plugin to decode this file.  The following plugin is required: H.264.  Do you want to search for this now?'

The options are 'cancel' and 'search'

'search' prompts to install:
- gstreamer-crystal-hd (no gstreamer1)
- gstreamer1-plugins-bad-free[1]
- gstreamer1-vaapi

'install' prompts:
'The package that is trying to install is already installed'


Version-Release number of selected component (if applicable):

epiphany-3.14.2-2.fc21.x86_64
gstreamer1-1.4.4-1.fc21.x86_64


How reproducible:

Every time for certain websites.


Steps to Reproduce:

1. go to http://www.nieuwsblad.be/sportwereld/cnt/dmf20141127_01398835
2. click play
3.


Actual results:

Popup to install already-installed packages.


Expected results:

One of:
- an attempt to install the actually needed plugins
- a prompt saying "plugin unavailable"
- play the video


Additional info:

H.264 is, I believe, actually provided by gstreamer1-plugins-ugly (/usr/lib64/gstreamer-1.0/libgstx264.so) .  This is installed.

Related:

https://bugzilla.redhat.com/show_bug.cgi?id=1051635
https://bugs.webkit.org/show_bug.cgi?id=135972


[1] Really?  a webbrowser plugin wants to install something that's known-bad?

Comment 1 Michael Catanzaro 2014-11-28 16:23:31 UTC
I can confirm this bug; codec installation in F21 is completely borked in the way described in comment #0, 100% reproducible for me with or without rpmfusion installed. I've checked with our gstreamer expert and he thinks this is most likely not a WebKit bug, so reassigning to PackageKit.

It was also completely broked in F20, but differently-so: in F20 PackageKit would claim that codec installation was successful, but then ask the user to install the exact same codecs again and again forever when trying to watch a video. So F21 is probably an improvement in that at least there's an error message.

(In reply to Berend De Schouwer from comment #0)
> [1] Really?  a webbrowser plugin wants to install something that's known-bad?

It means the codecs are shoddy in some way and therefore unsupported, but that's better than no codec at all. See [1] if you're curious about the naming scheme.

[1] http://gstreamer.freedesktop.org/releases/gst-plugins-bad/1.4.4.html

Comment 2 Michael Catanzaro 2014-11-28 16:35:24 UTC
Oh, example video: anything on YouTube: e.g. http://www.youtube.com/watch?v=UZ_L3b7osx4

Comment 3 Berend De Schouwer 2014-11-28 16:57:55 UTC
I can usually play youtube videos :)

But not this one: not available in my country (government or google bug; not a packagekit bug)

Comment 4 Bastien Nocera 2015-01-22 13:50:10 UTC
gstreamer-crystal-hd and gst-vaapi shouldn't be an option for auto-installation (they need to disable the addition of Provides for MPEG-4), and possibly be installed by default (for the crystalhd one), as it should work out of the box if the system has such hardware.

Comment 5 Kamil Páral 2015-01-22 15:43:30 UTC
(In reply to Bastien Nocera from comment #4)
> gstreamer-crystal-hd and gst-vaapi shouldn't be an option for
> auto-installation (they need to disable the addition of Provides for
> MPEG-4),

I have filed bug 1184975 and bug 1184977.

Comment 6 Nicolas Chauvet (kwizart) 2015-01-23 08:36:41 UTC
I agree that both gst-crystalhd/vaapi shouldn't provides h264 capability. (patch welcomed).
Both depend on hardware that might or might not be present at runtime (thinking of a livemedia).
I also think that having them installed by default would be the way to go, but having gst-vaapi by default often lead to issue (specially reported with firefox) when used hit hardware specifics issues. That was probably removed from the default set. 
I will try to set if things settle with libva 1.5.x branch

Also one question about , is there a plan to rename to gstreamer over gstreamer1 at some point (removing obsolete alternate gst version). Does the detection plugin rely on the package name to discover the appropriate version ? (as #c1 suggests) ?

Comment 7 Kamil Páral 2015-06-01 09:31:29 UTC
This has been resolved in GNOME 3.16 in Fedora 22.

Comment 8 Fedora End Of Life 2015-11-04 11:38:44 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 9 Berend De Schouwer 2015-11-04 12:06:13 UTC
Looks like it is resolved for me in F23.

Comment 10 Fedora End Of Life 2015-12-02 05:18:52 UTC
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.