I am running Debian 13 (Trixie) and recently modernized my apt sources to the new deb822 format (.sources files). My system has the i386 architecture enabled (for, e.g., Wine), apt update throws the following informational warning for the Google Chrome repository:
Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://dl.google.com/linux/chrome-stable/deb stable InRelease' doesn't support architecture 'i386'
I fixed this by adding Architectures: amd64 to /etc/apt/sources.list.d/google-chrome.sources. However, every time the Google Chrome repository is updated, its post-install script brutally overwrites my .sources file, removing the Architectures: amd64 line and causing the warning to return.
I have tried modifying /etc/default/google-chrome and changed repo_add_once="false" to repo_add_once="true" but the Chrome update script completely ignores this. During the apt update, it actually overwrites /etc/default/google-chrome back to its default state (false) and regenerates the .sources file anyway.
Is there a clean, native way to permanently disable the Google Chrome post-install script from touching the /etc/apt/sources.list.d/ directory and /etc/default/google-chrome upon every package upgrade?