On 12/02/11 16:52, Shawn Walker wrote:
On 12/02/11 16:41, Zhenghui Xie wrote:
On 12/02/11 16:21, Shawn Walker wrote:
On 12/02/11 16:14, Zhenghui Xie wrote:
On 12/02/11 16:08, Alan Coopersmith wrote:
On 12/02/11 16:00, Zhenghui Xie wrote:
I wonder if I might mis-set some env variables in my nightly env
file
which
cause the versioning info wrong in my private image . Is there any
way to find
out the versioning information of a nightly binary? Would somebody
please help?
You can get a list of packages & versions in the repo you built with:
% pkgrepo list -s packages/i386/nightly-nd/repo.redist system/kernel
PUBLISHER NAME O VERSION
on-nightly system/kernel
0.5.11,5.11-0.174.0.0.0.0.17683:20110823T072036Z
If you don't include a package name like "system/kernel" it will
list all
packages in the repo.
interesting...
the output shows my private image is
coupe:/i386/nightly> pkgrepo list -s repo.redist system/kernel
PUBLISHER NAME O VERSION
on-nightly system/kernel
0.5.11,5.11-0.175.1.0.0.4.18222:20111202T210757Z
the image installed on the test machine is
pkg://solaris/system/[email protected],5.11-0.175.0.0.0.2.1:20111019T075711Z
Looks like the private nightly's version is higher. Why does
image-update complain there is "no updates"?
"No updates available" doesn't necessarily mean that there aren't
newer versions available. It can also mean that there are no *allowed*
updates available based on package constraints.
To find out why the solver doesn't think you can update, you need to
tell it what you want to update to:
pkg update '*@latest'
...as an example, tells pkg update to attempt an update to the latest
version of all packages, and fail with an error explaining why if it
cannot.
-Shawn
ah, after trying pkg update '*@latest' , it outputed too many errors, I
can only catch some of them:
No matching version of library/print/cups-libs can be installed:
Reject:
pkg://solaris/library/print/[email protected],5.11-0.175.0.0.0.2.537:20111019T104807Z
Reason: All versions matching 'require' dependency
pkg:/library/[email protected],5.11-0.175.0.0.0.0.525 are rejected
Reject:
pkg://solaris/library/[email protected],5.11-0.175.0.0.0.0.525:20110927T044123Z
pkg://solaris/library/[email protected],5.11-0.175.0.0.0.1.530:20111012T124217Z
Reason: This version excluded by specified installation version
Excluded by proposed incorporation
'consolidation/userland/userland-incorporation'
Newer version
pkg://solaris/library/[email protected],5.11-0.175.0.0.0.2.537:20111019T105928Z
is already installed
Reject:
pkg://solaris/library/[email protected],5.11-0.175.0.0.0.2.537:20111019T105928Z
Reason: All versions matching 'require' dependency
pkg:/system/[email protected],5.11-0.175.0.0.0.0.0 are rejected
Reject:
pkg://on-nightly/system/[email protected],5.11-0.175.1.0.0.4.18222:20111202T210806Z
What does these mean?
You would need to provide the full output to get an accurate
evaluation of the problem.
-Shawn
My message was held until the list moderator can review, because it was
too big after attaching the error output file. Here are the first
several lines of output, would this help to analyze? Thanks.
pkg update: No matching version of network/rsync can be installed:
Reject:
pkg://solaris/network/[email protected],5.11-0.175.0.0.0.2.537:20111019T110
549Z
Reason: All versions matching 'require' dependency
pkg:/system/[email protected]
,5.11-0.175.0.0.0.0.0 are rejected
Reject:
pkg://on-nightly/system/[email protected],5.11-0.175.1.0.0.4.18222:201
11202T210806Z
Reason: A version for 'require' dependency on
pkg:/library/[email protected],5.
11-0.175.1.0.0.3.576 cannot be found
Reject:
pkg://solaris/system/[email protected],5.11-0.175.0.0.0.0.0:20110927T0
11429Z
pkg://solaris/system/[email protected],5.11-0.175.0.0.0.1.0:20111012T0
35557Z
Reason: This version excluded by specified installation version
Excluded by proposed incorporation
'consolidation/osnet/osnet-incor
poration'
Newer version
pkg://solaris/system/[email protected],5.11-0.175.0.0.0.
2.1:20111019T082311Z is already installed
Reject:
pkg://solaris/system/[email protected],5.11-0.175.0.0.0.2.1:20111019T0
82311Z
Reason: This version excluded by specified installation version
All versions matching 'require' dependency
pkg:/library/security/ns
[email protected],5.11-0.172.0.0.0.0.0 are rejected
Reject:
pkg://solaris/library/security/[email protected],5.11-0.172.0.0.0.0.0:2
0110816T071029Z
Reason: All versions matching 'require' dependency
pkg:/system/library@0.
5.11,5.11-0.169 are rejected
Reject:
pkg://solaris/system/[email protected],5.11-0.169:20110703T050929Z
pkg://solaris/system/[email protected],5.11-0.170:20110719T023339Z
pkg://solaris/system/[email protected],5.11-0.171:20110731T184122Z
pkg://solaris/system/[email protected],5.11-0.172.0.0.0.0.17571:20
110815T021220Z
pkg://solaris/system/[email protected],5.11-0.173.0.0.0.0.17656:20
110826T182427Z
pkg://solaris/system/[email protected],5.11-0.174.0.0.0.0.17765:20
110919T202034Z
Reason: This version excluded by specified installation version
Excluded by proposed incorporation
'consolidation/osnet/osnet-i
ncorporation'
Newer version
pkg://solaris/system/[email protected],5.11-0.175.0.
0.0.2.1:20111019T082311Z is already installed
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss