LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-07-2017, 02:14 PM   #1
abhisheks77
Member
 
Registered: Apr 2014
Posts: 63

Rep: Reputation: Disabled
How should I downgrade nss on RHEL ?


Hello,
I have RHEL 6.2 running on x86 VMWare. That had default nss-3.12 installed on that. To fix one issue, I mounted RHEL 6.9 on this and installed nss-3.27 and it screwed up more things. Now I want to remove nss-3.27 and install back nss-3.12.
I have both iso on server locally and mount them as repo, but not sure, how should I downgrade it.
Code:
[root@server1 /]# yum list | grep -i nss.x86
nss.x86_64                             3.27.1-13.el6               @InstallMedia
python-nss.x86_64                      0.11-3.el6                  @anaconda-RedHatEnterpriseLinux-201111171049.x86_64/6.2
mod_nss.x86_64                         1.0.8-13.el6                InstallMedia
[root@server1 /]#
[root@server1 /]# ls -l /mnt/iso/Packages/ | grep -i nss-3.12
-r--r--r--  99 root root   797076 Nov  9  2011 nss-3.12.10-16.el6.i686.rpm
-r--r--r--  57 root root   794672 Nov  9  2011 nss-3.12.10-16.el6.x86_64.rpm
[root@server1 /]#
[root@server1 /]# rpm -qa | grep -i nss
nss-sysinit-3.27.1-13.el6.x86_64
nss-softokn-freebl-3.14.3-23.3.el6_8.i686
nss-softokn-3.14.3-23.3.el6_8.i686
openssh-clients-5.3p1-70.el6.x86_64
nss_compat_ossl-0.9.6-1.el6.x86_64
pyOpenSSL-0.10-2.el6.x86_64
python-nss-0.11-3.el6.x86_64
nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64
nss-softokn-3.14.3-23.3.el6_8.x86_64
nss-3.27.1-13.el6.x86_64
nss-pam-ldapd-0.7.5-14.el6.x86_64
openssl-1.0.1e-57.el6.x86_64
nss-3.27.1-13.el6.i686
openssh-server-5.3p1-70.el6.x86_64
openssh-5.3p1-70.el6.x86_64
nss-util-3.27.1-3.el6.x86_64
nss-util-3.27.1-3.el6.i686
nss-tools-3.27.1-13.el6.x86_64
[root@server1 /]#
 
Old 10-08-2017, 09:27 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,139

Rep: Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855
Quote:
Originally Posted by abhisheks77 View Post
Hello,
I have RHEL 6.2 running on x86 VMWare. That had default nss-3.12 installed on that. To fix one issue, I mounted RHEL 6.9 on this and installed nss-3.27 and it screwed up more things. Now I want to remove nss-3.27 and install back nss-3.12. I have both iso on server locally and mount them as repo, but not sure, how should I downgrade it.
As you've been told each time you post about Red Hat Enterprise (for your COMPANY), you need to PAY FOR RHEL, period. Call their support for help, and if your 'company' doesn't want to, then why are you not using CentOS instead???

You've also been using Linux for a while now, and have installed packages before. This is no different; read the man page for the rpm and/or yum commands. "rpm -e" or "yum remove" <package name> will remove it. "rpm -i"/"yum install" <package name> will install a new one.

And AGAIN, as you've been told many times before, unless you PAY FOR RHEL, you WILL NOT be able to successfully use yum to remove/install things, since ALL the dependencies will also fail. Pay for RHEL.
 
Old 10-08-2017, 03:21 PM   #3
MadeInGermany
Senior Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 2,564

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
I wonder if the nss package is so essential that after its removal an rpm -i would fail.
Safer is a direct downgrade.
Code:
rpm -Uvh --oldpackage nss-3.12.10-16.el6.x86_64.rpm
 
Old 10-08-2017, 03:58 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,139

Rep: Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855Reputation: 7855
Quote:
Originally Posted by MadeInGermany View Post
I wonder if the nss package is so essential that after its removal an rpm -i would fail.
Safer is a direct downgrade.
Code:
rpm -Uvh --oldpackage nss-3.12.10-16.el6.x86_64.rpm
Yep...that's why the OP has been told several times in the past to:
  1. Pay for RHEL
  2. Use 'yum' for such things, since it'll resolve/correct dependency issues.
But each time the ignore this advice.
 
Old 10-08-2017, 05:36 PM   #5
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
If "COMPANY" considers 'security': https://access.redhat.com/errata/RHSA-2017:1102
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Moderate nss / nss-util / nspr security updates LXer Syndicated Linux News 0 04-06-2016 10:00 AM
LXer: Red Hat: 2014:1073-01: nss, nss-util, nss-softokn: Low Advisory LXer Syndicated Linux News 0 08-18-2014 09:10 PM
RHEL NSS authentication fails in FIPS mode only! breds Linux - Software 0 08-02-2012 04:36 PM
Downgrade php from 5.3 to 5.1.6 in RHEL 6.2 hrs.blr89 Linux - Server 4 07-09-2012 06:29 AM
Has anyone implemented smartcard authentication via LDAP on RHEL 5.4 using NSS?? breds Linux - Software 0 06-21-2012 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration