Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The /var/sadm/pkg dir was cleaned out by someone looking for space and now the systems will not accept a patch bundle.
Since this is Solaris 10 it is fairly critical to get these boxes to patch to at least kernel 55.
The rest of the Live Upgrade parts are working fine - lucreate, etc..
Any way to force a patch bundle, or an undocumented "ignore" switch ?
"Someone" is long gone, before I got here, for other reasons too. These boxes have not been patched since kernel 17. I tried Live Upgrade from a -26 ISO and the boot failure flashes by too quick to catch, my usual tricks at capturing console output are either failing miserable or I can't find them after a boot from ISO/mini-root/snapshot.
I have no idea where the body is. I pray he is not at your workplace.
We do not have a support contract, hence the hiring of a burnt-out 35 year sysadmin BOFH (me).
Last edited by Starman11; 12-04-2018 at 11:54 AM.
Reason: Adding UI
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
There is no way for patchadd to work without a clue about what is assumed to be already installed (packages and patches).
Your options to get the missing directory contents are:
1. restore /var/sadm/pkg from backup (I'm afraid this is not an option in your case)
2. copy /var/sadm/pkg from an existing similarly configured machine (risky)
3. rebuild a /var/sadm/pkg from scratch: install Solaris from an ISO on another machine, install the same patches. (lengthy and risky)
You should be able to retrieve the list of:
- the initial installation in /var/sadm/system/logs/install_log
- installed packages from /var/sadm/install/contents
- installed patches from /var/sadm/patch/* files
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.