Public bug reported:

SUMMARY

When upgrading from 22.04 to 24.04, the apt sources file google-
chrome.list was converted to google-chrome.sources according to the new
DEB format.

However, the conversion left out the line "Architectures:amd64", which
caused problems with "apt update".

There is the possibility that this could affect other conversions,
depending on the user's setup.

DETAILS

The original google-chrome.list before the upgrade looked like this
(excluding comments):

deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main

The new google-chrome.sources after the upgrade looked like this:

Enabled: no
Types: deb
URIs: https://dl.google.com/linux/chrome/deb/
Suites: stable
Components: main
Signed-By:
[PGP block removed for brevity]

I changed "Enabled: no" to "Enabled: yes". Then, "apt update" gave the
following error:

N: Skipping acquisition of configured file 'main/binary-i386/Packages',
as repository https://dl.google.com/linux/chrome/deb/ stable InRelease'
doesn't support architecture 'i386'

Adding "Architectures: amd64" to the file solved this problem.

This should have been done by default.

MORE INFORMATION

This was discussed on Ubuntu Discourse:

https://discourse.ubuntu.com/t/60527

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: ubuntu-release-upgrader-core 1:24.04.26
ProcVersionSignature: Ubuntu 6.8.0-59.61-generic 6.8.12
Uname: Linux 6.8.0-59-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.5
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CrashReports:
 644:1000:124:0:2025-05-05 16:05:54.256510195 +0100:2025-05-05 
16:05:54.256510195 +0100:/var/crash/_usr_bin_gedit.1000.upload
 600:117:124:37:2025-05-05 16:05:56.208549772 +0100:2025-05-05 
16:05:56.207549752 +0100:/var/crash/_usr_bin_gedit.1000.uploaded
 640:1000:124:9381235:2025-05-05 16:05:54.255510174 +0100:2025-05-05 
16:05:54.838521992 +0100:/var/crash/_usr_bin_gedit.1000.crash
CurrentDesktop: ubuntu:GNOME
Date: Tue May  6 11:11:41 2025
InstallationDate: Installed on 2023-03-30 (768 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 
(20230223)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to noble on 2025-05-05 (1 days ago)
VarLogDistupgradeTermlog:

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade noble

** Attachment added: "/var/log/dist-upgrade/"
   
https://bugs.launchpad.net/bugs/2110032/+attachment/5876074/+files/var-log-dist-upgrade.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2110032

Title:
  Upgrade from 22.04 to 24.04 didn't correctly update .list to .sources
  for Google Chrome

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2110032/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to