Steven Lau wrote:
Hi,
Which command I should use to remove a package (including all versions
of that package) from my local IPS repo ... might be I overlooked, seems
not in any documents to mention this.
Thanks,
-Steven
Strictly speaking, this isn't supported.
Practically:
take a zfs snapshot to protect against ham-handed fingers...
# svcadm disable pkg/server
# cd depo_root (/var/pkg/repo by default)
# rm -r catalog index
# rm -r pkg/NAME_TO_BE_DELETED
# svcadm enable pkg/server
the depo search will be offline while it rebuilds
the search index.
Remaining packages that have dependencies on the deleted
packages are now un-installable.
- Bart
--
Bart Smaalders Solaris Kernel Performance
[email protected] http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss