Google Chrome repository defaults to 32-bit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bio-Linux |
New
|
Undecided
|
Unassigned |
Bug Description
The i386 version of the Google Chrome directory is searched for by default causing errors when updating the APT database:
apt update
Ign http://
Ign http://
Ign http://
...
Hit http://
Hit http://
Hit http://
Fetched 4,357 kB in 8s (538 kB/s)
W: Failed to fetch http://
i386/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
The "google-
/etc/
This script reads "/etc/default/" and updates the APT list once on installation or upgrade, but the package can never be upgraded if the entry is incorrect. The work-around is to 'fake' an upgrade:
--- ./.old/
+++ google-chrome 2016-04-08 11:23:43.857313469 +0100
@@ -1,2 +1,2 @@
-repo_
+repo_
repo_
Then, run the update script:
/etc/
This will correct the APT sources list:
diff -Naur google-
--- google-
+++ google-chrome.list 2016-04-08 11:11:01.409333455 +0100
@@ -1,3 +1,3 @@
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
-deb http://
+deb [arch=amd64] http://
[The APT sources list could just be edited by hand at present, but Google may change the URL in future]
HTH,
Tony.