#987176 plasma-desktop: Default application for .deb files is broken on clean install

Package:
plasma-desktop
Source:
plasma-desktop
Description:
Tools and widgets for the desktop
Submitter:
Caleb McKay
Date:
2021-12-11 13:21:04 UTC
Severity:
important
#987176#5
Date:
2021-04-19 02:14:30 UTC
From:
To:
Dear Maintainer,



   * What led up to the situation? This was a clean install of Debian 11 on multiple computers.
   * What exactly did you do (or not do) that was effective (or
     ineffective)? Tried to install a .deb by double clicking on it in Dolphin
   * What was the outcome of this action? Nothing happens
   * What outcome did you expect instead? I would expect the default application associated with .deb files out of the box, apper, would launch. This can be worked around with simply associating deb files with something else, like Discover. But this is a really poor out of the box experience for users. Whatever bug that prevents apper from launching should be fixed or the default application on a clean install should be changed.

#987176#10
Date:
2021-04-19 08:02:55 UTC
From:
To:
Jo

With an existing XXX.deb (one that you wanted to open), what does (on
the command line)
	xdg-mime query filetype XXX.deb
say?

In my case it is
	application/vnd.debian.binary-package

After that, what does
	xdg-mime query default $(xdg-mime query filetype XXX.deb)
say?

In my case it is
	org.kde.discover.desktop

This is a problem of mime type associations, and this is - honestly
spoken - completely broken in Debian at the moment. THere is work going
on but I am not sure how far this has proceeded.

Best

Norbert

#987176#15
Date:
2021-04-24 03:13:13 UTC
From:
To:
application/vnd.debian.binary-package

and

org.kde.apper.desktop

Is what I get on a clean installation.

Perhaps it is different when installing from the live CD? I haven't tried installing from the standard installer with Bullseye, but I am pretty sure the with Buster I would get the same result even in the standard install. I'd be happy to test it if it would be any help.

But I think it isn't so much a problem with mime associations in general. There seems to be some outstanding issues with apper when I glance through the bug reports. Switching the file association to discover works fines. And when I do so I get the same results you do when running

xdg-mime query filetype XXX.deb

org.kde.discover.desktop

Thanks,

Caleb

&references=<161879847068.4985.8620406809901655187.reportbug@caleb-omen>

 <YH05L10oK7HqXqgn@bulldog.preining.info>

#987176#20
Date:
2021-12-11 13:17:53 UTC
From:
To:
Same here with Debian 11.1 just installed with netinst ISO.
Very bad for out-of-the-box user experience.

Mauro Molinari