Henry Jen wrote:
> Hi,
> 
> When upgrade to 100a, encounter following problem, what am I suppose
> to do? I would expect there is some way to recover other then remove
> them all before upgrade.
> 
> $ pfexec pkg install [EMAIL PROTECTED]
> pkg: install failed (inventory exception): Not found in inventory:
> pkg:/[EMAIL PROTECTED],5.11-0.86:20080813T075312Z
> 
> Those packages are indeed not in repository(that repo is repopulated
> with different version, so I believe), the repo now has
> pkg:/[EMAIL PROTECTED],5.11-0.86:20081102T012348Z
> 
> A second question related is that, in such case, what is the right
> approach to install the new packages from the repo? Remove old and
> install new ones?
> 
> For now, I will do following, but would appreciate advice on a
> "better/right" approach.
> 
> $ pfexec pkg list LWS* | grep LWS | awk '{ print $1; }' | xargs pfexec
> pkg uninstall
> 
> Cheers,
> Henry
> _______________________________________________
> pkg-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

This is a bug (2325) in pkg; it's fixed in the gate development
bits that are part of 101a.  If you're really stuck you can
use the gate bits by building them and setting your python
path to point into the proto area usr/lib/python2.4/vendor-packages
and invoking pkg from usr/bin.  If this makes no sense, wait for a
external repo w/ these fixes.

changeset:   655:6eef82185057
user:        Bart Smaalders <[EMAIL PROTECTED]>
date:        Sun Nov 02 16:44:27 2008 -0800
files:       src/modules/actions/depend.py 
src/modules/client/actuator.py src/modules/client/api.py 
src/modules/client/api_errors.py src/modules/client/constraint.py 
src/modules/client/image.py src/modules/client/imageplan.py 
src/tests/baseline.txt src/tests/cli/t_pkg_api_install.py 
src/tests/cli/t_pkg_install.py
description:
2325 optional dependency enforcement can't handle fmris disappearing 
from the catalog
2792 Pkg dependency resolution is broken
3043 pkg installs a minimum version without telling you why
3227 Incorporations are broken when the package have dependencies on 
incorporated package
4421 type error when raising exception in actuator.py

- 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

Reply via email to