私はこのエラーを探し回っていますが、何も見つかりません。Centos 6.264ビットリリースでchrootjailを作成しようとしていますが、次のことを行っています。
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
これは言うのに失敗します:
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
詳細(-ivv)出力で同じことを実行します。
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
すべてのファイル/ディレクトリが存在し、それを修正することができないため、理由を見つけることができないようです。何かアドバイス?
ありがとうございました!