Hi all,

when I run the installer.run as root it comes an error:

rpmdb error

(Datei oder Verzeichnis nicht gefunden = File or directory not found) This is the normal installer, not the rpm! Install as user no problem!

What's wrong?

Thanks!

Kai

asked 16 Apr '12, 11:06

Kai%20Heitkamp's gravatar image

Kai Heitkamp
26778
accept rate: 0%


This seems like RPM repository is corrupt or does not exist.

Does the project have <registerWithPackageDatabase> enabled? Does disabling it resolve the issue?

If this option is enabled, then installer adds records with RPM package manager specifying that it is installed and to run uninstaller as part of uninstallation process.

As this is not run when installer is running regular user (registering with RPM requires root), that would explain the difference.

link

answered 16 Apr '12, 11:19

wojciechka's gravatar image

wojciechka ♦♦
7.8k61122
accept rate: 26%

In which Linux distribution are you installing it? Could you send us the output of executing:

rpm --version

link

answered 16 Apr '12, 11:19

juanjo's gravatar image

juanjo ♦♦
5.8k413
accept rate: 23%

It's ArchLinux! rpm --version provides 5.3.6

<registerWithPackageDatabase> is enabled, I disabled it and the error message doesn't shown!

Thanks!

link

answered 16 Apr '12, 11:40

Kai%20Heitkamp's gravatar image

Kai Heitkamp
26778
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×43
×36
×12
×2

Asked: 16 Apr '12, 11:06

Seen: 1,842 times

Last updated: 16 Apr '12, 11:40