[OmniOS-discuss] Fixing a Package With Errors

Chris Nehren cnehren+omnios-discuss at omniti.com
Tue Dec 10 15:04:03 UTC 2013


The best way to fix this would be to roll back to a prior BE,
figure out what broke you upgrade, fix i, and try again.

On Tue, Dec 10, 2013 at 14:51:11 +0530, Sam M wrote:
> Anyone? Am kind of stuck here.
> 
> Thanks.
> 
> On 04/12/2013, Sam M <emunch at utmi.in> wrote:
> > 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.
> >
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss

-- 
Chris Nehren
Site Reliability Engineer, OmniTI


More information about the OmniOS-discuss mailing list