On 02/14/11 06:07 PM, Rinaldo DiGiorgio wrote:
Hi,
My IPS packaged application is currently not able to use the ability of
IPS to handle multiple versions, under one name. Over time our repository gets
large when we are doing development testing. We have the same name with
multiple version? Is there a way to remove packages from the repository?
There is not currently an easy way to remove packages; it's an RFE that
has not yet been implemented:
7213 ability to remove published packages
https://defect.opensolaris.org/bz/show_bug.cgi?id=7213
I think I see how I could use pkgsend to pick the packages I want and
send them to a new repository that would be file based and point the pkg
server to a different repository? That is all I could come up with. I see
issues with this approach. I don't understand how to get the last n packages
of a given name. I do realize that I am not using the IPS in the common use
case.
If you're looking to simply reduce the number of versions you have, the
easiest thing to do is:
* create a new repository using pkgrepo
* pkgrecv only the latest versions of packages from the old
repository to the new one
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss