[OmniOS-discuss] Fixing a Package With Errors

Sam M emunch at utmi.in
Wed Dec 4 15:01:47 UTC 2013


Hello.

I'm running OmniOS Bloody. I was getting an error with visudo so I tried to
fix this by re-0nstalling the package in question. But I'm unable to. How
can I fix this? How do I create/modify an alternate boot environment?

BTW, I upgraded from Release to Bloody, so I booted into a Release boot
envirnment, and I'm seeing the same error with libc.so.1 as in Bloody.

TIA.

Sam

System
*# uname -a*
SunOS sequoia 5.11 omnios-e97fba8 i86pc i386 i86pc

Error -
*# visudo*
ld.so.1: visudo: fatal: libc.so.1: version 'ILLUMOS_0.7' not found
(required by file /usr/sbin/visudo)
ld.so.1: visudo: fatal: libc.so.1: open failed: No such file or directory
Killed

pkg fix error -
*# pkg fix pkg://omnios/system/library                       *
Verifying: pkg://omnios/system/library                          ERROR

 file: lib/libc.so.1
Elfhash: c31add3bd373a101cb7aa14a2185beef9bd6ad61 should be
2f678d3e88ee49238a7c4b87dfdcc92837ea5814
Created ZFS snapshot: 2013-12-04-14:00:23

Repairing: pkg://omnios/system/library
pkg: Requested "fix" operation would affect files that cannot be modified
in live image.
Please retry this operation on an alternate boot environment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20131204/ae8c018f/attachment-0001.html>


More information about the OmniOS-discuss mailing list