Bug 455201 - plasma-nm should prompt the user to automatically install the openvpn package when it's missing
Summary: plasma-nm should prompt the user to automatically install the openvpn package...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networking in general (show other bugs)
Version: master
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Jan Grulich
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2022-06-13 06:33 UTC by johnathan
Modified: 2024-12-23 18:23 UTC (History)
1 user (show)

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


Attachments
mising vpn plugin (174.30 KB, image/png)
2022-06-13 06:33 UTC, johnathan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description johnathan 2022-06-13 06:33:51 UTC
Created attachment 149656 [details]
mising vpn plugin

SUMMARY
***
i tried to run an openvpn config file. i got the "missing vpn plugin" error. 
searching online i found
https://www.reddit.com/r/kde/comments/keztu0/missing_vpn_plugin/

which says 
````
Do you have the package network-manager-openvpn 
````
so installing  network-manager-openvpn solves this problem so the question is, why isn't plasma detecting that openvpn file is being run and openvpn package is missing so try to install this package? 
***


STEPS TO REPRODUCE
1.  instal openvpn config
2.  try to run the config
3.  check error message
4.  now install  "network-manager-openvpn " and try again
5. it works now

OBSERVED RESULT


EXPECTED RESULT


Operating System: KDE neon 5.24
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Kernel Version: 5.13.0-48-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4400
Comment 1 Nate Graham 2022-06-14 16:52:37 UTC
> why isn't plasma detecting that openvpn file is being run and openvpn package is missing so try to install this package? 
Presumably because right now we can't guarantee that the package is named "openvpn" on every distro.

To make this work, we would need a way for distros to communicate to us what the name of the package is for them, perhaps via a CMake variable that they would have to set or override (if it defaulted to being "openvpn"). If we did that, it would be feasible to have plasma-nm use PackageKit to install it for you.
Comment 2 Ben Cooksley 2024-12-23 18:23:40 UTC
Bulk transfer as requested in T17796