LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-15-2003, 10:36 PM   #1
eahogue
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
urpmi can't find packages


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!

Alan
 
Old 10-15-2003, 11:18 PM   #2
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
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.

Last edited by jonr; 10-15-2003 at 11:20 PM.
 
Old 10-15-2003, 11:20 PM   #3
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
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

urpmi.addmedia -f CD# removable://mnt/cdrom/Mandrake/RPMS

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.
 
Old 10-16-2003, 07:35 PM   #4
mysterio
Member
 
Registered: Sep 2003
Location: Springfield Ma.
Distribution: Mandrake 9.2,Knoppix 3.7,Slackware 10.0, FreeBSD. 5.3, OpenBSD 3.6, NetBSD 2.0, Debian
Posts: 275

Rep: Reputation: 30
Have a look at this site, might help you out, it sure did for me.
http://plf.zarb.org/~nanardon/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't find packages! [IT04]Nemo Linux - Newbie 3 03-02-2005 04:29 PM
Cant find packages dangerousdave Linux - Newbie 3 02-14-2005 08:06 PM
packages removed with urpmi --auto-select six_fingerz Mandriva 1 09-11-2004 08:16 AM
Urpmi...Cannot find a boot loader sunshine Mandriva 7 03-03-2004 05:32 PM
URPMI: "unable to get source packages, aborting". WHY??? linuxfond Linux - Newbie 0 02-20-2003 06:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration