Your message dated Mon, 14 Feb 2005 02:54:52 -0400
with message-id <[EMAIL PROTECTED]>
and subject line rpm: cannot install in a chroot environment
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Nov 2004 11:44:31 +0000
>From [EMAIL PROTECTED] Tue Nov 02 03:44:31 2004
Return-path: <[EMAIL PROTECTED]>
Received: from vsmtp12.tin.it [212.216.176.206] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1COx5S-00026D-00; Tue, 02 Nov 2004 03:44:31 -0800
Received: from eppesuigoccas.homedns.org (80.117.81.31) by vsmtp12.tin.it 
(7.0.027) (authenticated as [EMAIL PROTECTED])
        id 414B19D3013B0FF0 for [EMAIL PROTECTED]; Tue, 2 Nov 2004 12:44:00 
+0100
Received: from eppesuig3 ([192.168.2.50] ident=giuseppe)
        by eppesuigoccas.homedns.org with asmtp (Exim 3.35 #1 (Debian))
        id 1COx4u-0003b1-00; Tue, 02 Nov 2004 12:43:56 +0100
Subject: rpm: cannot install in a chroot environment
From: Giuseppe Sacco <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Content-Type: text/plain
Organization: Giuseppe Sacco Consulting
Message-Id: <[EMAIL PROTECTED]>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Tue, 02 Nov 2004 12:43:54 +0100
Content-Transfer-Encoding: 7bit
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: rpm
Version: 4.0.4-29
Severity: normal

Hi,
I have to work on a precompiled binary package and I would like to
install
it in a chroot (non debian) environment.

So I issue these commands:
# mkdir /tmp/xxxx
# rpm --root /tmp/xxxx --initdb
rpm: To install rpm packages on Debian systems, use alien. See
README.Debian.
error: cannot open Packages index using db3 - No such file or directory
(2)
#

Of course I read the relevant README files, but I think that, when
using a --root argument, all rpm operations should be allowed.

Thanks,
Giuseppe

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-386
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]

Versions of packages rpm depends on:
ii  libbz2-1.0                  1.0.2-1      A high-quality
block-sorting file
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared
libraries an
ii  libdb3                      3.2.9-20     Berkeley v3 Database
Libraries [ru
ii  libpopt0                    1.7-5        lib for parsing cmdline
parameters
ii  librpm4                     4.0.4-29     RPM shared library
ii  perl                        5.8.4-2.3    Larry Wall's Practical
Extraction
ii  zlib1g                      1:1.2.2-1    compression library -
runtime

-- no debconf information


---------------------------------------
Received: (at 279329-done) by bugs.debian.org; 14 Feb 2005 06:55:48 +0000
>From [EMAIL PROTECTED] Sun Feb 13 22:55:48 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mailmcy.intercable.net.ve (mailmcy.icnet.com.ve) [216.72.226.38] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D0a95-0005dQ-00; Sun, 13 Feb 2005 22:55:48 -0800
Received: by mailmcy.icnet.com.ve (CommuniGate Pro PIPE 4.1.8)
  with PIPE id 24905824; Mon, 14 Feb 2005 02:54:25 -0400
Received: from [200.82.230.157] ([200.82.230.157] verified)
  by mailmcy.icnet.com.ve (CommuniGate Pro SMTP 4.1.8)
  with SMTP id 24905822 for [EMAIL PROTECTED]; Mon, 14 Feb 2005 02:54:09 -0400
Message-ID: <[EMAIL PROTECTED]>
Date: Mon, 14 Feb 2005 02:54:52 -0400
From: =?ISO-8859-1?Q?V=EDctor_P=E9rez_Pereira?=
 <[EMAIL PROTECTED]>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.7.5) Gecko/20050105 
Debian/1.7.5-1
X-Accept-Language: en
MIME-Version: 1.0
To: [EMAIL PROTECTED]
Subject: Re: rpm: cannot install in a chroot environment
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-TFF-CGPSA-Filter: Scanned
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


Hi,

The solution for the problem is creating the sub-directory /var/lib/rpm 
and if it can execute rpm -r /tmp/xxxx/ --initdb

for example:

# mkdir /tmp/xxxx
# mdkir /tmp/xxxx/var
# mdkir /tmp/xxxx/var/lib
# mdkir /tmp/xxxx/var/rpm
# rpm --root /tmp/xxxx --initdb

if we verified the sub-directory:

# ls -l /tmp/xxxx/var/lib/rpm/

-rw-r--r--  1 root root 12288 2005-02-14 02:26 Packages
-- 
V�ctor P�rez Pereira
[EMAIL PROTECTED]
Maracay - Venezuela



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to