I am slowly making progress on installing Fedora into a Logical Volume for a DomU using Package Management. I have (with the help of the wonderful people at Unix & Linux) resolved a number of issues, mainly surrounding rpm
(see links below):
I am using the --root
option with rpm
to change my newly built version of rpm to /mnt/fedRoot
. I have also directed rpm
to look at the rpmrc
file in the build folder, rather than on the actual /var/lib/rpm
. Now Unfortunately, on any rpm file I run though I am getting: error: can't create transaction lock on /mnt/fedRoot (Is a directory)
. Looking online, I found a few pages that indicated this was an issue with the __db.*
. Though deleting them and rebuilding the db within my rpm
folder fixed another issue, I am still getting the transaction lock
error.
Anyone have insight into this error?
/mnt/fedRoot/var/lib/rpm
exist ?in analogy to http://www.redhat.com/archives/rpm-list/2007-May/msg00046.html , what does
– Andre Holzner Jun 19 '11 at 19:28rpm --root=/mnt/fedRoot -E '%{_rpmlock_path}'
say ?/usr/lib/rpm/macros
. I think the issue was, I was trying to use a version of a fedora install rpm that wasnt compatible with the CentOS rpm I was using. I dont know if that actually makes sense (to linux experts), but I was able to install another version of CentOS without any issues, so that is what I am basing this on. I have decided to take a step back and try to learn a bit more about linux before I attempt a full-blown xen system again. For now I am using Fedora 14 as my main system. – Hari Seldon Jun 26 '11 at 22:07