fedops blog

Privacy in Computing

Wed 05 December 2018

Quick Tip - The Vanishing Google Chrome Updates

Posted by fedops in Software   

When I read that Google had dropped Version 71 of Chrome today I wondered whether today's dnf -y update had already downloaded and installed it. A quick check in the browser showed it was stuck at v66! What was that?!?

Turns out that the upgrade to Fedora 29 and the modular repositories had removed the configuration for the "old" Google repo, without a replacement. Not good, considering the sheer number of security updates that had been rolled out over the now 5 releases I was behind. :-(

Anyway, don't be me and check the situation like so:

[root@airtuxi ~]# dnf repolist
Fedora 29 openh264 (From Cisco) - x86_64                                           172  B/s | 543  B     00:03    
Fedora Modular 29 - x86_64                                                          16 kB/s |  27 kB     00:01    
Fedora Modular 29 - x86_64 - Updates                                                10 kB/s |  27 kB     00:02    
Fedora 29 - x86_64 - Updates                                                        22 kB/s |  26 kB     00:01    
Fedora 29 - x86_64                                                                  10 kB/s |  27 kB     00:02    
RPM Fusion for Fedora 29 - Free - Updates                                          6.5 kB/s | 7.9 kB     00:01    
RPM Fusion for Fedora 29 - Free                                                    5.5 kB/s | 9.8 kB     00:01    
RPM Fusion for Fedora 29 - Nonfree - Updates                                       6.8 kB/s | 8.0 kB     00:01    
RPM Fusion for Fedora 29 - Nonfree                                                 6.8 kB/s | 9.6 kB     00:01    
repo id                                      repo name                                                       status
fedora                                       Fedora 29 - x86_64                                              58,207
fedora-cisco-openh264                        Fedora 29 openh264 (From Cisco) - x86_64                             8
fedora-modular                               Fedora Modular 29 - x86_64                                           8
rpmfusion-free                               RPM Fusion for Fedora 29 - Free                                    596
rpmfusion-free-updates                       RPM Fusion for Fedora 29 - Free - Updates                          120
rpmfusion-nonfree                            RPM Fusion for Fedora 29 - Nonfree                                 228
rpmfusion-nonfree-updates                    RPM Fusion for Fedora 29 - Nonfree - Updates                        35
updates                                      Fedora 29 - x86_64 - Updates                                    13,171
updates-modular                              Fedora Modular 29 - x86_64 - Updates                                11

Clearly, we are missing the Chrome repo.

Repair it like so:

[root@airtuxi ~]# dnf install fedora-workstation-repositories
Last metadata expiration check: 0:01:11 ago on Wed 05 Dec 2018 09:53:21 PM CET.
Dependencies resolved.
Complete!
[root@airtuxi ~]# dnf config-manager --set-enabled google-chrome

Now, check what updates might be available:

[root@airtuxi ~]# dnf check-update
Fedora 29 openh264 (From Cisco) - x86_64                                           132  B/s | 543  B     00:04    
Fedora Modular 29 - x86_64                                                          12 kB/s |  27 kB     00:02    
Fedora Modular 29 - x86_64 - Updates                                                23 kB/s |  27 kB     00:01    
Fedora 29 - x86_64 - Updates                                                        10 kB/s |  26 kB     00:02    
Fedora 29 - x86_64                                                                  11 kB/s |  27 kB     00:02    
google-chrome                                                                      1.2 kB/s | 1.3 kB     00:01    
google-chrome                                                                      1.6 kB/s | 3.3 kB     00:02    
RPM Fusion for Fedora 29 - Free - Updates                                          6.6 kB/s | 7.9 kB     00:01    
RPM Fusion for Fedora 29 - Free                                                    8.4 kB/s | 9.8 kB     00:01    
RPM Fusion for Fedora 29 - Nonfree - Updates                                       7.0 kB/s | 8.0 kB     00:01    
RPM Fusion for Fedora 29 - Nonfree                                                 8.2 kB/s | 9.6 kB     00:01    

google-chrome-stable.x86_64                              71.0.3578.80-1                               google-chrome

Much better. Now get the update installed:

[root@airtuxi ~]# dnf update
Last metadata expiration check: 0:00:36 ago on Wed 05 Dec 2018 09:55:19 PM CET.
Dependencies resolved.
====================================================================================================================
 Package                          Arch               Version                        Repository                 Size
====================================================================================================================
Upgrading:
 google-chrome-stable             x86_64             71.0.3578.80-1                 google-chrome              54 M
Installing dependencies:
 liberation-fonts                 noarch             1:2.00.3-1.fc29                fedora                    7.8 k

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

Total download size: 54 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): liberation-fonts-2.00.3-1.fc29.noarch.rpm                                    6.8 kB/s | 7.8 kB     00:01    
(2/2): google-chrome-stable-71.0.3578.80-1.x86_64.rpm                               4.0 MB/s |  54 MB     00:13    
--------------------------------------------------------------------------------------------------------------------
Total                                                                               2.6 MB/s |  54 MB     00:20     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                            1/1 
  Installing       : liberation-fonts-1:2.00.3-1.fc29.noarch                                                    1/3 
  Running scriptlet: google-chrome-stable-71.0.3578.80-1.x86_64                                                 2/3 
  Upgrading        : google-chrome-stable-71.0.3578.80-1.x86_64                                                 2/3 
  Running scriptlet: google-chrome-stable-71.0.3578.80-1.x86_64                                                 2/3 
Redirecting to /bin/systemctl start atd.service

  Running scriptlet: google-chrome-stable-66.0.3359.139-1.x86_64                                                3/3 
  Cleanup          : google-chrome-stable-66.0.3359.139-1.x86_64                                                3/3 
  Running scriptlet: google-chrome-stable-66.0.3359.139-1.x86_64                                                3/3 
  Verifying        : liberation-fonts-1:2.00.3-1.fc29.noarch                                                    1/3 
  Verifying        : google-chrome-stable-71.0.3578.80-1.x86_64                                                 2/3 
  Verifying        : google-chrome-stable-66.0.3359.139-1.x86_64                                                3/3 

Upgraded:
  google-chrome-stable-71.0.3578.80-1.x86_64                                                                        

Installed:
  liberation-fonts-1:2.00.3-1.fc29.noarch                                                                           

Complete!
[root@airtuxi ~]#