Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been using Mandrake 9.1 happily for about a month. Not long ago, I tried to start X and I got an error saying that it couldn't find the X server.
I thought this might have something to do with the fact that the last time I used it (in KDE), I used RPMDrake to uninstall some stuff, including Gnome, to make more space on my disk. That's the only thing I did that I can imagine would cause this kind of problem.
But when I use urpmi to try to reinstall XFree86, after a long pause it says:
Installation failed, some files are missing:
/var/cache/urpmi/rpms/XFree86-4.3-8.2mdk.i586.rpm
And then it recommends updating the urpmi database.
Since then I've tried installing other things, and I always get the same kind of error.
So I have three questions.
1) Is this the right solution in the first place? I'm assuming I somehow uninstalled all or part of X.
2) I know these packages must be on one of the installation CDs. Is the problem that I need to tell it to look there? And, if so, how do I do that?
3) How do I update the urpmi database?
I've been searching all over for a solution to my problem and haven't been able to find anything. I'd really appreciate some help!
I know what I would do, though this will probably be an unpopular answer. I would do a reinstall, in the "upgrade" mode, which would keep all my files intact but give me back the X Window capability I'd lost. The disadvantage to this brute-force method, which I've used dozens of times when faced with problems I couldn't figure out how to solve, is that I have to reinstall a bunch of custom programs I've been using. I make sure to keep the installation packages for them handy in my home directory so I can do that.
I am an extremely impatient person and the hour or so I spend sometimes doing this is easier on my health than the many hours I would otherwise spend banging my head against a wall.
When I reinstall Mandrake Linux, I use the "expert" option so that I can avoid installing things I don't want, and install a few non-standard ones I do. It doesn't really mean you have to be an expert. It just means you get more control.
that's one of those mysterious error messages. I had it recently and I tried
rpm --rebuilddb
and
urpmi.update -a
which you should try. The first rebuilds the rpm database, the second updates the sources (in case there have been any changes). Unfortunately, it didn't help me. So what I ended up doing is to
urpmi.removemedia -a
which gets rid of all the sources and then set them up again. For the CDs you do
You have to have the CD in the drive and mounted. Look at the CD to find the exact path to the directory containing the rpms - I'm pretty sure the above path is not right.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.