Re: Question - Grab newbie
Greg Kurtzer <[email protected]> Thu, 20 Nov 2003 12:41:09 -0800
| Newsgroups | gmane.linux.redhat.rpm.grab |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Nov 20, 2003 at 02:30:51PM -0000, Gavin Nelmes-Crocker told me: > I have had a quick look through the archives with no answers to this - I > struggled to find a nice way of searching it so had to use Google. > > I have setup a basic repository for the project I'm doing (a customised CD) > now when I run grab against it it comes back with > > -Updating remote RPM cache database > ->Indexed [1] RPMS from LongReef > -Updating remote provides database with new packages > -Comparing 1 of 1 with Valgor > > -Obtaining current RPM list > -Filtered Package Statistics: > 0 Consolidated, 0 Diff Arch, 0 Current, Skip List, 1 Other Status > > The 1 Other is the only rpm in the repository - why doesn't it come back as > Current or New? What is the command you ran? Actually, this may not be what you want to here, but GRAB will not autoinstall any rpms. You may be able to do something like: # grab --server LongReef -s '*' --auto But I can't test this right now (at SC03). > Next I want to be able basically to drop any rpms into the repository and my > customised boxes to automatically find them each night and install them > whether they are updates or New - is this possible? I know I can the > nightly bit with cron but I can't work out what the syntax for grab is. As many may have noticed by the lack of posts and recent releases, but GRAB is not being very actively maintained anymore. If someone wishes to take over GRAB, please let me know. Also, I should mention that the 'YUM' project at Duke University is very actively maintained, and Seth has done a great job with it. It is _much_ better at resolving dependencies then GRAB, but it does have many of the advanced searching facilities as GRAB. In any case, YUM will do what you want with a command embedded in the yum.conf (check the man page, you will find this). BTW: the consumption of my time has been spent on a new Linux distribution (community managed and architected similar to RedHat) at http://caosity.org/. Feel free to check it out... Greg -- Greg M. Kurtzer http://runlevelzero.net/ http://caosity.org/ http://warewulf-cluster.org/