snap (snapd) for Porteus?

Non release banter
Post Reply
Kulle
Samurai
Samurai
Posts: 140
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

snap (snapd) for Porteus?

Post#1 by Kulle » 13 Mar 2019, 09:00

The app store for Linux:
https://snapcraft.io/store
And if the distro supports snaps you can install program xyz from the snap store with a single command:
snap install xyz
Very easy and optimal for normal users !!
tome used snapd from Manjaro repo:
snap (snapd)
But snapd is also available for debian:
https://packages.debian.org/en/sid/snapd
Can Snapd also be used for Porteus?
Are there any new insights?

User avatar
francois
Contributor
Contributor
Posts: 5643
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

snap (snapd) for Porteus?

Post#2 by francois » 15 Mar 2019, 00:23

Just an idea like that. Why don't you try to run it with nemesis as snapd is available under arch linux:
https://wiki.archlinux.org/index.php/Snap
Nemesis thread
2019 Updated Nemesis Base Modules
Neko's xfce nemesis iso:
2019 Updated Nemesis Base Modules
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 5643
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

snap (snapd) for Porteus?

Post#3 by francois » 14 Apr 2019, 20:09

@Kulle:
Any news about snapd imported to porteus?
Prendre son temps, profiter de celui qui passe.

Kulle
Samurai
Samurai
Posts: 140
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

snap (snapd) for Porteus?

Post#4 by Kulle » 22 Apr 2019, 13:22

Hi francois,
I downloaded from https://packages.debian.org:
snapd_2.21-2 + b1_amd64.deb
Then deb2xzm and run:
root@porteus:/home/guest# snap find chromium
error: cannot list snaps: cannot communicate with server: Get http://localhost/v2/find?q=chromium: dial unix /run/snapd-snap.socket: connect: no such file or directory
root@porteus:/home/guest# snap install midori
error: cannot communicate with server: Post http://localhost/v2/snaps/midori: dial unix /run/snapd-snap.socket: connect: no such file or directory
communication error!

User avatar
francois
Contributor
Contributor
Posts: 5643
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

snap (snapd) for Porteus?

Post#5 by francois » 24 Apr 2019, 02:02

1) snapd stretch needs dependencies, debian or slackware equivalents:
Requires

Code: Select all

Name	                       Value
adduser	-
apparmor	>= 2.10.95-0ubuntu2.2
ca-certificates	-
gnupg	-
gnupg1	-
init-system-helpers	>= 1.18~
libc6	>= 2.3.2
snap-confine	= 2.21-2+b1
squashfs-tools	-
systemd	-
ubuntu-core-launcher	= 2.21-2+b1
In addition, you will have to test command line to make sure dependencies are met and maybe make a link between debian deps and slackware /lib64/ or something like that. Only way to know is to try. Only patience is needed.

or more simply

2) maybe you can try git viewtopic.php?t=3040&start=165

Code: Select all

usm -u all
usm -g git
git clone https://github.com/snapcore/snapd.git
1) and 2) both dead ends, as snapd has to be adapted for systemd see:
https://wiki.archlinux.org/index.php/Snap#Installation
and
https://forum.snapcraft.io/t/gentoo-update-needed/3029
and gentoo solution:
https://github.com/JamesB192/JamesB192-overlay
Prendre son temps, profiter de celui qui passe.

Kulle
Samurai
Samurai
Posts: 140
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

snap (snapd) for Porteus?

Post#6 by Kulle » 24 Apr 2019, 09:31

Hi francois,
elaborate and complicated (a task only for the experts!),
but very desirable for Porteus 5.0

User avatar
francois
Contributor
Contributor
Posts: 5643
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

snap (snapd) for Porteus?

Post#7 by francois » 25 Apr 2019, 02:10

The main problem is with dependency called:

Code: Select all

systemd	-
There is no chance of that happening with porteus which is not systemd.
:roll:
Prendre son temps, profiter de celui qui passe.

nanZor
Samurai
Samurai
Posts: 157
Joined: 09 Apr 2019, 03:27
Distribution: Porteus 5.0 RC1 XFCE
Location: Los Angeles

snap (snapd) for Porteus?

Post#8 by nanZor » 29 Apr 2019, 08:20

Well, there's always Flatpak too these days.

Well, looks like they dropped the requirement for systemd, but that doesn't mean it won't be required in the very near future at the drop of a (red)hat, um, IBM pulling the strings now?
That's a UNIX book - cool. -Garth

User avatar
francois
Contributor
Contributor
Posts: 5643
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

snap (snapd) for Porteus?

Post#9 by francois » 01 May 2019, 18:36

flatpak and snapd review favoring the former:
https://www.phoronix.com/scan.php?page= ... 18-Distros

Code: Select all

root@porteus:/home/guest# usm -g flatpak
find: `/tmp/xdg-runtime-guest/gvfs': Permission denied

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) flatpak-0.11.7-x86_64-1_slonly.txz
#? 1
And from:
https://doc.ubuntu-fr.org/flatpak

Code: Select all

root@porteus:/home/guest# flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak: error while loading shared libraries: libyaml-0.so.2: cannot open shared object file: No such file or directory
root@porteus:/home/guest# 
To be continued. B)
Prendre son temps, profiter de celui qui passe.

Post Reply