snap or flatpak for Porteus?
snap or flatpak for Porteus?
Post#1 by Kulle » 13 Mar 2019, 09:00
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?
Kulle
- francois
- Contributor
- Posts: 6514
- 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
https://wiki.archlinux.org/index.php/Snap
Nemesis thread
2019 Updated Nemesis Base Modules
Neko's xfce nemesis iso:
2019 Updated Nemesis Base Modules
francois
- francois
- Contributor
- Posts: 6514
- 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
Any news about snapd imported to porteus?
francois
snap (snapd) for Porteus?
Post#4 by Kulle » 22 Apr 2019, 13:22
I downloaded from https://packages.debian.org:
snapd_2.21-2 + b1_amd64.deb
Then deb2xzm and run:
communication error!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
Kulle
- francois
- Contributor
- Posts: 6514
- 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
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
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
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
francois
Kulle
- francois
- Contributor
- Posts: 6514
- 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
Code: Select all
systemd -

francois
snap (snapd) for Porteus?
Post#8 by nanZor » 29 Apr 2019, 08:20
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?
nanZor
- francois
- Contributor
- Posts: 6514
- 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
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
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#

francois
snap (snapd) for Porteus?
Post#10 by Kulle » 06 Jul 2019, 13:39
Is there already success?To be continued.
snapd or flatpak are a wish for Porteus 5.0
The normal users would be very happy.
Kulle
- francois
- Contributor
- Posts: 6514
- 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#11 by francois » 15 Jul 2019, 03:50
https://slackbuilds.org/repository/14.2 ... p/flatpak/
601 applications
https://flathub.org/apps/category/All
francois
snap (snapd) for Porteus?
Post#12 by Kulle » 18 Jul 2019, 07:07
Via usm I created successfully: flatpak-0.11.7-x86_64-bundle.xzm
and I downloaded VLC ("org.videolan.VLC.flatpakref") from https://flathub.org/apps
And now the test !!
Code: Select all
guest@porteus:~$ sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Password:
guest@porteus:~$ sudo flatpak install --from $HOME/Downloads/org.videolan.VLC.flatpakref
error: Can't load dependent file https://dl.flathub.org/repo/flathub.flatpakrepo TLS support is not available
Who can help?
Many Thanks
Kulle
- ncmprhnsbl
- DEV Team
- Posts: 4293
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
snap (snapd) for Porteus?
Post#13 by ncmprhnsbl » 18 Jul 2019, 12:12
could be a network issue(vague answer)
try turning off the firewall, if it's running..
or add glib-networking
ncmprhnsbl
snap (snapd) for Porteus?
Post#14 by Kulle » 19 Jul 2019, 07:48
I have additionally activated:
glib-networking-2.60.3-x86_64-1.xzm
gsettings-desktop-schemas-3.18.1-x86_64-1.xzm
glibc-2.29-x86_64-3.xzm
New try:
Code: Select all
guest@porteus:~$ sudo flatpak install --from $HOME/Downloads/org.videolan.VLC.flatpakref
Passwort:
(flatpak install:3737): GLib-GObject-WARNING **: 18:21:41.013: g_object_class_override_property: Can't find property to override for 'GTlsConnectionGnutls::advertised-protocols'
(flatpak install:3737): GLib-GObject-WARNING **: 18:21:41.013: g_object_class_override_property: Can't find property to override for 'GTlsConnectionGnutls::negotiated-protocol'
double free or corruption (out)
Aborted
And now?
Kulle
snap (snapd) for Porteus?
Post#15 by Kulle » 19 Jul 2019, 09:32
I have now used an older version: glibc-2.23-x86_64-bundle.xzm
New try
Code: Select all
guest@porteus:~$ sudo flatpak install --from $HOME/Downloads/org.videolan.VLC.flatpakref
(flatpak install:2322): GLib-GObject-WARNING **: 09:37:50.097: g_object_class_override_property: Can't find property to override for 'GTlsConnectionGnutls::advertised-protocols'
Installing: org.videolan.VLC/x86_64/stable
Required runtime for org.videolan.VLC/x86_64/stable (org.kde.Platform/x86_64/5.12) is not installed, searching...
Found in remote flathub, do you want to install it? [y/n]: y
Installing: org.kde.Platform/x86_64/5.12 from flathub
...
(flatpak install:2322): flatpak-WARNING **: 09:40:48.990: Error running trigger mime-database.trigger: Failed to execute child process ?bwrap? (No such file or directory)
Installing: org.videolan.VLC.Locale/x86_64/stable from org.videolan.VLC-origin
[####################] 387 metadata, 150 content objects fetched; 12949 KiB tran
guest@porteus:~$ flatpak run org.videolan.VLC.Locale
error: app/org.videolan.VLC.Locale/x86_64/master not installed
Kulle