Re: Can Current handle multiple RPMs of the same package?

"Toby D. Reeves" <[email protected]>
Newsgroups gmane.network.up2date.current.devel
Message-ID <[email protected]>
The SQL patch I've submitted does exactly that.  I point it at the top of a CD 
distribution and at the top of an updates.redhat.com partial mirror. It does 
the rest.  It marks as "active" rpm's of a package (like kernel-smp)  with 
the "largest" Name/Version/Release/Epoch (NVRE) value as computed by the rpm 
library.  Rpm's with different archs (i386,i486,ect) but same NVRE are all 
marked active and and presented to the client for it to choose the best match. 
Thats what the up2date 2.7.x wants. Not sure about 2.5.x.

Rpm's that are not "active" still live in the database and may be assigned to 
multiple channels.  They may also be "purged".

Each rpm is assigned an unique id  "forever".  Even if you drop and recreate a 
channel.  That will let the server do the 'up2date -p' enabled stuff in the 
future.  It also means that a particular rpm only has to be parsed by the 
server once and only once.  As long as you don't delete/purge it from 
database.  That means adding a few new rpms to a channel is fast.  Only the new 
rpms need to be parsed and entered into the database.

Toby


Quoting "Villalovos, John L" <[email protected]>:

> Can Current handle multiple RPMs of the same package?
> 
> For example the Red Hat 7.2 update directory has two different versions of
> the kernel RPMs.  I would like to be able to point the current server to
> the
> update directory and have it figure it out automatically.
> 
> Right now it says fatal error when I do a cadmin -v create command.
> 
> It would be nice if I didn't have to manually maintain the updates
> directory.
> 
> Am I missing some command line option that works around this?
> 
> Thanks,
> John
> 
> John Villalovos
> Intel Corporation 
> 15220 NW GREENBRIER PKWY # CO5-162
> BEAVERTON, OR  97006-5762
> (503) 677-5777   Fax: (503) 677-6670
> 
> GPG 1.+/PGP 5.+/ DSS/Diffie Helman
> http://www.sodarock.com/JohnVillalovos-gpgkey.txt
> 1024D/1A25D86C 2F24 AD89 E5D5 C92B 7FE2  F878 7ED5 2D38 1A25 D86C
> _______________________________________________
> Current-server mailing list
> [email protected]
> http://lists.dulug.duke.edu/mailman/listinfo/current-server
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.