LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-30-2005, 11:42 PM   #1
xnomad
Member
 
Registered: Jun 2005
Posts: 53

Rep: Reputation: 15
Install script errors when installing UT2004 [SOLVED]


[SOLVED SEE MY LAST POST ON THIS THREAD BELOW]


Hi, I'm trying to get UT2004 installed on my Mandriva LE 2005.

I can get it installed on Win XP (Dual Boot) no problem however, trying to install it on Linux I keep getting errors.

Each time I try to install an error pops up, and each time it's a different file that the installer can't seem to install/read. However the error seems to always occur at line 148 in the setup script:

Below is the console output during install with an error occuring:

# /mnt/cdrom/linux-installer.sh
Copying to a temporary location...
Verifying archive integrity... All good.
Uncompressing Unreal Tournament 2004 for GNU/Linux 3186......................................................................
UZ2: Failed to fully write [/usr/local/games/ut2004/Textures/BarrensArchitecture-Scion.utx]!
./setup.sh: line 148: 20438 Aborted "$setup" "$@"


This is not a mount issue as I have auto mounting disabled and "export SETUP_CDROM=/mnt/cdrom"

I'm guessing that's it's somehow the way that Linux is set up to read from the DVD ROM drive. Below is my hdparm output for the device (if that is of any use).

# hdparm /dev/hdc

/dev/hdc:
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Invalid argument

Below is a cutout of the install script with line 148 in it (if that helps)

while true
do
case "$1" in
-h | --help)
MS_Help
exit 0
;;
--info)
echo Identification: "$label"
echo Target directory: "$targetdir"
echo Uncompressed size: 63024 KB
echo Compression: gzip
echo Date of packaging: Thu Mar 4 04:41:06 EST 2004
echo Built with Makeself version 2.1.3 on linux-gnu
if test x$script != x; then
echo Script run after extraction:
echo " " $script $scriptargs
fi
if test x"" = xcopy; then // THIS IS LINE 148
echo "Archive will copy itself to a temporary location"
fi
if test x"n" = xy; then
echo "directory $targetdir is permanent"
else
echo "$targetdir will be removed after extraction"
fi
exit 0
;;
--dumpconf)
echo LABEL=\"$label\"
echo SCRIPT=\"$script\"
echo SCRIPTARGS=\"$scriptargs\"
echo archdirname=\"ut2004-lnx-installer-dvd\"
echo KEEP=n
echo COMPRESS=gzip
echo filesizes=\"$filesizes\"
echo CRCsum=\"$CRCsum\"
echo MD5sum=\"$MD5\"
echo OLDUSIZE=63024
echo OLDSKIP=361
exit 0
;;
--lsm)
cat << EOLSM
No LSM.
EOLSM
exit 0
;;
--list)

Last edited by xnomad; 08-01-2005 at 07:23 AM.
 
Old 07-31-2005, 12:30 AM   #2
racethesun
Member
 
Registered: Jul 2005
Distribution: ubuntu
Posts: 52

Rep: Reputation: 15
there one someone before that had this same problem... its one of three things.... your hard drive cant hold the 4 gigs of game files, your dvd is to scratched to read that part, or someone else found that using a spare dvd drive fixed it.
 
Old 07-31-2005, 12:32 AM   #3
dingo_aus
LQ Newbie
 
Registered: May 2004
Distribution: Mandriva 2005 LE
Posts: 16

Rep: Reputation: 0
I don't really know what is going on but if it were my machine, I'd copy the contents of the DVD onto the harddrive and run it from there to side step any DVD driver issues.

It looks like there is some issue with the installation of that one particular file. You do have enough harddrive space to install I'm assuming? I've never found a game more harddisk hungry than UT2004 with a few mods

I've setup the 6 CD version on Linux heaps of times on several distros without issue.
 
Old 07-31-2005, 08:46 AM   #4
xnomad
Member
 
Registered: Jun 2005
Posts: 53

Original Poster
Rep: Reputation: 15
Yep I've got plenty of hard drive space and I already tried installing it off a hard drive copy but got the same error. Another guy on this board had the same errors, I got in touch with him an he told me he tried another DVD drive and it worked.

I've actually managed to install it once without any errors but couldn't get the game to get past the splash screen.

Is there some setting I can change so that my DVD drive reads at a slower speed so to avoid any errors? It's strange that watching DVD's on Linux and installing the game using the same drive on Windows doesn't seem to have any problems. Of course the Linux installation uses some different files and these could be corrupt on the DVD, however there isn't a scratch on it and considering another guy had exactly the same error on exactly the same line on the installation script does appear to indicate the problem is not the DVD disk.
 
Old 08-01-2005, 07:21 AM   #5
xnomad
Member
 
Registered: Jun 2005
Posts: 53

Original Poster
Rep: Reputation: 15
OK as usual with Linux after asking several questions I come back and answer them myself. I set my DVD drive speed to "1" and also turned off DMA (I don't know if the DMA made a difference) and it finally installed I've loaded up a quick Deathmatch and all seems to be working correctly.

To change the drive speed to "1" I did (As root)

hdparm -E 1 /dev/hdc

to disable dma do

hdparm -d0 /dev/hdc

(replace hdc with whatever device your DVD drive is)

The settings should go back to their defaults after a reboot so don't worry about making any changes however do check the Man files.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing UT2004, can't switch discs during install Dark_Oppressor Linux - General 2 06-30-2005 06:47 PM
Installing via install.sh script files in Ubuntu Incognegro Linux - Newbie 1 04-13-2005 01:19 AM
quake 3 install script errors... weasel86 Linux - Games 0 12-29-2004 10:41 AM
Errors Installing winex using cvs script slacard Linux - Software 1 10-25-2004 09:51 PM
errors when starting ut2004 Moebius Linux - Games 0 06-17-2004 01:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration