Bug 460279 - In presence of multiple alternative packages Discover does not provide any means to disambiguate
Summary: In presence of multiple alternative packages Discover does not provide any me...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-12 07:34 UTC by ratijas
Modified: 2022-10-13 01:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Discover - page for emacs-nox (159.84 KB, image/png)
2022-10-12 07:37 UTC, ratijas
Details
KRunner - emacs (51.76 KB, image/png)
2022-10-12 07:37 UTC, ratijas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ratijas 2022-10-12 07:34:44 UTC
SUMMARY

Tried installing emacs, ended up with not *that* package.

STEPS TO REPRODUCE
1. Open Discover
2. Search for "emacs"
3. Verify that in Sources dropdown menu "extra - 28.2.1" repository is selected.
4. Check that the screenshot on the page shows a GUI version of emacs.
5. Install it, run from KRunner.

OBSERVED RESULT
Turns out an emacs-nox got installed, which is version of emacs without X11 client.

EXPECTED RESULT
Discover should've made it clear which exact package is about to be installed.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE: git-master
Qt Version: 5.15.6
Kernel Version: 5.19.13-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: G752VT
System Version: 1.0
Comment 1 ratijas 2022-10-12 07:37:29 UTC
Created attachment 152726 [details]
Discover - page for emacs-nox

See also: https://wiki.archlinux.org/title/Emacs

There are at least 3 versions in official Arch repositories, one of which is named simply "emacs" — exact match to what I've been searching for.
Comment 2 ratijas 2022-10-12 07:37:41 UTC
Created attachment 152728 [details]
KRunner - emacs

Oh, by the way, I opened Discover from "Software Center" suggestions in KRunner.
Comment 3 Aleix Pol 2022-10-13 01:13:30 UTC
This is how emacs defines itself:
https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/emacs.metainfo.xml

This should be reported to them.

$ appstreamcli search org.gnu.emacs 
Identifier: org.gnu.emacs [desktop-application]
Name: GNU Emacs
Summary: An extensible text editor
Package: emacs-nox
Homepage: https://www.gnu.org/software/emacs
Icon: emacs-nox_emacs.png