Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-06-2002, 05:59 AM   #1
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 434
Blog Entries: 1

Rep: Reputation: 55
install, uninstall rpm

Hello, I am trying to uninstall and install again the rpm-4.0-2.6mdk, the thing is that I have destroyed it somehow and I want to reinstall it again. But this happens when I try as superuser of course:

> rpm -i rpm-4.0-26mdk.i586.rpm
cannot open Packages index using db3 - Permiso denegado (13)

Permiso denegado= you don't have the right

--> The rpm database cannot be opened in db3 format.
If you have just upgraded the rpm package you need to convert
your database to db3 format by running "rpm --rebuilddb" as root.

error: cannot open Packages database in /var/lib/rpm
Same if I try rpm -e rpm-4.0-26.mdk.i586.rpm

And If I run rpm --rebuilddb it gives me the same error.

help me!, I need the rpm to compile spec files.

Old 05-06-2002, 07:33 AM   #2
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Oh, I see, it is a vicious circle, try the following
pop in your distro install CD's, find original rpm package, and do
rpm -ihv --force --nodeps
Old 05-06-2002, 12:52 PM   #3
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 434

Original Poster
Blog Entries: 1

Rep: Reputation: 55
Thanks, but the thing is that when I try what you said it gives
>rpm -ihv --force --nodeps rpm-4.0-26mdk.i586.rpm
>core dumped

Have you got any other idea?


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
RPM - Won't Install, Won't Uninstall qizhang Mandriva 2 11-18-2005 12:02 AM
RPM or Install/Uninstall Manager ? pandasonic Fedora 2 11-19-2004 03:52 AM
RPM Install and Uninstall problems. pradsy90 Linux - Software 1 09-12-2004 12:44 AM
RPM install/uninstall jonlake Linux - Software 2 06-14-2004 08:45 PM
Kernel-Source rpm Install/Uninstall error in Fedora i286 Linux - General 1 12-29-2003 11:31 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:44 PM.

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