LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Doom for linux (https://www.linuxquestions.org/questions/linux-games-33/doom-for-linux-142644/)

Alex G1111 02-05-2004 10:35 AM

Doom for linux
 
I installed doom-1.10-7.i386.rpm in Fedora Core 1.
I then accidentally erased the two files created during installation:
rundoom and sdoom in /usr/games.

I wanted to reinstall but got the message "package was already installed".
I then deleted all other files created during the installation:

/usr/X11R6/bin/xdoom
/usr/doc/doom-1.10
/usr/doc/doom-1.10/ChangeLog
/usr/doc/doom-1.10/DOOMLIC.TXT
/usr/doc/doom-1.10/README.TXT
/usr/doc/doom-1.10/README.asm
/usr/doc/doom-1.10/README.b
/usr/doc/doom-1.10/README.book
/usr/doc/doom-1.10/README.config
/usr/doc/doom-1.10/README.gl
/usr/doc/doom-1.10/README.linuxs
/usr/doc/doom-1.10/README.linuxx
/usr/doc/doom-1.10/README.sndserver.patch
/usr/doc/doom-1.10/README.sound
/usr/doc/doom-1.10/README.udoom
/usr/doc/doom-1.10/TODO
/usr/games/rundoom
/usr/games/sdoom
/usr/lib/games/doom
/usr/lib/games/doom/doom1.wad
/usr/lib/games/doom/musserver
/usr/lib/games/doom/sndserver
/usr/lib/games/doom/sndserver.8bit
/usr/lib/games/doom/sndserver.8bitMono

I still get the message "package was already installed" when trying to reinstall doom.

Any advise would be appreciated.
Alex

delta9 02-05-2004 11:00 AM

isn't there a "force" option or something for rpm? try reading the manpage "man rpm"

defubar 02-05-2004 11:19 AM

Have you tried adding the '--force' flag?

Also,

If you have rpm2tgz and installpkg, have you tried

rpm2tgz doom-1.10-7.i386.rpm

installpkg doom-1.10-7.i386.tgz

?

Alex G1111 02-05-2004 11:30 AM

Thanks for your replies.
I looked up elsewhere and the suggestion was to use
rpm -ivh --replacepkgs < >.rpm
I will try it when I get home.

Larry Staberg 02-05-2004 05:39 PM

--force is the same as --replacepkgs.

use rpm -e <package-name> instead of deleting files within the packages.
This should save you this erro no..

Alex G1111 02-05-2004 10:15 PM

Larry,

I ended up re-updating Fedora. Then the install went fine.
However, I learned my lesson and a thing or two about the rpm command.

Thanks for reply

LavaDevil94 02-06-2004 08:55 AM

you should use prboom, it has alot of nifty features:
http://prboom.sf.net


All times are GMT -5. The time now is 06:13 PM.