Rhythmbox automatic plugin installation is broken in ubuntu

Bug #1936705 reported by crvi
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
rhythmbox (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Error message during automatic plugin installation:
---------------------------------------------------

GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop
.PackageKit was not provided by any .service files

Full log:
---------

(19:20:01) [0x7fe898005900] [impl_get_missing_plugins] rb-encoder-gst.c:783: trying to check profile mp3 for missing plugins
(19:20:01) [0x7fe898005900] [impl_get_missing_plugins] rb-encoder-gst.c:799: didn't get request pad, profile mp3 doesn't work
(19:20:01) [0x7fe898005900] [impl_get_missing_plugins] rb-encoder-gst.c:824: encoder found, profile mp3 works
(19:20:01) [0x7fe898005900] [impl_get_missing_plugins] rb-encoder-gst.c:843: missing plugin for profile mp3: gstreamer|1.0|rhythmbox|ID3 tag
 muxer|encoder-application/x-id3
Rhythmbox-Message: 19:20:01.178: Missing plugin: gstreamer|1.0|rhythmbox|ID3 tag muxer|encoder-application/x-id3
(19:20:01) [0x7fe898005900] [rb_missing_plugins_install] rb-missing-plugins.c:230: gst_install_plugins_async() result = 200
** Message: 19:20:01.204: PackageKit: xid = 0
** Message: 19:20:01.204: PackageKit: desktop_id = (null)
** Message: 19:20:01.204: PackageKit: Codec nice name: ID3 tag muxer
** Message: 19:20:01.204: PackageKit: structure: gstreamer1(encoder-application/x-id3)()(64bit)
** Message: 19:20:01.208: PackageKit: Did not install codec: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop
.PackageKit was not provided by any .service files
(19:20:01) [0x7fe898005900] [on_plugin_installation_done] rb-missing-plugins.c:108: res = 1 (not-found)
Rhythmbox-Message: 19:20:01.285: No installation candidate for missing plugins found.

More details at:
----------------

https://gitlab.gnome.org/GNOME/rhythmbox/-/issues/1898

Revision history for this message
crvi (crvi) wrote :

> Missing plugin installation fails when clicking on "Install missing plugins" in Preferences -> Music.

This seems to be due to the fact that Ubuntu ships it's own package manager ( snap-store / Ubuntu software ), and not gnome-software. Installing gnome-software fixes the above dbus error, but the ID3 muxer is still not found.

@seb128: Thoughts ?

Revision history for this message
crvi (crvi) wrote :

Sébastien Bacher:

Thanks for pinging, it does sound a bug on the Ubuntu side instead, we will investigate.

Did you have snap store active when you tried?

Revision history for this message
crvi (crvi) wrote (last edit ):

> Did you have snap store active when you tried?

Either ways there was no difference.

Trying the following command should invoke gnome-software, but it fails with d-bus error.

# /usr/libexec/pk-gstreamer-install "gstreamer|1.0|rhythmbox|ID3 tag muxer|encoder-application/x-id3"
** Message: 11:07:11.147: PackageKit: xid = 0
** Message: 11:07:11.147: PackageKit: desktop_id = (null)
** Message: 11:07:11.147: PackageKit: Codec nice name: ID3 tag muxer
** Message: 11:07:11.147: PackageKit: structure: gstreamer1(encoder-application/x-id3)()(64bit)
** Message: 11:07:11.159: PackageKit: Did not install codec: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files

Revision history for this message
crvi (crvi) wrote :

Since, org.freedesktop.PackageKit.service dbus service is provided by gnome-software, it succeeds after installing gnome-software package.

$ apt-file search org.freedesktop.PackageKit | grep /org.freedesktop.PackageKit.service

gnome-software: /usr/share/dbus-1/services/org.freedesktop.PackageKit.service
packagekit: /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service

Revision history for this message
Sebastien Bacher (seb128) wrote :

testing on hirsute, calling pk-gstreamer-install as described in #3 errors out if snap-store isn't started but doesn't if it is (it still doesn't seem to work correctly but triggers a notifications with actions)

Revision history for this message
crvi (crvi) wrote :

> testing on hirsute, calling pk-gstreamer-install as described in #3 errors out if snap-store isn't started but doesn't if it is

Right. That was weird.

> (it still doesn't seem to work correctly but triggers a notifications with actions)

I'm not seeing any notifications here.

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rhythmbox (Ubuntu):
status: New → Confirmed
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.