holydiver_777: icon (Default)
[personal profile] holydiver_777
Оригинал взят у [livejournal.com profile] yes1111 в Записки пингвиновода-любителя. Google Chrome в RHEL6: Если все это кому-нибудь нужно! Часть 2

Итак, по окончании всех манипуляций в системном меню у нас появилась заветная картинка:



Запускаем! И - ничего!... Что случилось? Запускаем еще раз из терминала:

/usr/bin/google-chrome-stable %U
/usr/bin/google-chrome-stable: /usr/lib64/libnss3.so: version `NSS_3.14.3' not found (required by /usr/bin/google-chrome-stable)

Вот тебе и раз! Нужна nss версии 3.14.3, а у нас только 3.14.0. И ведь что самое обидное - обновить не дает. При том, что в репозитории искомое обновление есть:

yum install nss


Loaded plugins: refresh-packagekit, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nss.x86_64 0:3.14.0.0-12.el6 will be updated
---> Package nss.x86_64 0:3.14.3-4.el6_4 will be an update
--> Processing Dependency: nss-util >= 3.14.3 for package: nss-3.14.3-4.el6_4.x86_64
--> Processing Dependency: nss-softokn(x86-64) >= 3.14.3 for package: nss-3.14.3-4.el6_4.x86_64
--> Processing Dependency: nspr >= 4.9.5 for package: nss-3.14.3-4.el6_4.x86_64
--> Running transaction check
---> Package nspr.i686 0:4.9.2-1.el6 will be updated
---> Package nspr.x86_64 0:4.9.2-1.el6 will be updated
---> Package nspr.i686 0:4.9.5-2.el6_4 will be an update
---> Package nspr.x86_64 0:4.9.5-2.el6_4 will be an update
---> Package nss-softokn.i686 0:3.12.9-11.el6 will be updated
---> Package nss-softokn.x86_64 0:3.12.9-11.el6 will be updated
---> Package nss-softokn.i686 0:3.14.3-3.el6_4 will be an update
--> Processing Dependency: nss-softokn-freebl(x86-32) >= 3.14.3 for package: nss-softokn-3.14.3-3.el6_4.i686
---> Package nss-softokn.x86_64 0:3.14.3-3.el6_4 will be an update
---> Package nss-util.i686 0:3.14.0.0-2.el6 will be updated
---> Package nss-util.x86_64 0:3.14.0.0-2.el6 will be updated
---> Package nss-util.i686 0:3.14.3-3.el6_4 will be an update
---> Package nss-util.x86_64 0:3.14.3-3.el6_4 will be an update
--> Running transaction check
---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be updated
---> Package nss-softokn-freebl.x86_64 0:3.12.9-11.el6 will be updated
---> Package nss-softokn-freebl.i686 0:3.14.3-3.el6_4 will be an update
---> Package nss-softokn-freebl.x86_64 0:3.14.3-3.el6_4 will be an update
--> Finished Dependency Resolution
Error:  Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for nss which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of nss of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude nss.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of nss installed, but
yum can only see an upgrade for one of those arcitectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of nss installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
Protected multilib versions: nss-3.14.3-4.el6_4.x86_64 != nss-3.14.0.0-12.el6.i686
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
google-chrome-stable-31.0.1650.57-1.x86_64 has missing requires of libnss3.so(NSS_3.14.3)(64bit)



Что ж, рискнем все же воспользоваться подсказкой из п. 3 и запустим установку с ключиком --setopt=protected_multilib=false:

yum install nss --setopt=protected_multilib=false


Loaded plugins: refresh-packagekit, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nss.x86_64 0:3.14.0.0-12.el6 will be updated
---> Package nss.x86_64 0:3.14.3-4.el6_4 will be an update
--> Processing Dependency: nss-util >= 3.14.3 for package: nss-3.14.3-4.el6_4.x86_64
--> Processing Dependency: nss-softokn(x86-64) >= 3.14.3 for package: nss-3.14.3-4.el6_4.x86_64
--> Processing Dependency: nspr >= 4.9.5 for package: nss-3.14.3-4.el6_4.x86_64
--> Running transaction check
---> Package nspr.i686 0:4.9.2-1.el6 will be updated
---> Package nspr.x86_64 0:4.9.2-1.el6 will be updated
---> Package nspr.i686 0:4.9.5-2.el6_4 will be an update
---> Package nspr.x86_64 0:4.9.5-2.el6_4 will be an update
---> Package nss-softokn.i686 0:3.12.9-11.el6 will be updated
---> Package nss-softokn.x86_64 0:3.12.9-11.el6 will be updated
---> Package nss-softokn.i686 0:3.14.3-3.el6_4 will be an update
--> Processing Dependency: nss-softokn-freebl(x86-32) >= 3.14.3 for package: nss-softokn-3.14.3-3.el6_4.i686
---> Package nss-softokn.x86_64 0:3.14.3-3.el6_4 will be an update
---> Package nss-util.i686 0:3.14.0.0-2.el6 will be updated
---> Package nss-util.x86_64 0:3.14.0.0-2.el6 will be updated
---> Package nss-util.i686 0:3.14.3-3.el6_4 will be an update
---> Package nss-util.x86_64 0:3.14.3-3.el6_4 will be an update
--> Running transaction check
---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be updated
---> Package nss-softokn-freebl.x86_64 0:3.12.9-11.el6 will be updated
---> Package nss-softokn-freebl.i686 0:3.14.3-3.el6_4 will be an update
---> Package nss-softokn-freebl.x86_64 0:3.14.3-3.el6_4 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package                 Arch        Version             Repository        Size
================================================================================
Updating:
nss                     x86_64      3.14.3-4.el6_4      sl-security      812 k
Updating for dependencies:
nspr                    i686        4.9.5-2.el6_4       sl-security      114 k
nspr                    x86_64      4.9.5-2.el6_4       sl-security      111 k
nss-softokn             i686        3.14.3-3.el6_4      sl-security      258 k
nss-softokn             x86_64      3.14.3-3.el6_4      sl-security      249 k
nss-softokn-freebl      i686        3.14.3-3.el6_4      sl-security      128 k
nss-softokn-freebl      x86_64      3.14.3-3.el6_4      sl-security      138 k
nss-util                i686        3.14.3-3.el6_4      sl-security       61 k
nss-util                x86_64      3.14.3-3.el6_4      sl-security       62 k
Transaction Summary
================================================================================
Upgrade       9 Package(s)
Total download size: 1.9 M
Is this ok [y/N]: y
Downloading Packages:
(1/9): nspr-4.9.5-2.el6_4.i686.rpm                       | 114 kB     00:01
(2/9): nspr-4.9.5-2.el6_4.x86_64.rpm                     | 111 kB     00:00
(3/9): nss-3.14.3-4.el6_4.x86_64.rpm                     | 812 kB     00:04
(4/9): nss-softokn-3.14.3-3.el6_4.i686.rpm               | 258 kB     00:01
(5/9): nss-softokn-3.14.3-3.el6_4.x86_64.rpm             | 249 kB     00:01
(6/9): nss-softokn-freebl-3.14.3-3.el6_4.i686.rpm        | 128 kB     00:00
(7/9): nss-softokn-freebl-3.14.3-3.el6_4.x86_64.rpm      | 138 kB     00:00
(8/9): nss-util-3.14.3-3.el6_4.i686.rpm                  |  61 kB     00:00
(9/9): nss-util-3.14.3-3.el6_4.x86_64.rpm                |  62 kB     00:00
--------------------------------------------------------------------------------
Total                                           142 kB/s | 1.9 MB     00:13
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
google-chrome-stable-31.0.1650.57-1.x86_64 has missing requires of libnss3.so(NSS_3.14.3)(64bit)
Updating   : nspr-4.9.5-2.el6_4.x86_64                                   1/18
Updating   : nss-util-3.14.3-3.el6_4.x86_64                              2/18
Updating   : nspr-4.9.5-2.el6_4.i686                                     3/18
Updating   : nss-softokn-freebl-3.14.3-3.el6_4.x86_64                    4/18
Updating   : nss-softokn-3.14.3-3.el6_4.x86_64                           5/18
Updating   : nss-util-3.14.3-3.el6_4.i686                                6/18
Updating   : nss-softokn-freebl-3.14.3-3.el6_4.i686                      7/18
Updating   : nss-3.14.3-4.el6_4.x86_64                                   8/18
Updating   : nss-softokn-3.14.3-3.el6_4.i686                             9/18
Cleanup    : nss-softokn-3.12.9-11.el6                                  10/18
Cleanup    : nss-3.14.0.0-12.el6.x86_64                                 11/18
Cleanup    : nss-util-3.14.0.0-2.el6                                    12/18
Cleanup    : nspr-4.9.2-1.el6                                           13/18
Cleanup    : nss-softokn-freebl-3.12.9-11.el6                           14/18
Cleanup    : nss-softokn-3.12.9-11.el6                                  15/18
Cleanup    : nss-util-3.14.0.0-2.el6                                    16/18
Cleanup    : nspr-4.9.2-1.el6                                           17/18
Cleanup    : nss-softokn-freebl-3.12.9-11.el6                           18/18
Verifying  : nspr-4.9.5-2.el6_4.x86_64                                   1/18
Verifying  : nss-util-3.14.3-3.el6_4.i686                                2/18
Verifying  : nss-softokn-3.14.3-3.el6_4.i686                             3/18
Verifying  : nss-softokn-freebl-3.14.3-3.el6_4.i686                      4/18
Verifying  : nspr-4.9.5-2.el6_4.i686                                     5/18
Verifying  : nss-softokn-freebl-3.14.3-3.el6_4.x86_64                    6/18
Verifying  : nss-3.14.3-4.el6_4.x86_64                                   7/18
Verifying  : nss-util-3.14.3-3.el6_4.x86_64                              8/18
Verifying  : nss-softokn-3.14.3-3.el6_4.x86_64                           9/18
Verifying  : nss-softokn-freebl-3.12.9-11.el6.i686                      10/18
Verifying  : nss-softokn-freebl-3.12.9-11.el6.x86_64                    11/18
Verifying  : nss-3.14.0.0-12.el6.x86_64                                 12/18
Verifying  : nss-util-3.14.0.0-2.el6.i686                               13/18
Verifying  : nss-util-3.14.0.0-2.el6.x86_64                             14/18
Verifying  : nspr-4.9.2-1.el6.i686                                      15/18
Verifying  : nspr-4.9.2-1.el6.x86_64                                    16/18
Verifying  : nss-softokn-3.12.9-11.el6.i686                             17/18
Verifying  : nss-softokn-3.12.9-11.el6.x86_64                           18/18
Updated:
nss.x86_64 0:3.14.3-4.el6_4                                            
Dependency Updated:
nspr.i686 0:4.9.5-2.el6_4                                              
nspr.x86_64 0:4.9.5-2.el6_4                                            
nss-softokn.i686 0:3.14.3-3.el6_4                                      
nss-softokn.x86_64 0:3.14.3-3.el6_4                                    
nss-softokn-freebl.i686 0:3.14.3-3.el6_4                              
nss-softokn-freebl.x86_64 0:3.14.3-3.el6_4                            
nss-util.i686 0:3.14.3-3.el6_4                                        
nss-util.x86_64 0:3.14.3-3.el6_4                                      
Complete!

Осталось только подтянуть таким же образом 32-битную версию этого же пакета, чтобы yum не ругался:

yum install nss.i686 --setopt=protected_multilib=false


Loaded plugins: refresh-packagekit, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nss.i686 0:3.14.0.0-12.el6 will be updated
--> Processing Dependency: nss = 3.14.0.0-12.el6 for package: nss-tools-3.14.0.0-12.el6.x86_64
--> Processing Dependency: nss = 3.14.0.0-12.el6 for package: nss-sysinit-3.14.0.0-12.el6.x86_64
---> Package nss.i686 0:3.14.3-4.el6_4 will be an update
--> Running transaction check
---> Package nss-sysinit.x86_64 0:3.14.0.0-12.el6 will be updated
---> Package nss-sysinit.x86_64 0:3.14.3-4.el6_4 will be an update
---> Package nss-tools.x86_64 0:3.14.0.0-12.el6 will be updated
---> Package nss-tools.x86_64 0:3.14.3-4.el6_4 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package           Arch         Version                 Repository         Size
================================================================================
Updating:
nss               i686         3.14.3-4.el6_4          sl-security       799 k
Updating for dependencies:
nss-sysinit       x86_64       3.14.3-4.el6_4          sl-security        34 k
nss-tools         x86_64       3.14.3-4.el6_4          sl-security       339 k
Transaction Summary
================================================================================
Upgrade       3 Package(s)
Total download size: 1.1 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): nss-3.14.3-4.el6_4.i686.rpm                       | 799 kB     00:04  
(2/3): nss-sysinit-3.14.3-4.el6_4.x86_64.rpm             |  34 kB     00:00  
(3/3): nss-tools-3.14.3-4.el6_4.x86_64.rpm               | 339 kB     00:01  
--------------------------------------------------------------------------------
Total                                           136 kB/s | 1.1 MB     00:08  
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating   : nss-sysinit-3.14.3-4.el6_4.x86_64                            1/6
Updating   : nss-3.14.3-4.el6_4.i686                                      2/6
Updating   : nss-tools-3.14.3-4.el6_4.x86_64                              3/6
Cleanup    : nss-tools-3.14.0.0-12.el6.x86_64                             4/6
Cleanup    : nss-sysinit-3.14.0.0-12.el6.x86_64                           5/6
Cleanup    : nss-3.14.0.0-12.el6.i686                                     6/6
Verifying  : nss-3.14.3-4.el6_4.i686                                      1/6
Verifying  : nss-sysinit-3.14.3-4.el6_4.x86_64                            2/6
Verifying  : nss-tools-3.14.3-4.el6_4.x86_64                              3/6
Verifying  : nss-tools-3.14.0.0-12.el6.x86_64                             4/6
Verifying  : nss-3.14.0.0-12.el6.i686                                     5/6
Verifying  : nss-sysinit-3.14.0.0-12.el6.x86_64                           6/6
Updated:
nss.i686 0:3.14.3-4.el6_4                                                  
Dependency Updated:
nss-sysinit.x86_64 0:3.14.3-4.el6_4     nss-tools.x86_64 0:3.14.3-4.el6_4
Complete!


Итак, вроде бы у нас все необходимое установлено Проверяем. Ура! Заработало!


Судя по тому, что данный пост создан мною именно под Google Chrome 31-й версии, встал и работает он вполне нормально. И даже Adobe Flash Plugin версии 11.9 (!):



Итак, нам осталось только разобраться, каким образом обновлять Google Chrome, и как от него избавиться, если вдруг он окажется ненужным. Здесь мистер Ллойд дает такие советы:

- для обновления запускаем: yum update google-chrome-stable, или повторно запускаем скрипт: ./install_chrome.sh
-
для удаления вместе с установленными зависимостями: yum remove google-chrome-stable chrome-deps, или ./install_chrome.sh -u

Удачи! :)


Profit!

:)

Date: Monday, 6 January 2014 15:08 (UTC)
From: [identity profile] protigunyo.livejournal.com
Материал неплохой, помещу сайт в закладки.

Profile

holydiver_777: icon (Default)
holydiver_777

May 2017

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 27th, 2025 20:45
Powered by Dreamwidth Studios