[Linux] luk3yx's unofficial Minetest snap.

User avatar
ClaudiusMinimus
Member
 
Posts: 42
Joined: Wed Jun 01, 2016 17:46
Location: Rocky Mountiains in the Western USA
GitHub: ClaudiusMinimus
IRC: ClaudiusMinimus
In-game: ClaudiusMinimus

Re: [Linux] luk3yx's unofficial Minetest snap.

by ClaudiusMinimus » Wed Jan 04, 2017 21:36

As shown on http://snapcraft.io/docs/reference/env I attempted to run and got the following error:

Code: Select all
$ snap run --shell minetest-luk3yx
aa_change_onexec failed with -1. errmsg: No such file or directory


I have checked both of my LM 18 systems and all snaps are install as "devmode" on my main system. The test system shows "-" under notes for your snap

Code: Select all
$ sudo snap install minetest-luk3yx --stable
$ snap list
Name             Version  Rev  Developer  Notes
core             16.04.1  641  canonical  -
minetest-luk3yx  0.4.15   6    luk3yx     devmode
~ $ minetest-luk3yx
aa_change_onexec failed with -1. errmsg: No such file or directory


Previously when I ran the following it showed core as "broken" (as shown below)

Code: Select all
$ snap list
Name             Version  Rev  Developer  Notes
core                      641  canonical  broken
minetest-luk3yx  0.4.15   6    luk3yx     devmode


I purged snapd and snap-confine and then reinstallled but it still shows all snaps as "devmode".

I checked /home/[user]/snap/minetest-luk3yx on both systems and the test machine had the normal minestest .minetest files contained within, while my my sytems has the following directories they are empty:

Code: Select all
 /home/[user]/snap/minetest-luk3yx/6
 /home/[user]/snap/minetest-luk3yx/common


I hope this additional information helps.
ClaudiusMinimus

Follow my blog at: ClaudiusMinimus' Universe
Visit me at the incredible Illuna Universe
 

User avatar
luk3yx
Member
 
Posts: 45
Joined: Sun Oct 21, 2012 18:14
Location: Earth
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

Re: [Linux] luk3yx's unofficial Minetest snap.

by luk3yx » Thu Jan 05, 2017 03:24

+ Previous message

This is what happens when I run the same debugging command:
Code: Select all
luk3yx@example:~$ snap run --shell minetest-luk3yx
luk3yx@example:/home/luk3yx$

It launched another shell, with the confinement and environment variables of my snap.

I can conclude that this is an upstream bug, possibly with your build of snapd, and not with my snap. However, you could attempt to update your underlying system, in your case, Linux Mint.
I am sorry I can't provide a definite fix for this issue.

I have found the corresponding bug report here.
Last edited by luk3yx on Thu Jan 05, 2017 03:32, edited 1 time in total.
 

User avatar
BBmine
Member
 
Posts: 3474
Joined: Sun Jul 12, 2015 22:51
Location: USA
GitHub: BBmine
IRC: BBmine
In-game: Baggins
 

User avatar
luk3yx
Member
 
Posts: 45
Joined: Sun Oct 21, 2012 18:14
Location: Earth
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

Re: [Linux] luk3yx's unofficial Minetest snap.

by luk3yx » Thu Jan 05, 2017 03:36

BBmine wrote:I installed the snap, but it's still Minetest 0.4.14. How do I fix this?

You may not be running my snap, as my snap is 0.4.15, the original version being 0.4.14-dev.
First, try launching my snap directly, to make sure the above is not happening to you.
Code: Select all
minetest-luk3yx

If that still fails, you can try updating my snap with the command below.
Code: Select all
sudo snap refresh minetest-luk3yx
 

User avatar
BBmine
Member
 
Posts: 3474
Joined: Sun Jul 12, 2015 22:51
Location: USA
GitHub: BBmine
IRC: BBmine
In-game: Baggins

Re: [Linux] luk3yx's unofficial Minetest snap.

by BBmine » Thu Jan 05, 2017 04:20

luk3yx wrote:
BBmine wrote:I installed the snap, but it's still Minetest 0.4.14. How do I fix this?

You may not be running my snap, as my snap is 0.4.15, the original version being 0.4.14-dev.
First, try launching my snap directly, to make sure the above is not happening to you.
Code: Select all
minetest-luk3yx

If that still fails, you can try updating my snap with the command below.
Code: Select all
sudo snap refresh minetest-luk3yx

I did
Code: Select all
snap run minetest-luk3yx

but it's still 0.4.14.

I also tried updating.
Code: Select all
error: cannot refresh "minetest-luk3yx": snap "minetest-luk3yx" has no updates available
 

User avatar
ClaudiusMinimus
Member
 
Posts: 42
Joined: Wed Jun 01, 2016 17:46
Location: Rocky Mountiains in the Western USA
GitHub: ClaudiusMinimus
IRC: ClaudiusMinimus
In-game: ClaudiusMinimus

Re: [Linux] luk3yx's unofficial Minetest snap.

by ClaudiusMinimus » Thu Jan 05, 2017 08:51

luk3yx wrote:
+ Previous message

This is what happens when I run the same debugging command:
Code: Select all
luk3yx@example:~$ snap run --shell minetest-luk3yx
luk3yx@example:/home/luk3yx$

It launched another shell, with the confinement and environment variables of my snap.

I can conclude that this is an upstream bug, possibly with your build of snapd, and not with my snap. However, you could attempt to update your underlying system, in your case, Linux Mint.
I am sorry I can't provide a definite fix for this issue.

I have found the corresponding bug report here.


Thank you, I search on this before but found nothing, but upon further searching I found that snap support for LinuxMint probably won't happen until LM 18.2, Thank you for all your help!
ClaudiusMinimus

Follow my blog at: ClaudiusMinimus' Universe
Visit me at the incredible Illuna Universe
 

User avatar
luk3yx
Member
 
Posts: 45
Joined: Sun Oct 21, 2012 18:14
Location: Earth
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

Re: [Linux] luk3yx's unofficial Minetest snap.

by luk3yx » Thu Jan 05, 2017 18:53

ClaudiusMinimus wrote:Thank you, I search on this before but found nothing, but upon further searching I found that snap support for LinuxMint probably won't happen until LM 18.2, Thank you for all your help!

If you want to run my snap, however are not concerned about the snap being sandboxed, use this script.
https://github.com/luk3yx/insecuresnaprun
Once this script is placed somewhere, change the Minetest launcher's command to this (modify as required):
Code: Select all
/path/to/insecure/snap/run minetest-luk3yx
Last edited by luk3yx on Sat Jan 28, 2017 05:38, edited 1 time in total.
 

User avatar
luk3yx
Member
 
Posts: 45
Joined: Sun Oct 21, 2012 18:14
Location: Earth
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

Re: [Linux] luk3yx's unofficial Minetest snap.

by luk3yx » Thu Jan 05, 2017 18:55

BBmine wrote:I did
Code: Select all
snap run minetest-luk3yx

but it's still 0.4.14.

I also tried updating.
Code: Select all
error: cannot refresh "minetest-luk3yx": snap "minetest-luk3yx" has no updates available

Is the Minetest version 0.4.14 or 0.4.14-dev?
Also, can you give me the output of this?
Code: Select all
snap list | grep minetest-luk3yx
 

User avatar
BBmine
Member
 
Posts: 3474
Joined: Sun Jul 12, 2015 22:51
Location: USA
GitHub: BBmine
IRC: BBmine
In-game: Baggins

Re: [Linux] luk3yx's unofficial Minetest snap.

by BBmine » Fri Jan 06, 2017 01:19

luk3yx wrote:
BBmine wrote:I did
Code: Select all
snap run minetest-luk3yx

but it's still 0.4.14.

I also tried updating.
Code: Select all
error: cannot refresh "minetest-luk3yx": snap "minetest-luk3yx" has no updates available

Is the Minetest version 0.4.14 or 0.4.14-dev?
Also, can you give me the output of this?
Code: Select all
snap list | grep minetest-luk3yx

0.4.14, no dev. I did notice today that I have 2 Minetests, one has no version number, and the other is 0.4.14 (The one from the debian repositories.)
 

User avatar
luk3yx
Member
 
Posts: 45
Joined: Sun Oct 21, 2012 18:14
Location: Earth
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

Re: [Linux] luk3yx's unofficial Minetest snap.

by luk3yx » Fri Jan 06, 2017 02:06

BBmine wrote:0.4.14, no dev. I did notice today that I have 2 Minetests, one has no version number, and the other is 0.4.14 (The one from the debian repositories.)

Well, that is not my snap then. Can you please execute the commands I stated in the last post?
Edit: My snap is probably the one you claim has no version number. Look under the credits tab for the version number.
 

User avatar
ClaudiusMinimus
Member
 
Posts: 42
Joined: Wed Jun 01, 2016 17:46
Location: Rocky Mountiains in the Western USA
GitHub: ClaudiusMinimus
IRC: ClaudiusMinimus
In-game: ClaudiusMinimus

Re: [Linux] luk3yx's unofficial Minetest snap.

by ClaudiusMinimus » Fri Mar 17, 2017 16:26

I am happy to let you know that your snap is now fully supported by Linux Mint 18.x

I was wondering if it is possible at this time to install version: "0.4.16"? If so, do I use the "--devmode" option?
ClaudiusMinimus

Follow my blog at: ClaudiusMinimus' Universe
Visit me at the incredible Illuna Universe
 

User avatar
luk3yx
Member
 
Posts: 45
Joined: Sun Oct 21, 2012 18:14
Location: Earth
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

Re: [Linux] luk3yx's unofficial Minetest snap.

by luk3yx » Mon Apr 17, 2017 05:00

ClaudiusMinimus wrote:I am happy to let you know that your snap is now fully supported by Linux Mint 18.x

I was wondering if it is possible at this time to install version: "0.4.16"? If so, do I use the "--devmode" option?

Hello,

Thank you for the news on Linux Mint supporting snaps. I presume you mean 0.4.15-dev by 0.4.16. Currently, I don't have the time to push developer builds. If you want 0.4.16, you could get the snapcraft files from the GitHub page, change the branch from 'stable-0.4' to 'master', then build it from source.
 

User avatar
luk3yx
Member
 
Posts: 45
Joined: Sun Oct 21, 2012 18:14
Location: Earth
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

Re: [Linux] luk3yx's unofficial Minetest snap.

by luk3yx » Sun Jan 21, 2018 03:06

luk3yx wrote:Hello,

Thank you for the news on Linux Mint supporting snaps. I presume you mean 0.4.15-dev by 0.4.16. Currently, I don't have the time to push developer builds. If you want 0.4.16, you could get the snapcraft files from the GitHub page, change the branch from 'stable-0.4' to 'master', then build it from source.


Installing Minetest 5.0-dev


Well, this has changed, thanks to https://build.snapcraft.io. You may now get developer builds by installing minetest-luk3yx-dev by running sudo snap install --edge minetest-luk3yx-dev. I do not create these builds, and they still have the copy & pasting bug for now.

Why not use --edge for the unstable snaps, and give them the same name?


Simply because you can run both stable and unstable at the same time with separate snaps.
 

User avatar
luk3yx
Member
 
Posts: 45
Joined: Sun Oct 21, 2012 18:14
Location: Earth
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

Re: [Linux] luk3yx's unofficial Minetest snap.

by luk3yx » Sat Feb 02, 2019 04:19

Installing Minetest 0.4 alongside Minetest 5.0


Once Minetest 5.0 is released, minetest-luk3yx will be updated to Minetest 5.0. If you want to use Minetest 0.4 after this update, you can install minetest-luk3yx-4 (with sudo snap install minetest-luk3yx-4) and run both versions simultaneously.

minetest-luk3yx-4 has been changed to my fork that contains backported bugfixes and pitch flying.
git_undo() { [ -e .git ] || return 1; local r; r=$(git remote get-url origin); cd ..; rm -rf "$OLDPWD"; git clone "$r" "$OLDPWD"; cd "$OLDPWD"; }
 

Previous

Return to Builds



Who is online

Users browsing this forum: No registered users and 3 guests