Greetings,
As of changeset 2089 in the pkg(5) gate, the client now allows
downgrading specific packages.
======================================================================
What changed?
======================================================================
The 'image-update' subcommand was renamed to 'update' and now accepts
package FMRIs as arguments (package names and versions). This allows in
place downgrades of installed packages.
For pkg.client.api consumers, a new method named 'plan_update' was
added; see 'pydoc pkg.client.api' for more information.
pkg(1)'s description of the install, uninstall, and update operations
was expanded to include more detail about what the operation does and
how it works.
======================================================================
How can this new functionality be used?
======================================================================
If version 2.0 of package 'foo' is installed, and version 1.0 is
available for installation, then 'foo' could be downgraded to version
1.0 by executing the following command:
# pkg update [email protected]
Conversely, if you wanted to update 'foo' to version 2.0 from version
1.0, that could be done by executing the following command:
# pkg update [email protected]
The key difference between the new 'update' subcommand and the existing
'install' subcommand is that the 'update' subcommand only matches user
input against the list of installed packages, and allows downgrading
specific packages.
See pkg(1) for more information about the new 'update' subcommand.
======================================================================
How could this change impact me?
======================================================================
No impact on consumers of pkg(1) is expected at this time as pkg(1)
interprets 'image-update' as an alias for 'update'. However, consumers
should be advised that to use 'update' instead of 'image-update' going
forward as 'image-update' may be removed at some future point (although
such a change would be announced in advance).
-Shawn
_______________________________________________
install-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/install-discuss