After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 743336 - codec installation exits if just a single package of the set is already installed
codec installation exits if just a single package of the set is already insta...
Status: RESOLVED OBSOLETE
Product: gnome-packagekit
Classification: Core
Component: general
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-packagekit-maint
gnome-packagekit-maint
Depends on:
Blocks:
 
 
Reported: 2015-01-22 10:44 UTC by Kamil Páral
Modified: 2015-05-28 08:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
default - missing some packages (557.92 KB, video/webm)
2015-01-22 10:44 UTC, Kamil Páral
Details
default - all packages installed (685.29 KB, video/webm)
2015-01-22 10:44 UTC, Kamil Páral
Details
rpmfusion - missing some packages (585.49 KB, video/webm)
2015-01-22 10:44 UTC, Kamil Páral
Details

Description Kamil Páral 2015-01-22 10:44:06 UTC
This was discovered with the help of a local Fedora ambassador, who pointed to people complaining that can't play videos on Fedora, even though they have rpmfusion enabled. Here's what I've found out:

I have a default installation of Fedora 21 (no rpmfusion), and I try to play this movie:
https://download.blender.org/durian/trailer/sintel_trailer-480p.mp4

Totem says some codecs are missing and it wants to install 4 gstreamer packages. However, 2 of them are already installed. If I confirm "Install", it says:

Failed to install software
The package that is trying to be installed is already installed.

But the additional 2 packages were not installed. It seem that PK refused the whole operation just because *some* of those packages were already installed.

See "default - missing some packages.webm".

Quite interestingly, it behaves exactly the same when I installed all of those 4 packages manually (using yum). It still wants to install those 4 packages, and it again ends with the same message. This time, it is right, but I would expect that it realizes this sooner, before actually asking me to install those 4 packages. There's no point in asking to install them when they are already installed, right?

See "default - all packages installed.webm".

As expected, Fedora is not able to play the movie even with all the packages installed, because there's no h264 codec available. So I added the rpmfusion repository and tried the same approach. Totem wanted to install more codecs, but PK exited again prematurely, because some existing packages were already installed.

See "rpmfusion - missing some packages.webm".

The last case is particularly inconvenient, because it precludes graphical users from making videos work in Fedora. They need yum in order to do that.


PackageKit-1.0.4-1.fc21.x86_64
gnome-shell-3.14.3-1.fc21.x86_64
totem-3.14.1-1.fc21.x86_64
gnome-packagekit-3.14.2-1.fc21.x86_64
Comment 1 Kamil Páral 2015-01-22 10:44:27 UTC
Created attachment 295156 [details]
default - missing some packages
Comment 2 Kamil Páral 2015-01-22 10:44:43 UTC
Created attachment 295157 [details]
default - all packages installed
Comment 3 Kamil Páral 2015-01-22 10:44:59 UTC
Created attachment 295158 [details]
rpmfusion - missing some packages
Comment 4 Kamil Páral 2015-01-22 10:50:05 UTC
Just a note, after all of this, if I install gstreamer1-libav (one of those packages totem wants to install, but fails to do so), the movie plays just fine.
Comment 5 Jiri Eischmann 2015-01-22 11:03:29 UTC
I can confirm it behaves the same on my computer. (Fedora 21)
Comment 6 Kamil Páral 2015-01-22 11:05:22 UTC
CCing Bastien for some Totem-related advice.
Comment 7 Bastien Nocera 2015-01-22 12:35:54 UTC
(In reply to comment #0)
<snip>
> Totem says some codecs are missing and it wants to install 4 gstreamer
> packages. However, 2 of them are already installed.

Totem doesn't choose which packages to install, it just passes the "requires" to the gstreamer helper. You can see what's requested on the command-line when reproducing the problem.
Comment 8 Michael Catanzaro 2015-01-22 13:35:42 UTC
This is https://bugzilla.redhat.com/show_bug.cgi?id=1168963 and I think it broke sometime between F19 and F20 (when we still used the yum backend!).
Comment 9 Kamil Páral 2015-05-28 08:03:51 UTC
This problem is resolved with Fedora 22 and GNOME 3.16. gnome-software now handles codec installation and it works as expected.

I'm not sure if I should close it or leave it open against gnome-packagekit. Reopen if needed.