<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic 404 Not Found [IP: 185.125.190.36 80] on trying to install google-chrome in databricks spark driver in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/404-not-found-ip-185-125-190-36-80-on-trying-to-install-google/m-p/11919#M6825</link>
    <description>&lt;P&gt;We are installing google-chrome-stable in databricks cluster using apt-get install. Which has been working fine for a long time, but since the past few days it has started to fail intermittently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is the code that we run.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%sh 
sudo curl -sS -o - &lt;A href="https://dl-ssl.google.com/linux/linux_signing_key.pub" target="test_blank"&gt;https://dl-ssl.google.com/linux/linux_signing_key.pub&lt;/A&gt; | apt-key add
 sudo echo "deb &lt;A href="https://dl.google.com/linux/chrome/deb/" target="test_blank"&gt;https://dl.google.com/linux/chrome/deb/&lt;/A&gt; stable main" &amp;gt;&amp;gt; /etc/apt/sources.list.d/google-chrome.list 
sudo apt-get -y update 
sudo apt-get -y --fix-missing install google-chrome-stable&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is the error we see.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;After this operation, 329 MB of additional disk space will be used.
Err:1 &lt;A href="http://archive.ubuntu.com/ubuntu" target="test_blank"&gt;http://archive.ubuntu.com/ubuntu&lt;/A&gt; focal-updates/main amd64 udev amd64 245.4-4ubuntu3.18
  404  Not Found [IP: 185.125.190.39 80]
Unable to correct missing packages.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:4
E: Failed to fetch &lt;A href="http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/udev_245.4-4ubuntu3.18_amd64.deb" target="test_blank"&gt;http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/udev_245.4-4ubuntu3.18_amd64.deb&lt;/A&gt;  404  Not Found [IP: 185.125.190.39 80]
E: Aborting install.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;was trying to reinstall the package if failure occured using the follow code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%sh
i=0
while true;
echo "inside while loop"
sudo add-apt-repository --remove ppa:vikoadi/ppa
sudo apt-get -y --fix-missing install google-chrome-stable
do
if [ $(google-chrome --version| grep -c "Google Chrome") -gt 0 ]; then
     echo "chrome installed"
     break;
  else
     echo "chrome not installed trying another attempt"
     echo "sleeping"
     sleep 10000
fi
i=$((i+1))
if [ i -gt 3]; then
  echo "max attempts tried"
  break;
fi
done&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the above logic did not work because - while loop breaks on installation failure.&lt;/P&gt;&lt;P&gt;Any help would be appreciated&lt;/P&gt;</description>
    <pubDate>Sun, 15 Jan 2023 06:51:34 GMT</pubDate>
    <dc:creator>sid_de</dc:creator>
    <dc:date>2023-01-15T06:51:34Z</dc:date>
    <item>
      <title>404 Not Found [IP: 185.125.190.36 80] on trying to install google-chrome in databricks spark driver</title>
      <link>https://community.databricks.com/t5/data-engineering/404-not-found-ip-185-125-190-36-80-on-trying-to-install-google/m-p/11919#M6825</link>
      <description>&lt;P&gt;We are installing google-chrome-stable in databricks cluster using apt-get install. Which has been working fine for a long time, but since the past few days it has started to fail intermittently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is the code that we run.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%sh 
sudo curl -sS -o - &lt;A href="https://dl-ssl.google.com/linux/linux_signing_key.pub" target="test_blank"&gt;https://dl-ssl.google.com/linux/linux_signing_key.pub&lt;/A&gt; | apt-key add
 sudo echo "deb &lt;A href="https://dl.google.com/linux/chrome/deb/" target="test_blank"&gt;https://dl.google.com/linux/chrome/deb/&lt;/A&gt; stable main" &amp;gt;&amp;gt; /etc/apt/sources.list.d/google-chrome.list 
sudo apt-get -y update 
sudo apt-get -y --fix-missing install google-chrome-stable&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is the error we see.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;After this operation, 329 MB of additional disk space will be used.
Err:1 &lt;A href="http://archive.ubuntu.com/ubuntu" target="test_blank"&gt;http://archive.ubuntu.com/ubuntu&lt;/A&gt; focal-updates/main amd64 udev amd64 245.4-4ubuntu3.18
  404  Not Found [IP: 185.125.190.39 80]
Unable to correct missing packages.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:4
E: Failed to fetch &lt;A href="http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/udev_245.4-4ubuntu3.18_amd64.deb" target="test_blank"&gt;http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/udev_245.4-4ubuntu3.18_amd64.deb&lt;/A&gt;  404  Not Found [IP: 185.125.190.39 80]
E: Aborting install.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;was trying to reinstall the package if failure occured using the follow code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%sh
i=0
while true;
echo "inside while loop"
sudo add-apt-repository --remove ppa:vikoadi/ppa
sudo apt-get -y --fix-missing install google-chrome-stable
do
if [ $(google-chrome --version| grep -c "Google Chrome") -gt 0 ]; then
     echo "chrome installed"
     break;
  else
     echo "chrome not installed trying another attempt"
     echo "sleeping"
     sleep 10000
fi
i=$((i+1))
if [ i -gt 3]; then
  echo "max attempts tried"
  break;
fi
done&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the above logic did not work because - while loop breaks on installation failure.&lt;/P&gt;&lt;P&gt;Any help would be appreciated&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2023 06:51:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/404-not-found-ip-185-125-190-36-80-on-trying-to-install-google/m-p/11919#M6825</guid>
      <dc:creator>sid_de</dc:creator>
      <dc:date>2023-01-15T06:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: 404 Not Found [IP: 185.125.190.36 80] on trying to install google-chrome in databricks spark driver</title>
      <link>https://community.databricks.com/t5/data-engineering/404-not-found-ip-185-125-190-36-80-on-trying-to-install-google/m-p/11920#M6826</link>
      <description>&lt;P&gt;If you want to set up Selenium please take a look at my article &lt;A href="https://community.databricks.com/s/feed/0D58Y00009SWgVuSAL" target="test_blank"&gt;https://community.databricks.com/s/feed/0D58Y00009SWgVuSAL&lt;/A&gt; but as things again changed please look also at Gray post &lt;A href="https://community.databricks.com/s/question/0D58Y00009PlBaaSAF/errors-using-seleniumchromedriver-in-databricks" alt="https://community.databricks.com/s/question/0D58Y00009PlBaaSAF/errors-using-seleniumchromedriver-in-databricks" target="_blank"&gt;https://community.databricks.com/s/question/0D58Y00009PlBaaSAF/errors-using-seleniumchromedriver-in-databricks&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2023 14:18:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/404-not-found-ip-185-125-190-36-80-on-trying-to-install-google/m-p/11920#M6826</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2023-01-15T14:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: 404 Not Found [IP: 185.125.190.36 80] on trying to install google-chrome in databricks spark driver</title>
      <link>https://community.databricks.com/t5/data-engineering/404-not-found-ip-185-125-190-36-80-on-trying-to-install-google/m-p/11922#M6828</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue was still persistent. We are trying to solve this by using docker image with preinstalled Selenium driver and chrome browser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dharmin&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 10:27:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/404-not-found-ip-185-125-190-36-80-on-trying-to-install-google/m-p/11922#M6828</guid>
      <dc:creator>sid_de</dc:creator>
      <dc:date>2023-01-24T10:27:36Z</dc:date>
    </item>
  </channel>
</rss>

