Bug 24047 - snap - A transactional software package manager
Summary: snap - A transactional software package manager
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL: https://github.com/snapcore/snapd
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-12-23 02:34 CET by Kristoffer Grundström
Modified: 2022-12-31 18:29 CET (History)
6 users (show)

See Also:
Source RPM: snapd
CVE:
Status comment:


Attachments
Proposal spec (182.80 KB, text/plain)
2018-12-23 02:34 CET, Kristoffer Grundström
Details
New spec file for snapd (289.20 KB, text/plain)
2020-03-04 00:24 CET, Kristoffer Grundström
Details

Description Kristoffer Grundström 2018-12-23 02:34:34 CET
Description of problem: I went to spotify.com to install Spotify and realized that there is only a debian version released for Spotify, but they however offer to use something called snap which allows anyone to install Spotify in systems that aren't debian based or if someone doesn't want or can use Ubuntu for some reason. Looking at https://pkgs.org/download/snapd I see that Fedora already included snapd into their official repositories. I'm therefor adding the spec file from Fedora in hopes to get someone to package snapd for Mageia 7.
Comment 1 Kristoffer Grundström 2018-12-23 02:34:56 CET
Created attachment 10591 [details]
Proposal spec

CC: (none) => hamnisdude

Comment 2 Morgan Leijström 2018-12-23 10:57:24 CET
FYI there is already lots of https://wiki.mageia.org/en/Ways_to_install_programs on Mageia. - But snap would be useful too.

Regarding Spotify specifically, it can be installed using Appimage, which we have:
https://forums.mageia.org/en/viewtopic.php?t=12393
Other method:
https://forums.mageia.org/en/viewtopic.php?t=11003

CC: (none) => fri

Comment 3 Morgan Leijström 2018-12-23 11:04:51 CET
Sorry i meant Flatpack - not Appimage
Comment 4 Kristoffer Grundström 2018-12-24 02:32:16 CET
Sure, but why not give people options?
After all, it's a Free country.
Comment 5 Marja Van Waes 2018-12-26 11:51:39 CET
Assigning this package request to all packagers collectively. On a voluntary basis, one of them might, if there are no license or other legal issues, want to integrate it to the distribution and maintain it for bug and security fixes.

CC: (none) => marja11
Keywords: (none) => PATCH
URL: (none) => https://github.com/snapcore/snapd
Severity: normal => enhancement
Assignee: bugsquad => pkg-bugs

Comment 6 Dennis Nigbur 2020-02-12 14:22:16 CET
Nobody seems to have volunteered for this during the past year, but I'd just like to add my vote to say that snap/snapd would be very useful. I came across an interesting data analysis software for Linux (somewhat of a rarity because so many only exist for Windows and Mac), but it's available only as a Snap package and not as RPM or Flatpak. Having Snap for Mageia would really help.

CC: (none) => d.nigbur

Comment 7 Kristoffer Grundström 2020-03-04 00:23:35 CET
Ping! Is it possible to add it to Cauldron at least? I tried to build 2.43.3, but it failed.
Comment 8 Kristoffer Grundström 2020-03-04 00:24:20 CET
Created attachment 11535 [details]
New spec file for snapd

Attachment 10591 is obsolete: 0 => 1

Comment 9 prodromos mitkos 2022-12-30 12:39:09 CET
There are so many applications that you can only find through snap e.g Spotify, tradingview in mageia how can we install them?.

CC: (none) => prodromos_81

Comment 10 Morgan Leijström 2022-12-30 17:55:34 CET
@prodromos mitkos

i.e for Spotify, I currently use flatpak.

More methods see wiki linked in comment 2
Comment 11 prodromos mitkos 2022-12-31 15:06:20 CET
yes you are right about that spotify, for Tradingview I wrote them to add some other installation method if possible.
Comment 12 Morgan Leijström 2022-12-31 15:16:05 CET
Yes best to write to the software authors.
That said I have experienced Appimages that do not work because they were lazily only tested on i.e Ubuntu, and had such dependencies.
Flatpak I think have always worked for me.
Comment 13 Dave Hodgins 2022-12-31 16:09:34 CET
snap has been discussed in the dev ml and rejected before.
https://ml.mageia.org/l/arc/dev/2020-09/msg00303.html

Status: NEW => RESOLVED
Resolution: (none) => INVALID
CC: (none) => davidwhodgins

Comment 14 Morgan Leijström 2022-12-31 18:29:13 CET
Good discussion there in dev ml.
Trying to summarise:

It was packaged in cauldron, then removed.
Even our packager changed mind a bit after the discussion.

Packager said it worked, despite other said it could not. (clash with SElinux, which was (is?) old, but it is not installed by default.  Kernel need no modification.)

Some of the reasons not to include snap also cover flatpak, steam, lutris... 
- which we do have.
Like external repos not managed by Mageia - but that is exactly the idea, to get access to more... and user could anyway configure external rpm repos...

Security concerns.

Packager resources and QA resources, as updates need be often to keep it working with the store.

Politically not nice to support a large app store that is not open, and also could be shut down by authorities, or hindered through country firewall.

---

So workaround for now is to use snap in another OS, in a VM
https://wiki.mageia.org/en/Virtualisation

Note You need to log in before you can comment on or make changes to this bug.