RPM Community Forums

Mailing List Message of <rpm-users>

error: cannot open Packages database in /opt/sys/var/lib/rpm

From: Manoj Palhade <mpalhade@googlemail.com>
Date: Thu 01 Oct 2009 - 13:18:37 CEST
Message-ID: <67f63fb0910010418p50d70ff9xe9f17971c6d054dd@mail.gmail.com>
Hi,

 I want to install rpm on QNX RTOS. For this purpose I copied bin and lib
folder from root folder to /opt/sys/ folder of QNX.

And I tried to execute basic command like #rpm qa & #rpm Uvh
rpmtest-1.1-1.x86pc.rpm

 But I am getting following error for each and every command.

*error: cannot open Packages database in /opt/sys/var/lib/rpm*

 I also tried to execute command # rpm -initdb. It is working fine.

 Please help me to resolve this error. Also do I need to copy var folder
also.

Thanks and Regards,
Manoj Palhade
Received on Thu Oct 1 13:19:05 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.