Re: [newbie] rpm database gone walkies
On Sunday 05 Jan 2003 00:36, Stephen Kuhn wrote: Hi Stephen, On Sun, 2003-01-05 at 11:30, Stephen Kitchener wrote: Hi, I have a small problem, the rpm database on my Makdrake 9.0 machine has gone. I have tried rpm --rebuilddb, I got an io error on the db file, I can't remember the full error as it has gone out of the scope of the buffer. I then tried rpm --initdb followd by rpm --rebuilddb, but the promp returns almost immediatly and when I do an rpm -qa | grep for an rpm that I know is installed, it dosn't find anything, is there a way for me to force a rebuild the db please. Before going into a complete pommie-panic, you might want to double check your path statements - both in the system profile and in your /etc/ld.so.conf and rerunning ldconfig then doing a reboot - JUST IN CASE...you might find that there may have been an aberration somewhere that just needed to be resolved...if that fails, THEN PANIC. Ok I am now panicking, (:-P) Before I tried the first rpm --rebuild I was trying to ask rpm if a certain package was installed. I then got the io error. Before all this the system had been sitting quiet for some time and had recently been fixed with the security/update rpms from Mandrake. All the updates performed with out probelms. I do this via the command line as I like to see what is going on. /etc/ld.so.conf contents are as follows /usr/X11R6/lib /usr/lib/qt3/lib and ldconfig produced no errors. -- Stephen Kitchener The best way to accellerate a win9x machine is at 9.81m/s2 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] rpm database gone walkies
On Sun, 2003-01-05 at 11:30, Stephen Kitchener wrote: Hi, I have a small problem, the rpm database on my Makdrake 9.0 machine has gone. I have tried rpm --rebuilddb, I got an io error on the db file, I can't remember the full error as it has gone out of the scope of the buffer. I then tried rpm --initdb followd by rpm --rebuilddb, but the promp returns almost immediatly and when I do an rpm -qa | grep for an rpm that I know is installed, it dosn't find anything, is there a way for me to force a rebuild the db please. Before going into a complete pommie-panic, you might want to double check your path statements - both in the system profile and in your /etc/ld.so.conf and rerunning ldconfig then doing a reboot - JUST IN CASE...you might find that there may have been an aberration somewhere that just needed to be resolved...if that fails, THEN PANIC. -- Sun Jan 5 11:30:01 EST 2003 11:30am up 14:38, 6 users, load average: 0.34, 0.34, 0.29 kuhn media australia - kma.0catch.com - stephen kuhn - katherine kuhn - berkeley, nsw, au email: [EMAIL PROTECTED] - [EMAIL PROTECTED] icq: 5483808 - mobile: 0410-728-389 -PC/Mac/Linux/Consulting/eMarketing- * linux user: 267497 * rh 7.3+ * Jones' Second Law: The man who smiles when things go wrong has thought of someone to blame it on. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] rpm database
July 7, 2002 08:08 am, Moshe Kaminsky wrote: Hi, I tried installing some rpm packages (kde3) from the command line. It failed on dependencies - seems that rpm thinks I have nothing installed! I tried to run rpm --initdb It didn't help. When I typed rpm -qa It showed nothing. the rpm program I use is the one that came with the distribution (8.2). I later installed these packages with the software manager, and it worked. I guess that the software manager is just a front end to the same rpm, so I probably have some problems with the parameters, but I have no idea what it is. More generally, if I'm correct that these graphical tools are just front end to command line tools, is it possible to make them print what are the commands they perform? Moshe ~~ If you want to see what's happening behind the scenes; when running software manager (or almost any of the frontends such as Mandrake Control Centre which is activated by mcc in terminal or console) Moshe just open a terminal. su to root and type rpmdrake. The GUI will open but everything that it's doing for you will display in the terminal. That's my 'cheaters way' to learn what processes do when running GUI frontends for commandline tools. It may not be the correct way to do things, but what the hell, it works, and I learn. grin HTH -- Charlie Edmonton,AB,Canada Registered user 244963 at http://counter.li.org An Italian is COMBING his hair in suburban DES MOINES! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] RPM Database failure?
Bob James wrote: OS: Mandrake 5.3, from CheapBytes GPL CD Machine: HP Vectra VL 5/75 Series 3, Adaptec SCSI 1542CF with Micropolis 4341NS drive attached. CDROM is an IDE, Sanyo CRD-820P. System has 72M RAM. The video is Cirrus GD5430, and the NIC is 3Com 3C509-TP. Issue: System boots to MS-DOS 6.22 fine. The CDROM is using a generic CDROM.SYS for a driver, but this is also working fine, from DOS. During installation of Mandrake, the components are located (with the exception of the NIC, but that's due to this issue) and the drive can be partitioned fine. Formatting of the disk space proceeds normally, and the selection of the packages is also fine. However, when the system attempts to locate the RPMs for installation, it fails, with the error: Failed to access RPM database. Then the installation aborts, and I get a message saying its safe to reboot. At first, I thought it was the CD, but when I use an older Mandrake CD I have (5.1), one that I HAVE had successful installs from, it also fails with the same message. Any ideas? After the failure message, switch consoles using Alt-F3 and then Alt-F4. There are debug messages printed to each of these terminals that might provide a few more clues as to why it is failing. If they don't seem to provide any clues for you, post 'em and we'll all take a look. -- Steve Philp [EMAIL PROTECTED]