Getting Nexuiz to work on Linux

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Postby FruitieX » Fri Nov 17, 2006 9:21 pm

There u go:

debian:/home/rasse# echo $LANG
fi_FI@euro
debian:/home/rasse# unset LANG
debian:/home/rasse# apt-get install kernel-headers-`uname -r`
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
alsa-base: Depends: linux-sound-base but it is not installable
alsamixergui: Depends: libasound2 (> 1.0.9) but 1.0.8-3 is to be installed
Depends: libfltk1.1 (>= 1.1.6) but it is not installable
Depends: libgcc1 (>= 1:4.0.0-9) but 1:3.4.3-13sarge1 is to be installed
Depends: libstdc++6 (>= 4.0.1) but 3.4.3-13sarge1 is to be installed
kernel-headers-2.4.27-2-386: Depends: kernel-headers-2.4.27-2 but it is not going to be installed
nexuiz: Depends: libc6 (>= 2.3.6-6) but 2.3.2.ds1-22sarge4 is to be installed
Depends: libsdl1.2debian (>= 1.2.10-1) but 1.2.7+1.2.8cvs20041007-4.1 is to be installed
Depends: nexuiz-data (>= 2.0-1) but it is not installable
nvidia-glx: Depends: nvidia-kernel-1.0.8776 but it is not installable
Depends: x11-common (>= 1:7.0.0) but it is not installable
Depends: libc6 (>= 2.3.6-6) but 2.3.2.ds1-22sarge4 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
debian:/home/rasse#

(more step by step instructions, they are simple :P) Hope i will be a linux geek one day (like i was (am), a windows geek :))

edit: Nexuiz problem solved, only the 2 Drivers, and the mouse left (proggression ;P) (won't dare press create / then start. It's already around 2fps in the menu :))

darn my usb port is probably soon broken :D
FruitieX
Keyboard killer
 
Posts: 588
Joined: Mon Nov 13, 2006 4:47 pm
Location: Finland

Postby esteel » Fri Nov 17, 2006 9:41 pm

Ok the package manager is failing to install quite a few packages because it can't resolv the dependencies.. But right now i have no idea why :) Can you post the file /etc/apt/sources.list ? Thats the file that tells the package manager were to get those packages from. During installation you have choosen some debian mirror for sure..

I hope that file is correct so maybe a simple
Code: Select all
apt-get update
apt-get dist-upgrade
will fix your problems. The first will sync with the packages list with the mirror mentioned in sources.list and the second line will then try update every installed program on your system to the latest version found on the mirror. apt-get will ask you before downloading and installing anything so if you think the list of programs it tries to update looks suspicious post the apt-get output here..
In worst case you can abort apt-get anytime with CTRL-C

Nexuiz problems fixed means the debian thing did work? The installation seems to have had problems as its also mentioned in the previous apt-get error message.. or what did you change?
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby FruitieX » Fri Nov 17, 2006 9:53 pm

Nexuiz problems fixed means the debian thing did work? The installation seems to have had problems as its also mentioned in the previous apt-get error message.. or what did you change?


Umm yes the debian one worked :)

Here's what happened after i gave those commands to the terminal (in english :))

debian:/home/rasse# apt-get update
Hit http://ftp.fi.debian.org stable/main Packages
Hit http://ftp.fi.debian.org stable/main Release
Hit http://ftp.fi.debian.org stable/main Sources
Hit http://ftp.fi.debian.org stable/main Release
Hit http://xgl.compiz.info sid/main Packages
Hit http://xgl.compiz.info sid/main Release
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Err http://metascape.afraid.org sid/main Packages
301 Moved Permanently
Ign http://metascape.afraid.org sid/main Release
Failed to fetch http://metascape.afraid.org:13666/apt/d ... ackages.gz 301 Moved Permanently
Reading Package Lists... Done
W: Couldn't stat source package list http://metascape.afraid.org sid/main Packages (/var/lib/apt/lists/metascape.afraid.org:13666_apt_dists_sid_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://metascape.afraid.org sid/main Packages (/var/lib/apt/lists/metascape.afraid.org:13666_apt_dists_sid_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
debian:/home/rasse# apt-get dist-update
E: Invalid operation dist-update
debian:/home/rasse#


And the sources.list file:
#deb file:///cdrom/ sarge main

deb http://ftp.fi.debian.org/debian/ stable main
deb-src http://ftp.fi.debian.org/debian/ stable main

deb http://security.debian.org/ stable/updates main

deb http://metascape.afraid.org:13666/apt sid main

deb http://xgl.compiz.info/ sid main

U have got some msn or an other chat client? i feel like using this forum as a chat :P

edit: DANG it was dist-upgrade not dist-update..... Posting a new post with the stuff that happened next...
FruitieX
Keyboard killer
 
Posts: 588
Joined: Mon Nov 13, 2006 4:47 pm
Location: Finland

Postby FruitieX » Fri Nov 17, 2006 9:56 pm

debian:/home/rasse# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
3dchess: Depends: libc6 (>= 2.3.6-6) but 2.3.2.ds1-22sarge4 is installed
Depends: xaw3dg (>= 1.5+E-1) but it is not installed
alsa-base: Depends: linux-sound-base but it is not installable
alsamixergui: Depends: libasound2 (> 1.0.9) but 1.0.8-3 is installed
Depends: libfltk1.1 (>= 1.1.6) but it is not installable
Depends: libgcc1 (>= 1:4.0.0-9) but 1:3.4.3-13sarge1 is installed
Depends: libstdc++6 (>= 4.0.1) but 3.4.3-13sarge1 is installed
codebreaker: Depends: libc6 (>= 2.3.6-6) but 2.3.2.ds1-22sarge4 is installed
nexuiz: Depends: libc6 (>= 2.3.6-6) but 2.3.2.ds1-22sarge4 is installed
Depends: libsdl1.2debian (>= 1.2.10-1) but 1.2.7+1.2.8cvs20041007-4.1 is installed
nvidia-glx: Depends: nvidia-kernel-1.0.8776 but it is not installable
Depends: x11-common (>= 1:7.0.0) but it is not installable
Depends: libc6 (>= 2.3.6-6) but 2.3.2.ds1-22sarge4 is installed
W: Couldn't stat source package list http://metascape.afraid.org sid/main Packages (/var/lib/apt/lists/metascape.afraid.org:13666_apt_dists_sid_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Unmet dependencies. Try using -f.
debian:/home/rasse#


THANK YOU for all your help :D. I would probably be using Windows already wihtout your help. :)
FruitieX
Keyboard killer
 
Posts: 588
Joined: Mon Nov 13, 2006 4:47 pm
Location: Finland

Postby esteel » Fri Nov 17, 2006 10:12 pm

FruitieX wrote:Umm yes the debian one worked :)

And the sources.list file:
#deb file:///cdrom/ sarge main

deb http://ftp.fi.debian.org/debian/ stable main
deb-src http://ftp.fi.debian.org/debian/ stable main

deb http://security.debian.org/ stable/updates main

deb http://metascape.afraid.org:13666/apt sid main

deb http://xgl.compiz.info/ sid main

U have got some msn or an other chat client? i feel like using this forum as a chat :P

edit: DANG it was dist-upgrade not dist-update..... Posting a new post with the stuff that happened next...

Well the problem seems to be in your /etc/apt/sources.list file.
There are several versions of debian. ( http://wiki.debian.org/DebianReleases ) and you mixed two of them which leads to your problems. You currently have Debian 'stable' installed (also called sarge). Thats the current version sold on CDs its very reliable but as there are only bugfixes for stable is rather old by now.. Then there is 'testing' (also called etch) that is what is currently in development and will become the next official version sold on CDs very soon (maybe januar next year) that version is very uptodate. And finaly there is unstable (also called sid). Sid is a playground for the developers to test packages which will (after successful testing) get into unstable.
As you can see you have mixed stable and sid in your sources.list. You can try to replace 'sid' with 'stable' or 'sarge' and then again try apt-get update and apt-get dist-upgrade. If that does not work you will have to find a replacement for the last two lines in your sources.list or just to live without them :)

Hmm i'll be in chat again tomorrow, but i think the others are online..
if you know irc, people are in #nexuiz in the quakenet.org network or #nexuiz in the gamesurge.net network..
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby FruitieX » Fri Nov 17, 2006 10:27 pm

Okay updated now.... But the newest kernel still ain't installed (no clue what 2 do) that would solve the issue with the NVIDIA driver so if i get some help with that i would be thankful. But now i'll go to sleep, it's 12:22 over here :o . And the mouse problem is also really important for me now. Any ideas why this happens? already sent a bug report...
I can live without the sound drivers for a while (not too long though :))
Cya maybe tomorrow on the chat then.

If this info i have written here is for any help then: http://www.linuxforums.org/forum/debian ... post396789
FruitieX
Keyboard killer
 
Posts: 588
Joined: Mon Nov 13, 2006 4:47 pm
Location: Finland

Postby C.Brutail » Fri Nov 17, 2006 11:00 pm

FruitieX, I can see your problems, but you know, you MUST have a working debian system before trying to run nexuiz!

As I can see, most of your problems are basic debian problems, and not related to nexuiz at all.

What I realy suggest you: don't give up! Linux is a very powerfull system, way more then windows. BUT: you have to learn everything before you can use it. Linux is a totally diferent system then windows, you can throw almost all your win knowledge in the bin-bucket.

First, I ask you, why are you using debian? There are a lot other linux distros, you can install wo any problems at all (ubuntu eg.)..

Second: before installing linux, read some walk-throughs, tutorials, manuals etc. Learn the basics first!

3rd: forget kernelnow, it's not a hard thing, but you can fuck up your whole system, that's not that important for you know.

4th::
If you're realy want a debian, I suggest you to make a clean install now (as I've read, you haven't done much yet, so won't be a big loose anyway).
Download the current stable net-install cd of debina. The stable release is codenamed sarge. Install it, but only install the base system wo any optional packages (yes, GUI, window manager, mouse support and sound is optional in linux, they are not in the base core).
Modify your sources to use testing (etch), and do a distupgrade!
Now you can dl any other packages (xserver, ALSA, etc.), to have GUI. and almost anything you want.

5th: Learn to use google! When you want to install linux, google is your best friend ;) As you said, you're a total newby to linux, I can tell you some keyword, what to start search on:

unix, linux, debian, debian install, sarge, etch, root, mc, man, lynx, bitchx, apt-get, su. xorg, KDE, gnome.

These are the basics you should know ;)

5th: Dont throw winxp away yet. ;)
Last edited by C.Brutail on Sat Nov 18, 2006 9:28 am, edited 1 time in total.
"One should strive to achieve; not sit in bitter regret."
WE ARE NEXUIZ.
Image
Image
C.Brutail
Laidback mapper
 
Posts: 2357
Joined: Tue Feb 28, 2006 7:26 pm
Location: Ironforge

Postby FruitieX » Sat Nov 18, 2006 6:34 am

1.
Using debian because of: The Fedora X Server is totally bugged on my pc (shows some random garbage on my screen)

2. I have tried... Well infact that's why i'm here :) it's a lot simplier to get help from a person than a help file

3. The kernel is actually pretty important now, since i can't install the NVIDIA drivers without the 2.6.x kernel.


4. Can't i update all that without installing debian again?

5. I use google a lot for this. I just have not had any help of the "help pages for intalling a new linux kernel"

5. [2] Too late :P

And, what should i do now? Install debian sarge base package? Then at the console (Not GUI) type edit /etc/apt/sources.list, change all stable sources to etch and do apt-get what?

BTW i think that the DVD (Sarge) has an 2.6.x Kernel to chose from, i'll just have to run it in expert mode. It's okay that i use the DVD to netinstall (just removing it after the base system is installed)

After the instructions on what i should type in the console after installation, then i will install
FruitieX
Keyboard killer
 
Posts: 588
Joined: Mon Nov 13, 2006 4:47 pm
Location: Finland

Postby esteel » Sat Nov 18, 2006 8:58 am

Morning..
The current 'stable' release sarge is 1 1/2 years old and did not get software updates since then. That is debian policy, the current stable release only gets bugs fixes. Thats what makes it STABLE and thats why server admins LOVE it so deeply.
But when someone wants to use debian on the desktop most probably the person wants to get 'testing' as its almost as stable but it receives software updates.
Right now is a special time as 'testing' will soon become the new 'stable' release so its just as good and tested as 'stable' so if anyone were to reinstall debian i would advice to go for 'etch/testing' as its MUUUUUUUUUUUUUUUUUCH easier and is more uptodate. The last time i installed 'testing' on my computers (including a laptop) everything did just work while 'stable' took some more work. This 1 1/2 years really made great advances in that area.
One can find cd images for testing here: http://www.us.debian.org/devel/debian-installer
So what you most propably want is this image: http://cdimage.debian.org/cdimage/etch_ ... etinst.iso

Other then that.. did you try
Code: Select all
apt-get update
apt-get dist-upgrade
after changing sources.list? That should always be done after changing that file :)

And yes you can update without reinstalling. Just change every 'stable' in sources.list to testing and run the two command above. But prepare for a LONG download :)
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby C.Brutail » Sat Nov 18, 2006 10:29 am

Soryy, I don'T wanna be rude, but I think

Image

This is Nexuiz gaming forum, and not debian support. However, we wanna and will help you, but next time please state your questions at the right place.

FruitieX wrote:2. I have tried... Well infact that's why i'm here :) it's a lot simplier to get help from a person than a help file


This is called lazynes... Those help files are pretty much well written, and somebody spent a lot of work in it. Use them! Like I said, we're very patient here, and will give you guidance, but linux needs much much reading and learning. If something is not working with debian etch (or sarge), it's proly user error. User error in not reading carefully, not following steps read in a tutorial etc. Problem between chair and keyboard....

FruitieX wrote:3. The kernel is actually pretty important now, since i can't install the NVIDIA drivers without the 2.6.x kernel.


Debian sarge comes with 2.6.2 kernel too afaik, so you don't realy need to bother with it

FruitieX wrote:4. Can't i update all that without installing debian again?


Yes you can, but we realy don'T know what have you done yet, what broken dependencies are etc.

FruitieX wrote:5. I use google a lot for this. I just have not had any help of the "help pages for intalling a new linux kernel"


Image

Then wtf is this?
http://www.google.hu/search?hl=hu&q=deb ... %A9s&meta=

3rd link, flakotimme:
http://www.falkotimme.com/howtos/debian ... 6_compile/

And inside that, in the first block:

http://www.howtoforge.com/forums/showthread.php?t=21

This pretty much tells how to install it to etch too, becouse afaik etch uses grub too.

FruitieX wrote:5. [2] Too late :P


I only suggested, becouse it's not bad to have a dual boot system with windows, especially in the first times, when you don'T have gui for the first few hours,.
I have dual boot winxp too. It's only I don't realy boot it up now :P

And, what should i do now? Install debian sarge base package? Then at the console (Not GUI) type edit /etc/apt/sources.list, change all stable sources to etch and do apt-get what?

BTW i think that the DVD (Sarge) has an 2.6.x Kernel to chose from, i'll just have to run it in expert mode. It's okay that i use the DVD to netinstall (just removing it after the base system is installed)

After the instructions on what i should type in the console after installation, then i will install[/quote]

Good, so you have a sarge netinstall dvd. Ok, to do a clean install (not necessary, esteel tried to tell you, tho I think he did not tell you anything) run the install with

expert26

This will install sarge with 2.6.2 kernel afaik.

Follow the instructions, and install grub boot loader (it's easier to configure imho, and when compiling the kernel it will be easier too ;) )

When you can reboot your install for the first time, and it asks you of package selection, tell the install to choose the packages manually. Then aptitude" start to run. Wo doing anything simply quit (q key), but don't worry, you don't miss anything, you'll install everything later.

When the install is ready, first, log in as root, and type:

apt-get install mc lynx bitchx

This will dl and install you Midnight Commander alias mc. This is an essential tool, simply the best in console :) lynx is a text based web browser, nice to google with it when you don't have GUI (use g to "goto page"). bitchx is a nice text based irc client. IMPORTANT! Never use lynx or bitchx as root! Always log in in an another terminal (ctrl+alt+f1-6) as a user, and run them there!

Afetr you got mc start it (mc) as root, go to /etc/apt/sources.lst and press F4 to edit it. You'll find there the apt sources list. change every "stable" word to "testing" (some say, it's better to write "etch" there, personally I dunno, it SHOULD mean the same).
Save the file, exit from mc, and type:

apt-get update

This will update all your information about packages.

then:

apt-get dist-upgrade

Long download, and if everything is fine, you should have upgraded to etch :)

After this, run the tool dselect. This is a frontend package selection tool. Don't be lazy to read the instructions how to use dselect (prepare, it's a bit confusing for the first time, but with a little time you can familiarise yourself with it well). Choose xorg x server package, and your favorite window manager too (KDE, gnome, metacity, icewm, anything you prefer).

dselect will download and install all the things to you, and give you the configuration options as well. When you're set, download the nvidia driver from nvidia.com, make it executable, and run it as root! If it needs the kernel headers, type

uname -a

To get your current kernel info, and apt-get or dselect download the kernel headers.

These are pretty much the basics, told in a very fast way. Linux configuration and installation needs lots of time, and patiente, but it's worth the time :)

If you want to have a page with screenshots too, here's one:

http://www.falkotimme.com/howtos/perfec ... /index.php

It differs in some way from my description, (like booting with linux26, not expert26, it's getting the mail server package), but those are not essential to follow.

Gl with your penguin!
"One should strive to achieve; not sit in bitter regret."
WE ARE NEXUIZ.
Image
Image
C.Brutail
Laidback mapper
 
Posts: 2357
Joined: Tue Feb 28, 2006 7:26 pm
Location: Ironforge

PreviousNext

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron