[Linux] luk3yx's unofficial Minetest snap.

luk3yx
Member
 
Posts: 32
Joined: Sun Oct 21, 2012 18:14
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

[Linux] luk3yx's unofficial Minetest snap.

by luk3yx » Tue Dec 20, 2016 22:06

luk3yx's unofficial Minetest snap


This is my unofficial Minetest snap package, derived from the Minetest snap in the snappy playpen.

How to install


Using sudo: (Ubuntu & Derivatives)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
$ sudo snap install minetest-luk3yx

Using su:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
$ su -c 'snap install minetest-luk3yx'


Note: Make sure that snapd is installed before running the above commands.

FAQ


What is a snap?
snapcraft.io wrote:Snaps are universal Linux packages.


Where can I find snapcraft.yaml?
You can find it here, on GitHub. Remember it is also licensed under LGPL 2.1+.

How do I install snapd?
Debian, Ubuntu, and Ubuntu derivatives:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
sudo apt install snapd


OpenSuse:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
sudo zypper addrepo http://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_42.2/ snappy
sudo zypper install snapd


Arch Linux:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
sudo pacman -S snapd
sudo systemctl enable --now snapd.socket


More:
http://snapcraft.io/docs/core/install

Credit to http://snapcraft.io for the resources shown in the FAQ.
Last edited by luk3yx on Tue Jan 03, 2017 19:37, edited 2 times in total.
 

User avatar
ClaudiusMinimus
Member
 
Posts: 36
Joined: Wed Jun 01, 2016 17:46
GitHub: ClaudiusMinimus
IRC: ClaudiusMinimus
In-game: ClaudiusMinimus

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

by ClaudiusMinimus » Fri Dec 23, 2016 16:25

Thank you for your minetest snap app. Unforutunately without irrlicht 1.8.4 or greater, the copy/paste from LinuxMint 18.x does not work. See my posts in this thread for more details: https://github.com/minetest/minetest/issues/373
ClaudiusMinimus

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

luk3yx
Member
 
Posts: 32
Joined: Sun Oct 21, 2012 18:14
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

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

by luk3yx » Fri Dec 23, 2016 18:40

ClaudiusMinimus wrote:Thank you for your minetest snap app. Unforutunately without irrlicht 1.8.4 or greater, the copy/paste from LinuxMint 18.x does not work. See my posts in this thread for more details: https://github.com/minetest/minetest/issues/373

Thank you for notifying me of this issue. Unfortunately, I am using Ubuntu 16.04 to compile the builds, that only provides 1.8.3. If there is any way I can upgrade this library, preferably without destroying my system, please let me know. Also note that the official Minetest builds for Ubuntu 16.04 also seem to have this issue.
 

User avatar
ClaudiusMinimus
Member
 
Posts: 36
Joined: Wed Jun 01, 2016 17:46
GitHub: ClaudiusMinimus
IRC: ClaudiusMinimus
In-game: ClaudiusMinimus

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

by ClaudiusMinimus » Sat Dec 24, 2016 08:05

luk3yx wrote:Thank you for notifying me of this issue. Unfortunately, I am using Ubuntu 16.04 to compile the builds, that only provides 1.8.3. If there is any way I can upgrade this library, preferably without destroying my system, please let me know. Also note that the official Minetest builds for Ubuntu 16.04 also seem to have this issue.


The only thing that comes to mind is to use VirtualBox or some other VM to run Ubuntu 16.10 and compile with the newer library.
ClaudiusMinimus

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

luk3yx
Member
 
Posts: 32
Joined: Sun Oct 21, 2012 18:14
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

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

by luk3yx » Sun Dec 25, 2016 19:21

ClaudiusMinimus wrote:The only thing that comes to mind is to use VirtualBox or some other VM to run Ubuntu 16.10 and compile with the newer library.

I'll try a couple of boot USBs.
 

User avatar
ClaudiusMinimus
Member
 
Posts: 36
Joined: Wed Jun 01, 2016 17:46
GitHub: ClaudiusMinimus
IRC: ClaudiusMinimus
In-game: ClaudiusMinimus

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

by ClaudiusMinimus » Mon Dec 26, 2016 17:17

luk3yx wrote:I'll try a couple of boot USBs.

Thank you! I look forward to hearing what your results were.
ClaudiusMinimus

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

luk3yx
Member
 
Posts: 32
Joined: Sun Oct 21, 2012 18:14
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

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

by luk3yx » Tue Dec 27, 2016 04:34

ClaudiusMinimus wrote:Thank you! I look forward to hearing what your results were.

I have released an update that fixes this bug. Thank you ClaudiusMinimus for notifying me that this bug affected my snap.
 

User avatar
ClaudiusMinimus
Member
 
Posts: 36
Joined: Wed Jun 01, 2016 17:46
GitHub: ClaudiusMinimus
IRC: ClaudiusMinimus
In-game: ClaudiusMinimus

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

by ClaudiusMinimus » Tue Dec 27, 2016 14:58

luk3yx wrote:I have released an update that fixes this bug. Thank you ClaudiusMinimus for notifying me that this bug affected my snap.


Thank you for fixing this bug. Unfortunately, I cannot update the snap

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
sudo snap refresh minetest-luk3yx
error: cannot refresh "minetest-luk3yx": snap "minetest-luk3yx" has no updates available
ClaudiusMinimus

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

luk3yx
Member
 
Posts: 32
Joined: Sun Oct 21, 2012 18:14
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

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

by luk3yx » Tue Dec 27, 2016 18:28

ClaudiusMinimus wrote:Thank you for fixing this bug. Unfortunately, I cannot update the snap

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
sudo snap refresh minetest-luk3yx
error: cannot refresh "minetest-luk3yx": snap "minetest-luk3yx" has no updates available


That's strange. Maybe it updated automatically. Try this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
snap list | grep minetest-luk3yx

You should get something like this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest-luk3yx  0.4.15       5    luk3yx     -

The number, in this example '5', should be at least 5. If it is 4 or under, you are still affected by this bug.
Last edited by luk3yx on Wed Dec 28, 2016 18:27, edited 1 time in total.
 

User avatar
ClaudiusMinimus
Member
 
Posts: 36
Joined: Wed Jun 01, 2016 17:46
GitHub: ClaudiusMinimus
IRC: ClaudiusMinimus
In-game: ClaudiusMinimus

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

by ClaudiusMinimus » Wed Dec 28, 2016 17:18

luk3yx wrote:That's strange. Maybe it updated automatically. Try this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest-luk3yx --version

If you get a few lines beginning with '+', the update hasn't been applied.


Thank you for your reply. I added the --version flag and this was the output:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
sudo snap refresh minetest-luk3yx --version
...
snap       2.17.1ubuntu1
snapd      2.17.1ubuntu1
series     16
linuxmint  18.1


And it worked! Thank you very much for your studious attention to this issue.
ClaudiusMinimus

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

luk3yx
Member
 
Posts: 32
Joined: Sun Oct 21, 2012 18:14
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

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

by luk3yx » Wed Dec 28, 2016 18:29

ClaudiusMinimus wrote:Thank you for your reply. I added the --version flag and this was the output:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
sudo snap refresh minetest-luk3yx --version
...
snap       2.17.1ubuntu1
snapd      2.17.1ubuntu1
series     16
linuxmint  18.1


And it worked! Thank you very much for your studious attention to this issue.


I am sorry, but I think you misunderstood my instructions.
In that example, I meant to omit 'sudo snap refresh'. I have modified the instructions so they are more straight-forward.
 

User avatar
ClaudiusMinimus
Member
 
Posts: 36
Joined: Wed Jun 01, 2016 17:46
GitHub: ClaudiusMinimus
IRC: ClaudiusMinimus
In-game: ClaudiusMinimus

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

by ClaudiusMinimus » Thu Dec 29, 2016 22:16

After getting your snap to work on a test machine, I then tried to install it on my regular pc and minetest would not open. When I ran the following in a terminal it output the following:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/minetest-luk3yx_minetest.desktop /snap/bin/minetest-luk3yx
aa_change_onexec failed with -1. errmsg: No such file or directory


This system has a working copy of 0.4.15 from the dev ppa, but I would rather use yours since it includes irrlicht 1.8.4. I have tried removing your snap and the ppa install, then reinstall your snap, but I still get the error.
ClaudiusMinimus

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

luk3yx
Member
 
Posts: 32
Joined: Sun Oct 21, 2012 18:14
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

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

by luk3yx » Fri Dec 30, 2016 20:00

ClaudiusMinimus wrote:After getting your snap to work on a test machine, I then tried to install it on my regular pc and minetest would not open. When I ran the following in a terminal it output the following:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/minetest-luk3yx_minetest.desktop /snap/bin/minetest-luk3yx
aa_change_onexec failed with -1. errmsg: No such file or directory


This system has a working copy of 0.4.15 from the dev ppa, but I would rather use yours since it includes irrlicht 1.8.4. I have tried removing your snap and the ppa install, then reinstall your snap, but I still get the error.


For future reference, just run:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest-luk3yx

You could try updating ubuntu-core, and checking if that has worked.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
sudo snap refresh ubuntu-core
 

BBmine
Member
 
Posts: 1425
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins

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

by BBmine » Fri Dec 30, 2016 21:40

Hi, I have Debian testing. I followed the directions and got this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
error: cannot install "minetest-luk3yz": snap not found
God's not dead!
I actually did mine walls before I started playing this game....
Mods, Servers, and My Youtube Channel
Let us remember Just Test on April 16.
"Together, we will make America great again!" --President Trump
Please vote for the next video I should do here
I'm the most rottenist potato in the fridge.
Copyright (c) 2017 Baggins Inc. (tm) All rights reserved.
 

luk3yx
Member
 
Posts: 32
Joined: Sun Oct 21, 2012 18:14
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

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

by luk3yx » Sat Dec 31, 2016 02:18

BBmine wrote:Hi, I have Debian testing. I followed the directions and got this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
error: cannot install "minetest-luk3yz": snap not found

Hello BBmine,

Try doing "minetest-luk3yx", not "minetest-luk3yz"

Thanks,

luk3yx
 

BBmine
Member
 
Posts: 1425
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins

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

by BBmine » Sat Dec 31, 2016 05:07

luk3yx wrote:
BBmine wrote:Hi, I have Debian testing. I followed the directions and got this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
error: cannot install "minetest-luk3yz": snap not found

Hello BBmine,

Try doing "minetest-luk3yx", not "minetest-luk3yz"

Thanks,

luk3yx

Oh, got your name wrong :P/
God's not dead!
I actually did mine walls before I started playing this game....
Mods, Servers, and My Youtube Channel
Let us remember Just Test on April 16.
"Together, we will make America great again!" --President Trump
Please vote for the next video I should do here
I'm the most rottenist potato in the fridge.
Copyright (c) 2017 Baggins Inc. (tm) All rights reserved.
 

User avatar
ClaudiusMinimus
Member
 
Posts: 36
Joined: Wed Jun 01, 2016 17:46
GitHub: ClaudiusMinimus
IRC: ClaudiusMinimus
In-game: ClaudiusMinimus

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

by ClaudiusMinimus » Sat Dec 31, 2016 18:39

You suggested i refresh ubuntu-core, which I did

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
$ sudo snap refresh ubuntu-core
error: cannot refresh "ubuntu-core": cannot find snap "ubuntu-core"


I then checked to see if it was installed and found it appears to be broken:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
$ snap list
Name             Version  Rev  Developer  Notes
core                      641  canonical  broken
minetest-luk3yx  0.4.15   6    luk3yx     devmode


I then added the --version flag and the output was:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
sudo snap refresh ubuntu-core --version
snap       2.17.1ubuntu1
snapd      2.17.1ubuntu1
series     16
linuxmint  18.1


I've tried running the launcher directly and found this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
 /snap/minetest-luk3yx/6 $ ./launcher
./launcher: 16: cd: can't cd to .
./launcher: 40: exec: /bin/minetest: not found


minetest is in fact not in the bin directory
ClaudiusMinimus

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

luk3yx
Member
 
Posts: 32
Joined: Sun Oct 21, 2012 18:14
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

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

by luk3yx » Sat Dec 31, 2016 19:08

ClaudiusMinimus wrote:You suggested i refresh ubuntu-core, which I did

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
$ sudo snap refresh ubuntu-core
error: cannot refresh "ubuntu-core": cannot find snap "ubuntu-core"


I then checked to see if it was installed and found it appears to be broken:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
$ snap list
Name             Version  Rev  Developer  Notes
core                      641  canonical  broken
minetest-luk3yx  0.4.15   6    luk3yx     devmode


I then added the --version flag and the output was:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
sudo snap refresh ubuntu-core --version
snap       2.17.1ubuntu1
snapd      2.17.1ubuntu1
series     16
linuxmint  18.1


I've tried running the launcher directly and found this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
 /snap/minetest-luk3yx/6 $ ./launcher
./launcher: 16: cd: can't cd to .
./launcher: 40: exec: /bin/minetest: not found


minetest is in fact not in the bin directory


I'm sorry, but Minetest won't launch like that. It needs the snappy environment variables.
If you get confused, please refer to https://snapcraft.io
Just launch it by running
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest-luk3yx
 

User avatar
ClaudiusMinimus
Member
 
Posts: 36
Joined: Wed Jun 01, 2016 17:46
GitHub: ClaudiusMinimus
IRC: ClaudiusMinimus
In-game: ClaudiusMinimus

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

by ClaudiusMinimus » Sun Jan 01, 2017 16:25

luk3yx wrote:I'm sorry, but Minetest won't launch like that. It needs the snappy environment variables.
If you get confused, please refer to https://snapcraft.io
Just launch it by running
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest-luk3yx


I have tried launching as you suggest, and I'm not confused. Everything else is trying to find out what is happening. I had hoped I was providing information to help find the cause. If have any suggestions of how to debug this I would appreciate it. The main thing I have noticed is that there is no:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/bin/minetest

I tried making a symbolic link to the snap /bin/minetest and it did not help.
ClaudiusMinimus

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

luk3yx
Member
 
Posts: 32
Joined: Sun Oct 21, 2012 18:14
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

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

by luk3yx » Sun Jan 01, 2017 17:44

ClaudiusMinimus wrote:I have tried launching as you suggest, and I'm not confused. Everything else is trying to find out what is happening. I had hoped I was providing information to help find the cause. If have any suggestions of how to debug this I would appreciate it. The main thing I have noticed is that there is no:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/bin/minetest

I tried making a symbolic link to the snap /bin/minetest and it did not help.

To try and fix the underlying issue, try this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
sudo snap refresh

...then launch the snap using the GUI.

For the issue about /bin/minetest (try the above first):
Can you please read up on snappy's environment variables, confinement, and the source of the launcher script. There is not intended to be /bin/minetest, as everything is contained within /snap/minetest-luk3yx. If you have errors because of /bin/minetest not existing, you may not be launching the snap correctly.

I am trying to help you understand this issue, I'm sorry if you don't. All my Minetest builds are tested before publishing them. You are providing enough information at the moment, I'm struggling to try and explain the issue.
 

User avatar
ClaudiusMinimus
Member
 
Posts: 36
Joined: Wed Jun 01, 2016 17:46
GitHub: ClaudiusMinimus
IRC: ClaudiusMinimus
In-game: ClaudiusMinimus

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

by ClaudiusMinimus » Mon Jan 02, 2017 06:51

luk3yx wrote:Can you please read up on snappy's environment variables, confinement, and the source of the launcher script. There is not intended to be /bin/minetest, as everything is contained within /snap/minetest-luk3yx. If you have errors because of /bin/minetest not existing, you may not be launching the snap correctly.

I am trying to help you understand this issue, I'm sorry if you don't. All my Minetest builds are tested before publishing them. You are providing enough information at the moment, I'm struggling to try and explain the issue.


Your points are well taken and I greatly appreciate the effort you have placed in trying to help me. I have attempted to launch the snap as you have instructed, the other attempts were my of my own accord and without properly understanding the snap system. I will do as you suggest through reading the documentation and hopefully I will be able to resolve this issue.

Thank you for your patience.
ClaudiusMinimus

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

User avatar
lightonflux
Member
 
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof

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

by lightonflux » Mon Jan 02, 2017 13:17

Is the snapcraft.yaml public?
 

luk3yx
Member
 
Posts: 32
Joined: Sun Oct 21, 2012 18:14
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

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

by luk3yx » Mon Jan 02, 2017 21:00

lightonflux wrote:Is the snapcraft.yaml public?

Yes, thank you for reminding me.
Seeing you are requesting it, I'll put a copy of the link here. (Sorry I couldn't manage GitHub)
My snapcraft directory
LGPL 2.1+
 

User avatar
lightonflux
Member
 
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof

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

by lightonflux » Tue Jan 03, 2017 07:01

luk3yx wrote:
lightonflux wrote:Is the snapcraft.yaml public?

Yes, thank you for reminding me.
Seeing you are requesting it, I'll put a copy of the link here. (Sorry I couldn't manage GitHub)



I would like to see an official MT snap at some point. Therefore it would be beneficial to have the files publicly on Github or Gitlab, so other people can learn how to snap stuff or improve this specific MT snap.

Do you need help with git and github/gitlab? I am happy to help. I could open a repo with my account, but i don't want people to think it is the upstream snapcraft.yaml.
 

luk3yx
Member
 
Posts: 32
Joined: Sun Oct 21, 2012 18:14
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

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

by luk3yx » Tue Jan 03, 2017 19:23

lightonflux wrote:
luk3yx wrote:
lightonflux wrote:Is the snapcraft.yaml public?

Yes, thank you for reminding me.
Seeing you are requesting it, I'll put a copy of the link here. (Sorry I couldn't manage GitHub)



I would like to see an official MT snap at some point. Therefore it would be beneficial to have the files publicly on Github or Gitlab, so other people can learn how to snap stuff or improve this specific MT snap.

Do you need help with git and github/gitlab? I am happy to help. I could open a repo with my account, but i don't want people to think it is the upstream snapcraft.yaml.


I am fine with GitHub, and seeing you are asking, I'll start a GitHub project.
 

User avatar
ClaudiusMinimus
Member
 
Posts: 36
Joined: Wed Jun 01, 2016 17:46
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:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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)

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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
 

luk3yx
Member
 
Posts: 32
Joined: Sun Oct 21, 2012 18:14
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:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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.
 

BBmine
Member
 
Posts: 1425
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins

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

by BBmine » Thu Jan 05, 2017 03:32

I installed the snap, but it's still Minetest 0.4.14. How do I fix this?
God's not dead!
I actually did mine walls before I started playing this game....
Mods, Servers, and My Youtube Channel
Let us remember Just Test on April 16.
"Together, we will make America great again!" --President Trump
Please vote for the next video I should do here
I'm the most rottenist potato in the fridge.
Copyright (c) 2017 Baggins Inc. (tm) All rights reserved.
 

luk3yx
Member
 
Posts: 32
Joined: Sun Oct 21, 2012 18:14
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.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest-luk3yx

If that still fails, you can try updating my snap with the command below.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
sudo snap refresh minetest-luk3yx
 

BBmine
Member
 
Posts: 1425
Joined: Sun Jul 12, 2015 22:51
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.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest-luk3yx

If that still fails, you can try updating my snap with the command below.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
sudo snap refresh minetest-luk3yx

I did
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
snap run minetest-luk3yx

but it's still 0.4.14.

I also tried updating.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
error: cannot refresh "minetest-luk3yx": snap "minetest-luk3yx" has no updates available
God's not dead!
I actually did mine walls before I started playing this game....
Mods, Servers, and My Youtube Channel
Let us remember Just Test on April 16.
"Together, we will make America great again!" --President Trump
Please vote for the next video I should do here
I'm the most rottenist potato in the fridge.
Copyright (c) 2017 Baggins Inc. (tm) All rights reserved.
 

Next

Return to Minetest Builds

Who is online

Users browsing this forum: No registered users and 7 guests

cron