Question

Cannot Get Google Chrome (google-chrome-stable_current_amd64.deb) to download on VM

I’m trying to use selenium and python on my VM and cannot get google-chrome-stable_current_amd64.deb to install despite trying every potential “solution” I’ve find online.

(Reading database ... 117712 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (112.0.5615.49-1) ...
dpkg-deb: error: <decompress> subprocess was killed by signal (Killed)
dpkg: error processing archive google-chrome-stable_current_amd64.deb (--install):
 cannot copy extracted data for './opt/google/chrome/libGLESv2.so' to '/opt/google/chrome/libGLESv2.so.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
 google-chrome-stable_current_amd64.deb

Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

KFSys
Site Moderator
Site Moderator badge
April 10, 2023

Hey @loganthomas,

It seems like the installation of the google-chrome-stable_current_amd64.deb package is failing due to an unexpected error. There are a few possibilities when experiencing this issue, the file you’ve downloaded could be corrupt or not full, try downloading the package again.

Another way would to go about the problem would be to use a different installation method: Instead of using dpkg to install the package, you can try using the apt package manager to install Google Chrome. Here are the steps to do so:

sudo apt update
sudo apt install gdebi
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo gdebi google-chrome-stable_current_amd64.deb

Or, you can check your dependencies. It is possible that the installation is failing due to missing dependencies. You can try installing the required dependencies using the following command:

sudo apt-get -f install

This command will install any missing dependencies and fix any broken packages on your system.

alexdo
Site Moderator
Site Moderator badge
April 8, 2023

Hello @loganthomas

The downloaded file is probably corrupt/incomplete. You can download the file again and try to install it.

You can also attempt the get the file from another source as the one you’re using might not be usable after all.

  1. sudo dpkg -i PACKAGE_NAME.deb

Hope that this helps!

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up