The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Install script won't run
salass00 Offline
Junior Member

Posts: 5
Threads: 1
Joined: Sep 2009
Reputation: 0
#1
Solved: 9 Years, 11 Months ago Install script won't run

I just downloaded the Linux version of AMFP from GamersGate (I preordered it) but I can't get the install script to work.

I extracted the rar archive:
$ unrar e ~/Downloads/AmnesiaAMFP-1.0.0-Linux.rar

Added execute permissions to the sh script as they were missing:
$ chmod 755 AmnesiaAMFP-1.0.0.sh

But when I try to run it I get:
$ sudo ./AmnesiaAMFP-1.0.0.sh
/bin/sh: 0: Can't open ./AmnesiaAMFP-1.0.0.sh

md5sums of archive and script:
$ md5sum ~/Downloads/AmnesiaAMFP-1.0.0-Linux.rar ./AmnesiaAMFP-1.0.0.sh
5f5a9c5e7d0637166f0b8b9d1f72377c /home/salass00/Downloads/AmnesiaAMFP-1.0.0-Linux.rar
bc92782fafc84475dff306906184e060 ./AmnesiaAMFP-1.0.0.sh

I'm using Ubuntu 12.04 LTS BTW.

Found a solution using google:
http://mavroudisv.eu/blog/2013/04/17/sh-...nd-ubuntu/

If I type "sudo bash ./AmnesiaAMFP-1.0.0.sh" the install script runs correctly.

I've never had this problem running sh scripts before though...
(This post was last modified: 09-10-2013, 10:38 AM by salass00.)
09-10-2013, 10:20 AM
Find


Messages In This Thread
Install script won't run - by salass00 - 09-10-2013, 10:20 AM
RE: Install script won't run - by Akasu - 09-10-2013, 06:14 PM
RE: Install script won't run - by Overand - 09-11-2013, 03:08 AM
RE: Install script won't run - by Urkle - 09-19-2013, 08:22 PM
RE: Install script won't run - by Overand - 09-19-2013, 09:05 PM
RE: Install script won't run - by Urkle - 09-19-2013, 10:01 PM



Users browsing this thread: 1 Guest(s)