Temporary Fix
- When getting ‘doesn’t support architecture’ warnings during apt update
1
$ cd /etc/apt/sources.list.d
- Now open the software repository file that gave the above warning
1
2
3
4
5
6
7
8
9
10
$ sudo vi google-chrome-unstable.list
$ # now remove all unsupported architectures
$ # if running on amd machine the source line will look like
deb [arch=amd64] http://....
$ # save and exit, rut apt update again
$ sudo apt update
When doing above if you see the line ‘### THIS FILE IS AUTOMATICALLY CONFIGURED ### ‘ then it means that this file is being updated via a cron job.
Permanent Fix
- Edit the cron job
1
2
3
4
5
6
7
$ sudo vi /etc/cron.daily/google-chrome-unstable
$ # now remove all unsupported architectures
$ # if running on 64bit the line will look like
REPOCONFIG="deb [arch=amd64] http://....