Bug 32005

Summary: URPMI/wget can not install and update actual Google Chrome whereas DNF can
Product: Mageia Reporter: sturmvogel <sturm-fr>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, jakob.kummerow
Version: CauldronKeywords: UPSTREAM
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA8TOO
Source RPM: CVE:
Status comment:

Description sturmvogel 2023-06-11 13:51:56 CEST
Description of problem:
Under Mageia 9 and 8 Google Chrome no longer updates (pulls only an outdated 112 version) when installed with urpmi and/or MCC. But if you use DNF it is possible to update and install an actual Google Chrome (114 version). Both repository URLs (for URPMI and DNF) are exactly the same. Repo files are shown at the end of this bug.

Steps to Reproduce:
1. Add Google Chrome repo and pubkey as described here https://wiki.mageia.org/en/Installing_Google_Chrome_in_Mageia (more sane description in the german version of the article)
2. Install Google Chrome via URPMI and see how it pulls an heavily outdated Google Chrome version (this also creates /etc/yum.repos.de/google-chrome.repo file for DNF with same URL as for URPMI)
3. Issue an "urpmi --auto-update" and see that it won't actualize Chrome to an actual version
4. Now issue "dnf up google-chrome stable" and see that it installs an actual Google Chrome
5. (It is the same when you uninstall the outdated version via URPMI again and directly install it with DNF afterwards instead of updating)

Steps in Detail:
Step 1: Add repo via URPMI
[root@test8 ~]# LC_ALL=C urpmi.addmedia --update google-chrome https://dl.google.com/linux/chrome/rpm/stable/x86_64
adding medium "google-chrome"
    https://dl.google.com/linux/chrome/rpm/stable/x86_64/media_info/synthesis.hdlist.cz
[root@test8 ~]# rpm -import https://dl.google.com/linux/linux_signing_key.pub

Step 2: Install Chrome via URPMI
[root@test8 ~]# LC_ALL=C urpmi google-chrome-stable
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Updates")
  wget                           1.21.3       1.mga8        x86_64  
(medium "google-chrome")
  google-chrome-stable           112.0.5615.> 1             x86_64  
302MB of additional disk space will be used.
92MB of packages will be retrieved.
Proceed with the installation of the 2 packages? (Y/n) y


installing google-chrome-stable-112.0.5615.165-1.x86_64.rpm wget-1.21.3-1.mga8.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     ##################################################################################################################################################################################################
      1/2: wget                  ##################################################################################################################################################################################################
      2/2: google-chrome-stable  ##################################################################################################################################################################################################
[root@test8 ~]# 


Step 3: Update with URPMI
[root@test8 ~]# LC_ALL=C urpmi --auto-update
medium "Core Release" is up-to-date
medium "Core Updates" is up-to-date
medium "Nonfree Release" is up-to-date
medium "Nonfree Updates" is up-to-date
medium "Tainted Release" is up-to-date
medium "Tainted Updates" is up-to-date
medium "Core 32bit Release" is up-to-date
medium "Core 32bit Updates" is up-to-date
medium "Nonfree 32bit Release" is up-to-date
medium "Nonfree 32bit Updates" is up-to-date
medium "Tainted 32bit Release" is up-to-date
medium "Tainted 32bit Updates" is up-to-date
medium "google-chrome" is up-to-date
Packages are up to date
[root@test8 ~]# 


Step 4: Update via DNF
[root@test8 ~]# LC_ALL=C dnf up google-chrome-stable
Letzte Prüfung auf abgelaufene Metadaten: vor 0:01:02 am Sun Jun 11 13:37:08 2023.
Abhängigkeiten sind aufgelöst.
=====================================================================================================================================================================================================================================
 Package                                                      Architecture                                   Version                                                     Repository                                             Size
=====================================================================================================================================================================================================================================
Aktualisieren:
 google-chrome-stable                                         x86_64                                         114.0.5735.106-1                                            google-chrome                                          91 M

Transaktionsübersicht
=====================================================================================================================================================================================================================================
Aktualisieren  1 Paket

Gesamte Downloadgröße: 91 M
Ist dies in Ordnung? [j/N]: 
Pakete werden heruntergeladen:
google-chrome-stable-114.0.5735.106-1.x86_64.rpm                                                                                                                                                     6.0 MB/s |  91 MB     00:15    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Gesamt                                                                                                                                                                                               6.0 MB/s |  91 MB     00:15     
Transaktionsüberprüfung wird ausgeführt
Transaktionsprüfung war erfolgreich.
Transaktion wird getestet
Transaktionstest war erfolgreich.
Transaktion wird ausgeführt
  Vorbereitung läuft    :                                                                                                                                                                                                        1/1 
  Ausgeführtes Scriptlet: google-chrome-stable-114.0.5735.106-1.x86_64                                                                                                                                                           1/2 
  Aktualisieren         : google-chrome-stable-114.0.5735.106-1.x86_64                                                                                                                                                           1/2 
  Ausgeführtes Scriptlet: google-chrome-stable-114.0.5735.106-1.x86_64                                                                                                                                                           1/2 
  Ausgeführtes Scriptlet: google-chrome-stable-112.0.5615.165-1.x86_64                                                                                                                                                           2/2 
  Aufräumen             : google-chrome-stable-112.0.5615.165-1.x86_64                                                                                                                                                           2/2 
  Ausgeführtes Scriptlet: google-chrome-stable-112.0.5615.165-1.x86_64                                                                                                                                                           2/2 
  Überprüfung läuft     : google-chrome-stable-114.0.5735.106-1.x86_64                                                                                                                                                           1/2 
  Überprüfung läuft     : google-chrome-stable-112.0.5615.165-1.x86_64                                                                                                                                                           2/2 

Aktualisiert:
  google-chrome-stable-114.0.5735.106-1.x86_64                                                                                                                                                                                       

Fertig.
[root@test8 ~]# 





Repositories for comparison:
[root@test8 ~]# urpmq --list-url |grep google-chrome
google-chrome https://dl.google.com/linux/chrome/rpm/stable/x86_64
[root@test8 ~]# 

[root@test8 ~]# dnf repolist -v
Geladene Plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync
DNF version: 4.6.0
cachedir: /var/cache/dnf
google-chrome                                                                                                                                                                                        2.3 kB/s | 1.3 kB     00:00    
Repo-id            : google-chrome
Repo-name          : google-chrome
Repo-revision      : 1686250303
Repo-updated       : Do 08 Jun 2023 20:51:43 CEST
Repo-pkgs          : 3
Repo-available-pkgs: 3
Repo-size          : 280 M
Repo-baseurl       : https://dl.google.com/linux/chrome/rpm/stable/x86_64
Repo-expire        : 172.800 Sekunde(n) (zuletzt: So 11 Jun 2023 13:36:42 CEST)
Repo-filename      : /etc/yum.repos.d/google-chrome.repo

...(MGA repos cutted)...
sturmvogel 2023-06-11 13:52:43 CEST

Whiteboard: (none) => MGA8TOO

Comment 1 Jani Välimaa 2023-06-11 18:29:35 CEST
I'd say it's more like a problem in Google side. synthesis.hdlist.cz doesn't get updated anymore.

$ wget https://dl.google.com/linux/chrome/rpm/stable/x86_64/media_info/synthesis.hdlist.cz

$ urpmq -Yf google --synthesis synthesis.hdlist.cz
google-chrome-beta-113.0.5672.53-1.x86_64
google-chrome-stable-112.0.5615.165-1.x86_64
google-chrome-unstable-114.0.5696.0-1.x86_64
Comment 2 Dave Hodgins 2023-06-11 20:29:12 CEST
Reported to google. https://bugs.chromium.org/p/chromium/issues/detail?id=1453948

CC: (none) => davidwhodgins

Lewis Smith 2023-06-11 21:03:03 CEST

Keywords: (none) => UPSTREAM

Comment 3 Jakob Kummerow 2023-06-16 19:55:10 CEST
This has been fixed upstream.

CC: (none) => jakob.kummerow

Comment 4 sturmvogel 2023-06-16 19:57:13 CEST
Confirmed. Closing fixed.

Resolution: (none) => FIXED
Status: NEW => RESOLVED