RPM Community Forums

Mailing List Message of <rpm-users>

Fwd: error: cannot open Packages database in /var/lib/rpm

From: Jeff Johnson <n3npq@mac.com>
Date: Thu 28 May 2009 - 18:05:52 CEST
Message-id: <DF0E389E-1D61-4791-A460-9D8292234ACB@mac.com>


Begin forwarded message:

> From: Jeff Johnson <n3npq@mac.com>
> Date: May 28, 2009 11:55:11 AM EDT
> To: spam.spam.spam.spam@free.fr
> Subject: Re: error: cannot open Packages database in /var/lib/rpm
>
>
> On May 28, 2009, at 11:46 AM, spam.spam.spam.spam@free.fr wrote:
>
>>
>>
>> Ok so, you think I should check what compressions I have built into  
>> RPM. Do you
>> speak about the 8Kingdoms-1.1.0-6.fc9.i386.rpm RPM package or the  
>> rpm5 software?
>>
>> The configure options I have chosen :
>>
>> ./configure --without-path-versioned --without-db-tools-integrated
>> --without-db-rpc --without-db-largefile --without-python --without- 
>> perl
>> --without-selinux --without-libelf --without-pthread --without- 
>> libintl-prefix
>> --without-libiconv-prefix --without-gnu-ld --without-apidocs -- 
>> without-pic
>> --disable-largefile --disable-rpath --disable-nls --disable-broken- 
>> chown
>> --disable-build-lafiles --disable-build-maxextlibdep --disable- 
>> build-extlibdep
>> --disable-build-intlibdep --disable-build-versionscript --disable- 
>> build-static
>> --disable-build-gcov --disable-build-pie --disable-build-pic
>> --disable-libtool-lock --disable-dependency-tracking --disable- 
>> maintainer-mode
>> --disable-build-warnings --disable-build-debug --with-popt -- 
>> without-zlib
>> --without-bzip2 --without-xz --with-beecrypt --without-nss -- 
>> without-openssl
>> --without-neon --without-file --with-db --without-sqlite --without- 
>> lua
>> --without-pcre -without-uuid --without-syck --without-xar --without- 
>> dmalloc
>> --without-efence --without-keyutils --prefix=/
>>
>> How to know the compressions that have been built into RPM?
>
> Well from your configure arguments I can tell:
> 	--without-zlib	no gzip compression
> 	--without-bzip2	no bzip2 compression
> 	--without-xz	no XZ compression
> and so you've built a version of rpm that is incapable
> of installing any packages (all *.rpm packages have some
> form of compression)
>
> At a minimum, I suggest adding
> 	--with-zlib
> if you want to actually build and install a *.rpm package.
>
> Note also that disabling *everything* is a much harder
> introduction to RPM than any other conceivable path.
>
> 73 de Jeff
Received on Thu May 28 18:06:39 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.