Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - render787

Pages: [1]
1
DF General Discussion / Re: Lazy Newb Pack Installer for Linux
« on: October 09, 2013, 03:46:27 pm »
Hi I'm using Linux Mint. I just installed dwarf fortress and decided to look at a tutorial, the tutorial suggested that I get alternate tile sets etc. so I decided to try to install using your LNP pack. I had the following *very unfortunate experience* trying to install in ~/.local/share/: (You will see below that I renamed the initial install from df_linux to df_linux_old.)

chris@Basalt ~/.local/share $ ls
applications            gsettings-data-convert     recently-used.xbel.T7S93W
cinnamon                gvfs-metadata              Trash
df_34_11_linux.tar.bz2  icc                        webkit
df_linux_old            keyrings                   wesnoth
df-lnp-installer        recently-used.xbel
gegl-0.2                recently-used.xbel.BF293W
chris@Basalt ~/.local/share $ cd df-lnp-installer/
chris@Basalt ~/.local/share/df-lnp-installer $ ls
COPYING              dwarf_fortress_lazy_newb_pack.desktop  lnp.yaml   sha1sums
df-lnp-installer.sh  embark_profiles.txt                    patches
DF_LNP_Logo_128.png  LICENSE                                README.md
chris@Basalt ~/.local/share/df-lnp-installer $ ./df-lnp-installer.sh
Checking for dependencies...

Where should Dwarf Fortress be installed? [/home/chris/.local/share]:
rm: remove write-protected regular file `/home/chris/.local/share/df-lnp-installer/.git/objects/pack/pack-a08e8745cd28d65fa160f0a523b0eda66612fd83.pack'? y
rm: remove write-protected regular file `/home/chris/.local/share/df-lnp-installer/.git/objects/pack/pack-a08e8745cd28d65fa160f0a523b0eda66612fd83.idx'? y

df-lnp-installer.sh: Cannot install. /home/chris/.local/share must be an empty or nonexistant folder. If this is an existing DF installation, use --upgrade. Exiting.
chris@Basalt ~/.local/share/df-lnp-installer $ ./df-lnp-installer.sh
bash: ./df-lnp-installer.sh: No such file or directory
chris@Basalt ~/.local/share/df-lnp-installer $ ls
chris@Basalt ~/.local/share/df-lnp-installer $ cd ..
cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chris@Basalt ~/.local/share/df-lnp-installer/.. $ ls
chris@Basalt ~/.local/share/df-lnp-installer/.. $ cd ..
chris@Basalt ~/.local $ ls
chris@Basalt ~/.local $ cd share
bash: cd: share: No such file or directory
chris@Basalt ~/.local $ ls

It seems the LNP installer deleted my entire .local/share directory, and the trash folder along with it so there is no possibility of recovery.  >:( So much for "If something goes wrong, the whole install will be reverted." This was quite a shock, I think you should look into this and consider doing more serious testing, as well as giving the user more clues what is going on.

Details of my linux installation:

chris@Basalt ~ $ cat /etc/*release*
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=14
DISTRIB_CODENAME=nadia
DISTRIB_DESCRIPTION="Linux Mint 14 Nadia"
NAME="Ubuntu"
VERSION="12.10, Quantal Quetzal"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu quantal (12.10)"
VERSION_ID="12.10"

Pages: [1]