> Barts wrote:
....
> > Looks like it was expecting to remove a file which
> does not exist.
> > So it brings out a few questions:
> > 1. Why it's trying to delete a file that does not
> exist?
> 
> Good question.  There appears to be a discrepancy
> between the pkging
> info and the actual file contents.
> 

So in this case pkg should just ignore this error instead of bailing out the 
whole procedure , yes?


> > 2. How do we check which package that file belongs
> to? There used to be /var/sadm/install/contents, it's
> gone now.
> bash-3.2$ pkg search fc-list.1
> basename
> pkg:/[EMAIL PROTECTED],5.11-0.75:2007111
> 2T103212Z
> bash-3.2$ pkg list pkg:/FSWfontconfig-devel-docs
> [Errno 2] No such file or directory: 
> '//var/pkg/pkg/FSWfontconfig-devel-docs/0.5.11%2C5.11-
> 0.75%3A20071112T103212Z/filters'
> PATH
> copyright
> usr/share
> usr/share/doc
> ...
> 

That works, thx.


> > 3. How to we check the integrity of packages? There
> used to be pkgchk, what's the replacement?
> > 
> 
> Mark N. is working on pkg verify, and it's logical
> adjunct, pkg repair 
> or fix.
> 

Good to know.

Later I changed the script and ignored the error so pkg image-update went OK.
Then I booted from the updated clone of root.
-bash-3.2# zfs list
NAME                   USED  AVAIL  REFER  MOUNTPOINT
zpl_slim              7.94G  4.49G    72K  /zpl_slim
zpl_slim/export       3.49G  4.49G    19K  /export
zpl_slim/export/home  3.49G  4.49G  3.49G  /export/home
zpl_slim/opt          3.62M  4.49G  3.62M  legacy
zpl_slim/[EMAIL PROTECTED]            0      -  3.62M  -
zpl_slim/opt2             0  4.49G  3.62M  legacy
zpl_slim/root         3.42G  4.49G  2.78G  legacy
zpl_slim/[EMAIL PROTECTED]        664M      -  2.85G  -
zpl_slim/root2        1.02G  4.49G  2.47G  legacy

-bash-3.2# df -k / /opt
Filesystem            kbytes    used   avail capacity  Mounted on
zpl_slim/root2       13031424 2593773 4703411    36%    /
zpl_slim/opt2        13031424    3703 4703411     1%    /opt


Now, the question is: How do I get rid of the old zpl_slim/root and 
zpl_slim/opt get their snapshots? Can I simply promote them?

Thx,

Sean
--

This message posted from opensolaris.org

_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to