Danek Duvall writes: > Tom Whitten wrote: > > > If I have an old short package name is there an easy to find out the new > > long package name for the package? I have a script that installs my > > favorite set of packages on a newly installed OSOL system. I'd like to > > convert it to use the new package names. > > Although it's not intended to be scriptable, you can use "pkg info" to get > this information: > > $ pkg info -r SUNWzsh > Name: SUNWzsh > Summary: > State: Not installed (Renamed) > Renamed to: shell/[email protected] > consolidation/sfw/sfw-incorporation > Publisher: opensolaris.org > Version: 4.3.9 > Build Release: 5.11 > Branch: 0.133 > Packaging Date: Tue Feb 16 10:33:02 2010 > Size: 0.00 B > FMRI: > pkg://opensolaris.org/[email protected],5.11-0.133:20100216T103302Z > > (The dependency on the incorporation is bogus, and will be removed). You > can also get this information in a bit more scriptable form: > > $ pkg contents -Hr -t depend -o fmri SUNWzsh > consolidation/sfw/sfw-incorporation > shell/[email protected] > > Danek
Thanks, Danek. _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
