On Wed, 19 May 2004, seth vidal wrote: > On Wed, 2004-05-19 at 12:27 -0500, Matt Lawrence wrote: > > Ok, I'm probably using yum for something it wasn't intended for. > > > > Having said that, I'm building a directory, installing yum into a > > directory before doing a chroot into that directory and installing the > > rest of the system. Here's the problem I'm seeing: > > > > + yum -y -c /root/livecd/master/etc/yum.conf -d1 > > --installroot=/root/livecd/master install yum > > /var/tmp/rpm-tmp.73854: line 1: /dev/null: No such file or directory > > /var/tmp/rpm-tmp.29072: line 11: /dev/null: No such file or directory > > /var/tmp/rpm-tmp.29072: line 12: /dev/null: No such file or directory > > warning: user rpm does not exist - using root > > warning: group rpm does not exist - using root > > > > [last 2 lines repeated many times] > > > > I can grep rpm from /etc/passwd, group, shadow & gshadow to create the > > files in the new directory, but I was wondering if there is a cleaner way. > > Help? > > > > yum --installroot=/some/place install foo bar baz > > that's an easier way. :) Easier than what? I'm already doing the installroot thing. -- Matt The American Non-Sequiteur Society: We may not make sense, but we do like pizza.