Click to See Complete Forum and Search --> : URPMI
phazeman
09-12-2001, 06:57 AM
Can someone explain how to use the URPMI ?
For Example, i want to upgrade the XFree from
4.0.3 to 4.1.0. I have all the RPMS, but each time i try to upgrade some of them by RPM Manager, it says that i have some problems with the dependencies....
bdg1983
09-12-2001, 08:16 AM
I'm not familiar with URPMI, but I would suggest you get the X4.1 source and compilie it yourself.
Just in case you decide, I include some notes I prepared for myself.
Download
X410src-1.tgz
X410src-2.tgz
X410src-3.tgz
doctools-1.2.tgz
from www.xfree86.org (http://www.xfree86.org)
to i.e.
/download/xsource-4.1
Backup existing installation of XFree
cd /
mkdir xbackup
cp /usr/X11R6 /xbackup -Rr
cp /etc/X11 /xbackup -Rr
cd /download/xsource-4.1
tar xvzf X410src-1.tgz
tar xvzf X410src-2.tgz
tar xvzf X410src-3.tgz
tar xvzf doctools-1.2.tgz
cd xc
Compile XFree86 4.1 (IN CONSOLE and not within X)
make World >& world.log
This will take quite a while
tail -f world.log
If no errors, then continue
make install >& install.log
tail -f install.log
Check for completion
make install.man >& man.log
tail -f man.log
Check to see if link exists
cd /usr/X11R6/bin
ls -l X
If not linked to XFree86, then create link
ln -sf /usr/X11R6/bin/XFree86 ./X
XFree86 -configure
Run the configuration program that will probe and/or guess all your settings.
This will create a new conf in the root directory.
To test this new configuration, run this command:
XFree86 -xf86config /root/XF86Config.new
This will display a grey hatch with an 'X' for the mouse cursor.
If this works fine, hit CTRL-ALT-BACKSPACE to return to the commandline.
Copy this file to the /etc/X11/ directory using this command:
cp /root/XF86Config.new /etc/X11/XF86Config
This may not work correctly as further configuration will need to be done.
xf86cfg
If errors such as library not found when running xf86cfg, then do the following
ldconfig
as it should fix the library not found errors. Hopefully...
xf86cfg
This creates the same XF86Config.new file, so to test it, follow the same steps as before.
XFree86 -xf86config /root/XF86Config.new
cp /root/XF86Config.new /etc/X11/XF86Config
Once setup correctly, type
init 5 to go back to graphical mode and run as normal.
error27
09-12-2001, 09:00 AM
compiling X is far far harder and longer than compiling the kernel for example...
mdwatts is a fairly sharp person who i respect but in general I would advise you to not try compiling and installing x by hand unless you love pain.
make a list of the files that the x4.1 rpm needs before it will install. Download those and install them.
Then reconfigure x.
( in debian by the way you install x4.1 by typing "apt-get install xserver-common xserver-xfree86" "dpkg-reconfigure xserver-common xserver-xfree86" )
phazeman
09-12-2001, 09:07 AM
Thanks a lot to both of you, but actually, it'll take me ~2 day just the downloads, and i'm not to profy to try compiling X. I'm not saying it isn't worth a try, it's just i don't have a time for it now. I just NEED the 3dfx to work for my little brother, before my father brings back the windohs, and thats what i'm really don't want !!!
Can anyone please help me to upgrade the X ?
I have the 'tgz' version of the installation
with very unclear readme, and i have the MDK 8.1 BETA 1 CDs with the RPMs , so i need just the simple explanation how do i upgrade without loosing the dependencies (i've heared that the URPMI does it, thats the reason i asked about it)
bdg1983
09-12-2001, 09:20 AM
Thanks error27, I think... fairly??? ;)
Any Mandrake users here that know how to use URPMI?
phazeman... is there a man page for urpmi? Or maybe try Mandrake's site to see if they have anything. Again 'or' the Mandrake usergroups.
Worth a try while waiting for someone here to help.
undef
09-12-2001, 09:44 AM
i might have to update your database or something before running urpmi. i believe it's urpmi.update or urpmi.addmedia or something like that. not quite sure. first try urpm + tab as root and look at commands that you can run. then run urpmi --auto X_package_here
Malakin
09-12-2001, 07:15 PM
I just NEED the 3dfx to work for my little brother, before my father brings back the windohs, and thats what i'm really don't want !!!3dfx cards work fine in mandrake 8.0, the rpms for them are right on the cd's. I don't understand why you think you need to upgrade X.
phazeman
09-13-2001, 09:14 AM
Actually, i know that the 3dfx 'should' work good with the MDK 8.0, and i know that my DRI and GLX modules are up and everything is fine till i run the 'tuxracer', then my X server dies and brings me to the login screen. That's actually my problem. I've tried to upgrade to X 4.1.0 byt the downloaded 'tgz' and the install script (downloaded from www.xfree86.org), (http://www.xfree86.org),) but after the upgrade my KDE didn't work at all, and the Gnome worked till i ran the 'tuxracer' again, and throwed me out to the login screen. Any advice ?
Malakin
09-13-2001, 09:34 AM
Have you looked at /var/log/XFree86.0.log after trying to run tux racer?
I believe the mandrake software manager is pretty much just a gui front end for urpmi. There is a good man file on urpmi also though.
Edit: And when you test it out you may want to try "gears" instead of tux racer.
[ 13 September 2001: Message edited by: Malakin ]
phazeman
09-16-2001, 04:10 AM
The 'glxgears' don't exists in my system ...
it does exists only in X 4.1.0 or something .
Is there any other way to test if my 3dfx works ? I see that the tuxracer way isn't good for me. Please Help .
TIA
Malakin
09-16-2001, 04:51 AM
In Mandrake 8 gears will be here "/usr/X11R6/bin/gears"
If you don't have it installed then it's on the first CD:
Mesa-demos-3.4.1-4mdk.i586.rpm
phazeman
09-16-2001, 06:20 AM
Thanks a lot, i'll try it at home ...