Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9045891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T11:28:56+00:00 2026-06-16T11:28:56+00:00

I’ve been searching around for this error but can’t find anything. I’m trying to

  • 0

I’ve been searching around for this error but can’t find anything.
I’m trying to create a chroot jail on a Centos 6.2 64 bits release, and I’m doing the following:

mkdir -p /home/chroot/
mkdir -p /home/chroot/var/lib/rpm
rpm --rebuilddb --root=/home/chroot/
cd /usr/src
wget http://mirror.centos.org/centos-6/6.3/os/x86_64/Packages/centos-release-6-3.el6.centos.9.x86_64.rpm
rpm -i --root=/home/chroot/ --nodeps centos-release-6-3.el6.centos.9.x86_64.rpm

Which fails saying:

warning: centos-release-6-3.el6.centos.9.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
error: opening of centos-release-6-3.el6.centos.9.x86_64.rpm fails: No such file or directory
/home/chroot/var/lib/rpm: No such file or directory

Performing the same with verbose (-ivv) outputs:

D: ============== centos-release-6-3.el6.centos.9.x86_64.rpm
D: loading keyring from pubkeys in /home/chroot/var/lib/rpm/pubkeys/*.key
D: couldn't find any keys in /home/chroot/var/lib/rpm/pubkeys/*.key
D: loading keyring from rpmdb
D: opening  db environment /home/chroot/var/lib/rpm cdb:mpool:joinenv
D: opening  db index       /home/chroot/var/lib/rpm/Packages rdonly mode=0x0
D: locked   db index       /home/chroot/var/lib/rpm/Packages
D: opening  db index       /home/chroot/var/lib/rpm/Name rdonly mode=0x0
D: Expected size:        20444 = lead(96)+sigs(1284)+pad(4)+data(19060)
D:   Actual size:        20444
advertencia:centos-release-6-3.el6.centos.9.x86_64.rpm: CabeceraV3 RSA/SHA1 Signature, ID de clave c105b9de: NOKEY
D: ========== relocations
D:      added binary package [0]
D: found 0 source and 1 binary packages
D: ========== recording tsort relations
D: ========== tsorting packages (order, #predecessors, #succesors, tree, depth)
D:     0    0    0    0    1   +centos-release-6-3.el6.centos.9.x86_64
D: installing binary packages
D: closed   db index       /home/chroot/var/lib/rpm/Name
D: closed   db index       /home/chroot/var/lib/rpm/Packages
D: closed   db environment /home/chroot/var/lib/rpm
D: removed  db environment /home/chroot/var/lib/rpm
D: opening  db environment /home/chroot/var/lib/rpm create:cdb:mpool:joinenv
D: opening  db index       /home/chroot/var/lib/rpm/Packages create mode=0x42
D: sanity checking 1 elements
D: opening  db index       /home/chroot/var/lib/rpm/Name create mode=0x42
D: running pre-transaction scripts
D: computing 20 file fingerprints
D: opening  db index       /home/chroot/var/lib/rpm/Basenames create mode=0x42
D: opening  db index       /home/chroot/var/lib/rpm/Group create mode=0x42
D: opening  db index       /home/chroot/var/lib/rpm/Requirename create mode=0x42
D: opening  db index       /home/chroot/var/lib/rpm/Providename create mode=0x42
D: opening  db index       /home/chroot/var/lib/rpm/Conflictname create mode=0x42
D: opening  db index       /home/chroot/var/lib/rpm/Obsoletename create mode=0x42
D: opening  db index       /home/chroot/var/lib/rpm/Triggername create mode=0x42
D: opening  db index       /home/chroot/var/lib/rpm/Dirnames create mode=0x42
D: opening  db index       /home/chroot/var/lib/rpm/Requireversion create mode=0x42
D: opening  db index       /home/chroot/var/lib/rpm/Provideversion create mode=0x42
D: opening  db index       /home/chroot/var/lib/rpm/Installtid create mode=0x42
D: opening  db index       /home/chroot/var/lib/rpm/Sigmd5 create mode=0x42
D: opening  db index       /home/chroot/var/lib/rpm/Sha1header create mode=0x42
D: opening  db index       /home/chroot/var/lib/rpm/Filedigests create mode=0x42
D: opening  db index       /home/chroot/var/lib/rpm/Pubkeys create mode=0x42
Preparando paquetes para la instalación...
D: computing file dispositions
D: 0x00000802     4096    450469192    121281462 /
D: ========== +++ centos-release-6-3.el6.centos.9 x86_64-linux 0x0
error: la apertura de centos-release-6-3.el6.centos.9.x86_64.rpm falló: No such file or directory
D: running post-transaction scripts
D: closed   db index       /home/chroot/var/lib/rpm/Pubkeys
D: closed   db index       /home/chroot/var/lib/rpm/Filedigests
D: closed   db index       /home/chroot/var/lib/rpm/Sha1header
D: closed   db index       /home/chroot/var/lib/rpm/Sigmd5
D: closed   db index       /home/chroot/var/lib/rpm/Installtid
D: closed   db index       /home/chroot/var/lib/rpm/Provideversion
D: closed   db index       /home/chroot/var/lib/rpm/Requireversion
D: closed   db index       /home/chroot/var/lib/rpm/Dirnames
D: closed   db index       /home/chroot/var/lib/rpm/Triggername
D: closed   db index       /home/chroot/var/lib/rpm/Obsoletename
D: closed   db index       /home/chroot/var/lib/rpm/Conflictname
D: closed   db index       /home/chroot/var/lib/rpm/Providename
D: closed   db index       /home/chroot/var/lib/rpm/Requirename
D: closed   db index       /home/chroot/var/lib/rpm/Group
D: closed   db index       /home/chroot/var/lib/rpm/Basenames
D: closed   db index       /home/chroot/var/lib/rpm/Name
D: closed   db index       /home/chroot/var/lib/rpm/Packages
D: closed   db environment /home/chroot/var/lib/rpm
/home/chroot/var/lib/rpm: No such file or directory
D: removed  db environment /home/chroot/var/lib/rpm

I can’t seem to find the reason, as all files/dirs exist, and can’t manage to fix it. Any advice?

Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T11:28:57+00:00Added an answer on June 16, 2026 at 11:28 am

    I just tried everything you said on my machine and it worked.

    try following things:

    1: make sure you use recent rpm version. In my case it is 4.9

    2: do not download rpm and execute “rpm -i” from /usr/src. could be a problem with permissions.

    3: make sure you use sudo

    4: check permission of /home/chroot/var/lib/rpm. it should be 755

    Good luck !!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Seemingly simple, but I cannot find anything relevant on the web. What is the
I have a jquery bug and I've been looking for hours now, I can't
This could be a duplicate question, but I have no idea what search terms
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
Does anyone know how can I replace this 2 symbol below from the string
I'm trying to create an if statement in PHP that prevents a single post
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.