Joanmarie Diggs wrote:

> The discussion from the past couple of days has renewed my motivation to
> try to do things more correctly, i.e. using pkg rather than taking a
> snapshot, building from source, and then stomping on installed files. :-)

Thanks for that.  :)

> Fair enough. I assume that the removal of entire is a non-issue -- at
> least until update time rolls around again. (Please let me know if this
> assumption is erroneous.)

It's erroneous.  :)  You might get lucky, but if you accidentally try to
install just about any package, you're likely to accidentally do a partial
update of your system.

You're far better off creating a copy of entire that constrains
SUNWgnome-a11y-libs to the version you want, leaving all the other
incorporate dependencies in place.

You could also just publish SUNWgnome-a11y-libs at 0.5.11-0.118, in which
case entire wouldn't need to be changed.  But I understand that you'd like
to see the real version number in there.

Eventually we'll probably want to have some sort of ability to freeze/thaw
individual packages, regardless of the constraints on the system, but
that's pretty much inconceivable until after the SAT solver is in place.

>   $ pfexec pkg uninstall SUNWgnome-a11y-libs
>   pkg: Cannot remove 
> 'pkg://MyRepo/sunwgnome-a11y-l...@2.27.90,5.11-0.118:20090826T160944Z' due to 
> the following packages that depend on it:
>   pkg:/sunwgnome-a11y-...@0.5.11,5.11-0.118:20090707T213645Z
>   pkg:/sunwxw...@0.5.11,5.11-0.118:20090707T230201Z
>   pkg:/sunwgnome-a11y-mousetwe...@0.5.11,5.11-0.118:20090707T213659Z
>   pkg:/sunwgnome-a11y-libs-pytho...@0.5.11,5.11-0.118:20090707T213656Z
>   pkg:/sunwbrl...@0.5.11,5.11-0.118:20090707T211505Z
> 
> While I did take a snapshot before attempting the above, I'd like to
> know the "correct" (i.e. within pkg) way to put things back. Is pkg fix
> my only option?

Yeah, we don't really support downgrade.  There's a bug or two filed about
that.  "pkg fix" won't help you at this point.  You can rollback to the
snapshot prior to the package update, if that still exists.  I'm not sure,
though, how else to get back to the old version.  Bart may have some
thoughts on that.

Danek
_______________________________________________
pkg-discuss mailing list
pkg-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to