Re: Failed to initialize NSS library
Arnau <[email protected]> Thu, 28 Jun 2018 09:38:00 +0200
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <CAM69jx9LfOyUbfxL-XcUub0FBCntZ4a3Wr_52KBEO5jj8LPF2A@mail.gmail.com> |
--===============7174655960985801723== Content-Type: multipart/alternative; boundary="0000000000004304ea056faed062" --0000000000004304ea056faed062 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, this is a know bug (https://bugzilla.redhat.com/show_bug.cgi?id=3D1476031) 1. Download libnspr4.so_.tar.bz2 <https://access.redhat.com/node/3134931/40/0> 2. Extract libnspr4.so from the tar, to the current directory on the server 3. Update the "nspr" library using the library in the tarball to bootstrap the operation # LD_PRELOAD=3D./libnspr4.so yum update nspr HTH, Arnau El mi=C3=A9., 27 jun. 2018 a las 23:21, Dirk Devos (<Dirk.Devos@baker-taylo= r.com>) escribi=C3=B3: > Hi, > > > > I am running into the following error. I have searched around and I am no= t > able to find any help on resolving this. Would someone be so kind and poi= nt > me in the right direction. > > > > > > error: Failed to initialize NSS library > > There was a problem importing one of the Python modules > > required to run yum. The error leading to this problem was: > > > > cannot import name ts > > > > Please install a package which provides this module, or > > verify that the module is installed correctly. > > > > It's possible that the above module doesn't match the > > current version of Python, which is: > > 2.7.5 (default, Aug 4 2017, 00:39:18) > > [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] > > > > If you cannot solve this problem yourself, please go to > > the yum faq at: > > http://yum.baseurl.org/wiki/Faq > > > > > > Thanks, > > Dirk > > > ------------------------------ > This email and any attachments contain information from Baker & Taylor > which may be confidential, privileged and/or protected by other legal > rules. If you are not the intended recipient, you are hereby advised that > any disclosure, copying, distribution or use of the contents of this emai= l > is prohibited. If you have received the email in error, please notify us = by > reply email immediately and then delete the email and your reply from you= r > email system. > > *NOTE:* Baker & Taylor accepts no liability for the contents of this > email. This email shall not operate to bind Baker & Taylor to any contrac= t, > order or other obligation. > _______________________________________________ > Yum mailing list > [email protected] > http://lists.baseurl.org/mailman/listinfo/yum > --0000000000004304ea056faed062 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi,<div><br></div><div>this is a know bug (<a href=3D"http= s://bugzilla.redhat.com/show_bug.cgi?id=3D1476031">https://bugzilla.redhat.= com/show_bug.cgi?id=3D1476031</a>)</div><div><br></div><div> <ol style=3D"box-sizing:border-box;margin-top:0px;margin-bottom:1rem;text-a= lign:left;background-color:rgb(255,255,255);text-decoration-style:initial;t= ext-decoration-color:initial"><li style=3D"box-sizing:border-box"><p style= =3D"box-sizing:border-box;margin:0px 0px 1rem;line-height:1.5em"><font colo= r=3D"#252525" face=3D"Overpass, Open Sans, Helvetica, sans-serif"><span sty= le=3D"font-size:16px">Download</span></font><span style=3D"color:rgb(37,37,= 37);font-family:Overpass,"Open Sans",Helvetica,sans-serif;font-si= ze:16px">=C2=A0 <a href=3D"https://access.redhat.com/node/3134931/40/0" style=3D"box-sizing= :border-box;background:0px 0px rgb(255,255,255);color:rgb(0,102,204);text-d= ecoration:none">libnspr4.so_.tar.bz2</a> </span></p></li><li style=3D"color:rgb(37,37,37);font-family:Overpass,"= ;Open Sans",Helvetica,sans-serif;font-size:16px;box-sizing:border-box"= ><p style=3D"box-sizing:border-box;margin:0px 0px 1rem;line-height:1.5em">E= xtract libnspr4.so from the tar, to the current directory on the server</p>= </li><li style=3D"color:rgb(37,37,37);font-family:Overpass,"Open Sans&= quot;,Helvetica,sans-serif;font-size:16px;box-sizing:border-box"><p style= =3D"box-sizing:border-box;margin:0px 0px 1rem;line-height:1.5em">Update the= "nspr" library using the library in the tarball to bootstrap the= operation</p></li></ol><div><font color=3D"#252525" face=3D"Overpass, Open= Sans, Helvetica, sans-serif"><span style=3D"font-size:16px"> <pre style=3D"text-align:left;text-decoration-style:initial;text-decoration= -color:initial;box-sizing:border-box;overflow:auto;font-family:Consolas,Mon= aco,"Andale Mono",monospace;font-size:13px;display:block;padding:= 0.9375rem;margin:0px 0px 10px;line-height:1.42857;word-break:normal;word-wr= ap:normal;color:rgb(51,51,51);background-color:rgb(245,245,245);border:1px = solid rgb(237,237,237);border-radius:0px;white-space:pre-wrap"><code style= =3D"box-sizing:border-box;font-family:Consolas,Monaco,"Andale Mono&quo= t;,monospace;font-size:inherit;padding:0px;color:inherit;background-color:t= ransparent;white-space:pre-wrap;border-radius:0px"># LD_PRELOAD=3D./libnspr= 4.so yum update nspr</code></pre> <br></span></font></div></div><div><font color=3D"#252525" face=3D"Overpass= , Open Sans, Helvetica, sans-serif"><span style=3D"font-size:16px">HTH,</sp= an></font></div><div><font color=3D"#252525" face=3D"Overpass, Open Sans, H= elvetica, sans-serif"><span style=3D"font-size:16px">Arnau</span></font></d= iv><div><font color=3D"#252525" face=3D"Overpass, Open Sans, Helvetica, san= s-serif"><span style=3D"font-size:16px"><br></span></font></div></div><br><= div class=3D"gmail_quote"><div dir=3D"ltr">El mi=C3=A9., 27 jun. 2018 a las= 23:21, Dirk Devos (<<a href=3D"mailto:[email protected]">Dirk= [email protected]</a>>) escribi=C3=B3:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd= ing-left:1ex"> <div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"> <div class=3D"m_-12783454095057378WordSection1"> <p class=3D"MsoNormal">Hi,<u></u><u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">I am running into the following error. I have search= ed around and I am not able to find any help on resolving this. Would someo= ne be so kind and point me in the right direction.<u></u><u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">error: Failed to initialize NSS library<u></u><u></u= ></p> <p class=3D"MsoNormal">There was a problem importing one of the Python modu= les<u></u><u></u></p> <p class=3D"MsoNormal">required to run yum. The error leading to this probl= em was:<u></u><u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">=C2=A0=C2=A0 cannot import name ts<u></u><u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">Please install a package which provides this module,= or<u></u><u></u></p> <p class=3D"MsoNormal">verify that the module is installed correctly.<u></u= ><u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">It's possible that the above module doesn't = match the<u></u><u></u></p> <p class=3D"MsoNormal">current version of Python, which is:<u></u><u></u></= p> <p class=3D"MsoNormal">2.7.5 (default, Aug=C2=A0 4 2017, 00:39:18)<u></u><u= ></u></p> <p class=3D"MsoNormal">[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]<u></u><u></u= ></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">If you cannot solve this problem yourself, please go= to<u></u><u></u></p> <p class=3D"MsoNormal">the yum faq at:<u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0 <a href=3D"http://yum.baseurl.org/wiki/Faq" t= arget=3D"_blank">http://yum.baseurl.org/wiki/Faq</a><u></u><u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">Thanks,<u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Dirk<span style=3D"font-size:10.0pt= ;font-family:"Arial","sans-serif";color:navy"> <u></u><u></u></span></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <hr> <h5>This email and any attachments contain information from Baker & Tay= lor which may be confidential, privileged and/or protected by other legal r= ules. If you are not the intended recipient, you are hereby advised that an= y disclosure, copying, distribution or use of the contents of this email is prohibited. If you have received t= he email in error, please notify us by reply email immediately and then del= ete the email and your reply from your email system. <p><b>NOTE:</b> Baker & Taylor accepts no liability for the contents of= this email. This email shall not operate to bind Baker & Taylor to any= contract, order or other obligation. </p> </h5> </div> _______________________________________________<br> Yum mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= l.org</a><br> <a href=3D"http://lists.baseurl.org/mailman/listinfo/yum" rel=3D"noreferrer= " target=3D"_blank">http://lists.baseurl.org/mailman/listinfo/yum</a><br> </blockquote></div> --0000000000004304ea056faed062-- --===============7174655960985801723== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Yum mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum --===============7174655960985801723==--