← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 1938641] [NEW] Without sessioninstaller (org.freedesktop.PackageKit dbus service provider) user is unable to install applications to handle unknown filetypes

 

You have been subscribed to a public bug:

Steps to reproduce:
1. Have Ubuntu MATE 20.04 LTS (or newer) installed
2. Obtain some file which is unknown for your system (for example DXF)
3. Open Caja, navigate to this file, try to open it
4. Caja opens the dialog with text:

    Could not display "/home/user/file.dxf"

    There is no application installed for DXF vector image files.
    Do you want to search for an application to open this file?

  User click 'Yes'

Expected results:
* software installation dialog is opened, DXF file will be associated with LibreCAD and opened in it

Actual results:
* no dialog is opened after clicking on 'Yes' button


Notes:

1. `dbus-monitor` says the following after click on 'Yes':

method call time=1627826047.524366 sender=:1.27 -> destination=org.freedesktop.PackageKit serial=373 path=/org/freedesktop/PackageKit; interface=org.freedesktop.PackageKit.Modify; member=InstallMimeTypes
   uint32 14680581
   array [
      string "image/vnd.dxf"
   ]
   string "hide-confirm-search"
error time=1627826047.524401 sender=org.freedesktop.DBus -> destination=:1.27 error_name=org.freedesktop.DBus.Error.ServiceUnknown reply_serial=373
   string "The name org.freedesktop.PackageKit was not provided by any .service files"
method call time=1627826047.524930 sender=:1.27 -> destination=org.freedesktop.DBus serial=374 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.freedesktop.PackageKit'"
method return time=1627826047.524946 sender=org.freedesktop.DBus -> destination=:1.27 serial=299 reply_serial=374
method call time=1627826047.525258 sender=:1.27 -> destination=org.freedesktop.DBus serial=375 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.PackageKit',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',path='/org/freedesktop/PackageKit',arg0='org.freedesktop.PackageKit.Modify'"
method return time=1627826047.525273 sender=org.freedesktop.DBus -> destination=:1.27 serial=300 reply_serial=375
method call time=1627826047.525573 sender=:1.27 -> destination=org.freedesktop.DBus serial=376 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.PackageKit',interface='org.freedesktop.PackageKit.Modify',path='/org/freedesktop/PackageKit'"
method return time=1627826047.525588 sender=org.freedesktop.DBus -> destination=:1.27 serial=301 reply_serial=376
method call time=1627826048.835558 sender=:1.3 -> destination=org.freedesktop.DBus serial=26 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=ReleaseName
   string "org.freedesktop.ReserveDevice1.Audio0"
signal time=1627826048.835589 sender=org.freedesktop.DBus -> destination=:1.3 serial=47 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string "org.freedesktop.ReserveDevice1.Audio0"
signal time=1627826048.835598 sender=org.freedesktop.DBus -> destination=(null destination) serial=79 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string "org.freedesktop.ReserveDevice1.Audio0"
   string ":1.3"
   string ""
method return time=1627826048.835609 sender=org.freedesktop.DBus -> destination=:1.3 serial=48 reply_serial=26
   uint32 1

2. This problem does not exist in Ubuntu MATE 18.04 LTS. Someone with big competences have removed the sessioninstaller package from Debian as per https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755504 .
3. The problem may be fixed as simple as 

   cd /tmp
   wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/sessioninstaller/sessioninstaller_0.20+bzr150-0ubuntu4.1_all.deb
   sudo apt-get install /tmp/sessioninstaller_0.20+bzr150-0ubuntu4.1_all.deb

So my verdict is that sessioninstaller package should be reintroduced in
Ubuntu as soon as possible!

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: caja 1.24.1-0ubuntu1
ProcVersionSignature: Ubuntu 5.11.0-20.21+21.10.1-generic 5.11.21
Uname: Linux 5.11.0-20-generic x86_64
ApportVersion: 2.20.11-0ubuntu67
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: MATE
Date: Sun Aug  1 17:07:01 2021
InstallationDate: Installed on 2021-07-30 (1 days ago)
InstallationMedia: Ubuntu-MATE 21.10 "Impish Indri" - Alpha amd64 (20210730)
SourcePackage: caja
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: sessioninstaller
     Importance: Undecided
         Status: Invalid

** Affects: ubuntu-mate
     Importance: Undecided
         Status: Confirmed

** Affects: librecad (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Affects: ubuntu-mate-meta (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug focal hirsute impish
-- 
Without sessioninstaller (org.freedesktop.PackageKit dbus service provider) user is unable to install applications to handle unknown filetypes
https://bugs.launchpad.net/bugs/1938641
You received this bug notification because you are a member of Edubuntu Bugsquad, which is subscribed to librecad in Ubuntu.