Click to See Complete Forum and Search --> : rpm problems + compiling problems


Ludootje
11-24-2001, 03:42 PM
I'm using Linux-Mandrake8.1, under 8.0 "rpmdrake" and the cmd "rpm -Uvh name.rpm" worked fine, compiling didn't.

1. RPM problem:
When i start rpmdrake and I want to uninstall something, it will tell me that the programs have been uninstalled fine.
When i restart rpmdrake, I see that my programs etc have not been uninstalled.
When i want to install programs with rpmdrake, it will NOT ask me for any of my cd's, allthough there's nothing in my cd-reader.
It will tell me that my programs "have been installed succesfully".
When I restart rpmdrake, I'll see that those program have still not been installed.

When I use the cmd "rpm -Uvh name.rpm"/"rpm -i name.rpm"; it will say "Segmentation fault". Always. I'm using rpmversion 4.0.3; and sweede told me yesterday that according to rpm.org 4.0.3 is a development version.

My rpm question is the following: how can I or fix the problems with rpmdrake, or use the rpmdrake of Linux-Mandrake8.0? For the rpm-cmds, how can I downgrade to the stable release? Please note that installing the stable release will not be possible with rpm or from source, so I'd need to have binaries of it.


2. compiling problem:
With Linux-Mandrake8.1, version 3.0.1 of the gcc compiler is given. Under Linux-Mandrake8.0, version 2.96 of the gcc compilter is given. The good release is 2.95.3.
How can I downgrade? I have an rpm of 2.95.3, though as you can read above, installing wont work. So here again, I'd need some binaries of it. Anyone an idea where I can get those?


Please help people, cause I can't install ANYTHING currently :( :( :(
Thanks.
Ludootje

[ 24 November 2001: Message edited by: Ludootje ]

Ludootje
11-25-2001, 11:46 AM
anyone please..

sheek
11-25-2001, 02:44 PM
I had this same problem with drake
My security settings were on high or something. If you try installing the software as root i'm pretty sure it will work out

Ludootje
11-25-2001, 02:54 PM
rpms have to be installed as root by default :)
also, i've tried to compile etc as root, but it's not working neither.. i'm pretty sure of what the problems are, though i don't know how to fix them

m3rlin
11-25-2001, 08:45 PM
Did you try rpm -f, this will force the erase, or the install, as you perfer.
Hope i helped

z0mbix
11-26-2001, 05:35 AM
Why don't you try another distro? I had neverending problems with Mandrake, but it taught me the ropes before I moved on to another distro. Just a thought!!! :D

Ludootje
11-26-2001, 12:24 PM
Originally posted by cheeky_zombie:
<STRONG>Why don't you try another distro? I had neverending problems with Mandrake, but it taught me the ropes before I moved on to another distro. Just a thought!!! :D</STRONG>
i have been thinking about it.. but the point is: all my hardware etc is configured like it has to (mandrake found everything), and if i upgrade to suse or debian (which i've only heard good things off, and which tempt me the most) would i have to reconfigure everything, reinstall all my data, reinstall all my themes,.. well, you get the point. Should I have to this all over, or can I simply "upgrade" it?

z0mbix
11-27-2001, 05:09 AM
Originally posted by Ludootje:
<STRONG>
i have been thinking about it.. but the point is: all my hardware etc is configured like it has to (mandrake found everything), and if i upgrade to suse or debian (which i've only heard good things off, and which tempt me the most) would i have to reconfigure everything, reinstall all my data, reinstall all my themes,.. well, you get the point. Should I have to this all over, or can I simply "upgrade" it?</STRONG>

You could easily back up all your data, but you would have to reconfigure/reinstall your themes, packages etc.

Ludootje
11-27-2001, 12:52 PM
pffffffft
backup everything: yeah put it on my windows partition
reconfigurating hardware etc: mandrake dedected EVERYTHING, i don't wanna spend time editing .conf files for my hardware, cause that won't work with me :( :(
still, currently i can't install programs, so maybe i should move to debian or suse.. Anyone ideas? What's the best distro for a newbie: suse or debian? I suppose suse, but that apt-get looks cool :)

z0mbix
11-27-2001, 04:02 PM
Originally posted by Ludootje:
<STRONG>maybe i should move to debian or suse.. Anyone ideas? What's the best distro for a newbie: suse or debian? I suppose suse, but that apt-get looks cool :)</STRONG>

I've heard SuSE is an excellent allround distrobution and good for newbies, but never used it myself. Personally I use Debian and would never go back to RedHat or Mandrake but it's not as easy to install. As long as you know your hardware you'll be fine, but there isn't anything like the mandrake control centre. But....you get apt-get! :D

I learnt more in one night installing and configuring Debian than in the 6 months that I used Mandrake. Which was my aim. Everyday I learn something valuable. :p

Ludootje
11-28-2001, 06:29 AM
the mandrake control center is dumb :)
I don't use/like it
though, for the hardware knowledge, erm, I have no idea what's in that case, except for sound :)
maybe I'll go to suse
i've heard i can install apt-get on any linux os, but it's hard to install. Anyone who did it/knows something about it?

mrBen
11-28-2001, 06:51 AM
I think it is possible to install apt-get on a non-Debian system, but I've only heard of people who have done it using Linux-from-scratch. I don't think there's an .rpm of it :) However, there is a port of apt-get for rpms, as used in Connectiva Linux, but I'm not sure how you would get it and whether it would be easy to install.

SuSE is probably going to be better initially for a newbie (compared to deb) - the latest version (7.3) is supposed to have really good hardware detection and is plenty GUI configurable. The only thing is that apparently YaST2 is a bit 'all-powerful' for the more experienced user (for instance if you change any config files manually that YaST2 uses, it will change them back as soon as you run YaST2 again :( ).

On the other hand, I think Debian would probably be an excellent choice after a year or so - once the system is set-up as you want it, apt-get makes updates and installation happy. The only problem is setting up the hardware - I never managed to get my soundcard working under Debian, but I do plan to go back at some point.

[The saying goes that it doesn't matter how hard Debian is to install, because you only ever need to do it once, because of apt-get]

If you're details of your system, then you can do worse than copy all the details from HardDrake, as I've found it has pretty good hardware detection. Alternatively, use the Windows Device Manager, which can print out about 100 pages of info about the hardware settings.

HTH

Ludootje
11-28-2001, 07:00 AM
Originally posted by mrBen:
I think it is possible to install apt-get on a non-Debian system, but I've only heard of people who have done it using Linux-from-scratch..
erm.. what's linux-from-scratch? I've heard about it, but I have no idea.. When I look at the name, I think about simply a kernel with no distro? Is that possible?
I don't think there's an .rpm of it :)
yeah well installing rpm's isn't working anyway on my mandrake (read my first post) However, there is a port of apt-get for rpms, as used in Connectiva Linux
yes, rpm-get, but it seems to be quite buggy
but I'm not sure how you would get it and whether it would be easy to instal
I suppose it will be as difficult as installing apt-get :)
Anyone knows if there are binaries of apt-get? That would help :)
Also, to get back to my original question, anyone knows if I can download a binary of the STABLE rpm-install somewhere?
I can't do anything with an rpm of it because my current isn't working, neither is rpmdrake, nor can i use the source of it, as i have a bad version of the gcc-compiler, and i can force the install with an rpm of the good gcc-version, though for that my rpm-install would have to work.
Anyone please? I can't install ANYTHING, this isn't funny :( :( :(

[ 28 November 2001: Message edited by: Ludootje ]