login about faq

Is it possible to use Solaris Live Upgrade to update OpenCSW packages?

This question is marked "community wiki".

asked Feb 06 '12 at 10:45

automaciej's gravatar image

automaciej ♦♦
96252936

edited Feb 06 '12 at 10:46


From an email thread on the users mailing list, it's possible to install packages into the ABE using pkgutil. It's not a common practice, but it's possible to mount your ABE and point pkgutil at it.

# pkgutil -Uyu --param=root_path:/lumount
link

answered Feb 21 '12 at 09:45

automaciej's gravatar image

automaciej ♦♦
96252936

Unfortunately there is a bug in pkgutil that prohibits the proper use of root relocation right now until this is fixed:

link

answered Feb 21 '12 at 11:45

Dagobert's gravatar image

Dagobert ♦♦
151367

As noted by Dagobert, pkgutil must not be used on an inactive BE, some critical bits will fail. However, it is still possible to benefit from LU with OpenCSW.

I follow the following steps myself (with sparse zones):

  • apply latest LU patches w/ zones up & running
  • shutdown zones and detach them
  • create the new BE
  • apply patches to the bew BE
  • luactivate and reboot to the new BE
  • attach zones (applying patches to them at this point)
  • boot zones
  • use pkgutil to upgrade packages in the global zones, upgrading them in the zones at the same time

The zones at that point are using a clone of their dataset created for the new BE, so in case the older BE is reactivated, the pre-upgrade OpenCSW packages will be there.

link

answered May 02 at 10:22

laurent's gravatar image

laurent
1

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1

Asked: Feb 06 '12 at 10:45

Seen: 539 times

Last updated: May 02 at 10:22

Related questions

powered by OSQA