On 01/05/13 09:23, bob netherton wrote:
What is the proper way to clean up a repository, once you have retired a
specific update of Solaris 11 ? Is it just a pkgrepo remove
"*@0.5.11-0.175.0" or do I just destroy the existing repo contents and
rebuild it from a newer baseline ? I presume that if I'm laying down
SRUs on top of a full release repo, I'd have to remove all the SRUs as
well, right ?
The scenario is for local repos that have been in operation for a long
time and now contain gigabytes of unnecessary software.
The fastest, easiest option is to actually copy only the packages you
want to a new repository and then delete the old one.
Deleting specific packages from a repository is a time consuming process
because the entire repository has to be scanned to determine which
packages depend on which files and only remove files if they are
unreferenced by any other package.
For repositories that only contain stock Solaris bits (and no custom
packages), the easiest option is to simply download the repository ISOs
provided through My Oracle Support and copy the contents into place for
the build of Solaris 11 or 11.1 that is desired.
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss