Derrik Pates wrote: > While attempting to build an rpmstrap definition for FC5/PPC, I noticed > that the 'rpm' command wasn't doing anything; I tried running rpm > manually with the same arguments via strace, and noticed this:
What arguments exactly? > open("/tmp/fc5/var/lib/rpm/DB_CONFIG", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No > such file or directory) > stat64("/tmp/fc5/var/lib/rpm/__db.001", 0x7ff711c8) = -1 ENOENT (No such file > or directory) > open("/tmp/fc5/var/lib/rpm/__db.001", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, > 0644) = 4 > fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 > open("/tmp/fc5/var/lib/rpm/__db.001", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 5 Just a guess, but maybe the db isn't setup right and it ends up with an empty fd list by accident? -- see shy jo
signature.asc
Description: Digital signature