Hi Bart,
I've been trying out the new incorporation stuff. Know it is early
days still, but I seem to be hitting some problems. For instance,
installing a package with an incorporation dependency does not seem
to pull in its dependent packages. Also, explicitly installing
a disallowed version of a constrained package works, even though it
violates the incorporation constraint.
Not sure if my understanding of incorporations is wrong or if these
are bugs.
Have attached a typescript file with the details. (Has tons of
control characters. You might need to view it through "less -r")
Thanks,
Venky.
On Fri, Apr 04, 2008 at 07:08:04PM -0700, Bart Smaalders wrote:
> 787 optional dependencies are required
> 900 Directory deletion needs to rely less on the kindness of strangers
> 948 image.get_link_actions() the cause of millions of syscalls during a
> fresh install
>
> http://cr.opensolaris.org/~barts/optional-dependencies/
>
> I'll add some definitions of preliminary incorporations this weekend;
> they're
> just the redistributable packages w/ type=incorporate for now. I'll
> also add
> more bug reports; there are several incidental fixes/additions herein
> but I need
> to stop typing....
>
> - 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
Script started on Wed Apr 09 19:01:05 2008
[1;33m$[0m pkg list -a
NAME (AUTHORITY) VERSION STATE UFIX
example 1.0 known u---
example 1.1 known ----
example-dep 0.6 known u---
example-dep 0.6.1 known ----
incorp 0.1 known u---
incorp 0.1-123456 known u---
incorp 0.1-234567 known ----
[1;33m$[0m pkg list -av
FMRI STATE UFIX
pkg:/[EMAIL PROTECTED],5.11:20080407T081219Z known
u---
pkg:/[EMAIL PROTECTED],5.11:20080407T081458Z known
----
pkg:/[EMAIL PROTECTED],5.11:20080407T081405Z known
u---
pkg:/[EMAIL PROTECTED],5.11:20080409T184554Z known ----
pkg:/[EMAIL PROTECTED],5.11:20080409T175259Z known
u---
pkg:/[EMAIL PROTECTED],5.11-123456:20080409T181727Z known
u---
pkg:/[EMAIL PROTECTED],5.11-234567:20080409T182127Z known
----
[1;33m$[0m [K#
[1;33m$[0m [K# Trying to install the incorporation without the branch number
[1;33m$[0m [K#
[1;33m$[0m [Kpkg install pkg:/[EMAIL PROTECTED],5.11:20080409T175259Z
Fetching catalog 'local'...
Creating Plan
PHASE ACTIONS
Install Phase 1/3
Install Phase 3/3
[1;33m$[0m [Kpkg list -av
FMRI STATE UFIX
pkg:/[EMAIL PROTECTED],5.11:20080407T081219Z known
u---
pkg:/[EMAIL PROTECTED],5.11:20080407T081458Z known
----
pkg:/[EMAIL PROTECTED],5.11:20080407T081405Z known
u---
pkg:/[EMAIL PROTECTED],5.11:20080409T184554Z known ----
pkg:/[EMAIL PROTECTED],5.11:20080409T175259Z known
u---
pkg:/[EMAIL PROTECTED],5.11-123456:20080409T181727Z known
u---
pkg:/[EMAIL PROTECTED],5.11-234567:20080409T182127Z
installed ----
[1;33m$[0m [K#
[1;33m$[0m [K# The latest incorporation got installed instead of the one
specified
[1;33m$[0m p # IT dd t did not pull in its dependencies ([EMAIL
PROTECTED]) either
[1;33m$[0m [K#
[1;33m$[0m [Kpkg uninstall incorp
Fetching catalog 'local'...
Creating Plan
PHASE ACTIONS
Removal Phase 1/3
Removal Phase 3/3
[1;33m$[0m [Kpkg list -a
NAME (AUTHORITY) VERSION STATE UFIX
example 1.0 known u---
example 1.1 known ----
example-dep 0.6 known u---
example-dep 0.6.1 known ----
incorp 0.1 known u---
incorp 0.1-123456 known u---
incorp 0.1-234567 known ----
[1;33m$[0m pkg install [EMAIL PROTECTED]
Fetching catalog 'local'...
Creating Plan
PHASE ACTIONS
Install Phase 1/3
Install Phase 3/3
[1;33m$[0m [Kpkg list -a
NAME (AUTHORITY) VERSION STATE UFIX
example 1.0 known u---
example 1.1 known ----
example-dep 0.6 known u---
example-dep 0.6.1 known ----
incorp 0.1 known u---
incorp 0.1-123456 installed u---
incorp 0.1-234567 known ----
[1;33m$[0m [K#
[1;33m$[0m [K# This installs the right incorportion since it has a branch
number
[1;33m$[0m [K# specified. BTW, I would have expected this to pull in [EMAIL
PROTECTED]
[1;33m$[0m [K#
[1;33m$[0m pkg install incorp
Fetching catalog 'local'...
Creating Plan
PHASE ACTIONS
Removal Phase 1/1
Removal Phase 1/1
Update Phase 1/1
Install Phase 1/1
[1;33m$[0m pkg list -a
NAME (AUTHORITY) VERSION STATE UFIX
example 1.0 known u---
example 1.1 known ----
example-dep 0.6 known u---
example-dep 0.6.1 known ----
incorp 0.1 known u---
incorp 0.1-123456 known u---
incorp 0.1-234567 installed ----
[1;33m$[0m [K#
[1;33m$[0m p # The instakll lled incorp contrains package example
to version 1, .0
[1;33m$[0m [K#
[1;33m$[0m pkg install example
Fetching catalog 'local'...
Creating Plan
DOWNLOAD PKGS FILES XFER (MB)
example 0/2 0/2 0.00/0.00
example 0/2 1/2 0.00/0.00
example 1/2 1/2 0.00/0.00
example-dep 1/2 1/2 0.00/0.00
example-dep 1/2 2/2 0.00/0.00
example-dep 2/2 2/2 0.00/0.00
Completed 2/2 2/2 0.00/0.00
PHASE ACTIONS
Install Phase 1/7
Install Phase 7/7
[1;33m$[0m [Kpkg list -a
NAME (AUTHORITY) VERSION STATE UFIX
example 1.0 installed u---
example 1.1 known ----
example-dep 0.6 known u---
example-dep 0.6.1 installed ----
incorp 0.1 known u---
incorp 0.1-123456 known u---
incorp 0.1-234567 installed ----
[1;33m$[0m pkg list
NAME (AUTHORITY) VERSION STATE UFIX
example 1.0 installed u---
example-dep 0.6.1 installed ----
incorp (local) 0.1-234567 installed ----
[1;33m$[0m # S
[1;33m$[0m # so t So, this works fine. [EMAIL PROTECTED] is
installed even though [EMAIL PROTECTED]
[1;33m$[0m [K# is available in the repository
[1;33m$[0m [K#
[1;33m$[0m pkg install [EMAIL PROTECTED]
Fetching catalog 'local'...
Creating Plan
DOWNLOAD PKGS FILES XFER (MB)
example 0/1 0/1 0.00/0.00
example 0/1 1/1 0.00/0.00
example 1/1 1/1 0.00/0.00
Completed 1/1 1/1 0.00/0.00
PHASE ACTIONS
Update Phase 1/2
Update Phase 2/2
[1;33m$[0m [Kpkg list -a
NAME (AUTHORITY) VERSION STATE UFIX
example 1.0 known u---
example 1.1 installed ----
example-dep 0.6 known u---
example-dep 0.6.1 installed ----
incorp 0.1 known u---
incorp 0.1-123456 known u---
incorp 0.1-234567 installed ----
[1;33m$[0m pkg list
NAME (AUTHORITY) VERSION STATE UFIX
example (local) 1.1 installed ----
example-dep 0.6.1 installed ----
incorp (local) 0.1-234567 installed ----
[1;33m$[0m #
[1;33m$[0m # We can override the incorporation specified constrainys ts
by explicvi itly
[1;33m$[0m [K# specifying the versionb number of the package
[1;33m$[0m [K#
[1;33m$[0m pkg uninstall example
Fetching catalog 'local'...
Creating Plan
PHASE ACTIONS
Removal Phase 1/6
Removal Phase 6/6
[1;33m$[0m [Kpkg list
NAME (AUTHORITY) VERSION STATE UFIX
example-dep 0.6.1 installed ----
incorp (local) 0.1-234567 installed ----
[1;33m$[0m #
[1;33m$[0m # We can uninstall 'example' even thgou ough it violates
the incorporation
[1;33m$[0m [K# constraints
[1;33m$[0m [K#
[1;33m$[0m exit
script done on Wed Apr 09 19:07:10 2008
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss