Google Chrome crashes frequently on Amazon Linux 2 and can't update it to the latest version

1

Environment -

  • Users home directories are mounted on Amazon FSx and they access AL2 instances using NICE DCV.

We tried the below work around - removing chrome from user's home directory per https://askubuntu.com/a/1339929

rm -rf ~/.config/google-chrome

But it hasn't fixed the issue yet, still we observing Chrome crashes.

The issue seems because of out dated Chrome version. And couldn't update Chrome to google-chrome-stable-122.0.6261.57-1.x86_64 on AL2.

'import sitecustomize' failed; use -v for traceback
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
1password/x86_64/signature                                                                       |  833 B  00:00:00
1password/x86_64/signature                                                                       | 3.0 kB  00:00:00 !!!
amzn2-core                                                                                       | 3.6 kB  00:00:00
amzn2extra-docker                                                                                | 2.9 kB  00:00:00
amzn2extra-epel                                                                                  | 3.0 kB  00:00:00
amzn2extra-firefox                                                                               | 2.9 kB  00:00:00
amzn2extra-libreoffice                                                                           | 3.0 kB  00:00:00
amzn2extra-lustre2.10                                                                            | 3.0 kB  00:00:00
code                                                                                             | 1.5 kB  00:00:00
copr:copr.fedorainfracloud.org:carlwgeorge:ripgrep                                               | 3.3 kB  00:00:00
datadog/signature                                                                                |  801 B  00:00:00
datadog/signature                                                                                | 2.9 kB  00:00:00 !!!
epel/x86_64/metalink                                                                             |  23 kB  00:00:00
epel                                                                                             | 4.7 kB  00:00:00
google-chrome                                                                                    | 1.3 kB  00:00:00
mirror.centos.org_centos_7_sclo_x86_64_rh_                                                       | 3.0 kB  00:00:00
'import sitecustomize' failed; use -v for traceback
'import sitecustomize' failed; use -v for traceback
(1/3): epel/x86_64/updateinfo                                                                    | 1.0 MB  00:00:00
(2/3): epel/x86_64/primary_db                                                                    | 7.0 MB  00:00:00
(3/3): code/primary                                                                              |  74 kB  00:00:00
code                                                                                                            366/366
245 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:120.0.6099.109-1 will be updated
---> Package google-chrome-stable.x86_64 0:122.0.6261.57-1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================
 Package                           Arch                Version                         Repository                  Size
========================================================================================================================
Updating:
 google-chrome-stable              x86_64              122.0.6261.57-1                 google-chrome              103 M

Transaction Summary
========================================================================================================================
Upgrade  1 Package

Total download size: 103 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
'import sitecustomize' failed; use -v for traceback
warning: /var/cache/yum/x86_64/2/google-chrome/packages/google-chrome-stable-122.0.6261.57-1.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 9b30acf2: NOKEY
Public key for google-chrome-stable-122.0.6261.57-1.x86_64.rpm is not installed
google-chrome-stable-122.0.6261.57-1.x86_64.rpm                                                  | 103 MB  00:00:01
Retrieving key from https://dl.google.com/linux/linux_signing_key.pub


The GPG keys listed for the "google-chrome" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.


 Failing package is: google-chrome-stable-122.0.6261.57-1.x86_64
 GPG Keys are configured as: https://dl.google.com/linux/linux_signing_key.pub

Could any one provide a better fix ?

Thanks.

suresh
asked 2 months ago274 views
1 Answer
0

Hey there, thanks for the question and using DCV! With AL2 coming up on End of Life, its components are not compatible with the latest chrome builds. If I recall correctly, it will work on v114. Alternatively, you could use a distribution not based on el7 for more up to date components.

profile pictureAWS
answered 2 months ago
profile picture
EXPERT
reviewed 25 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions