Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Installing Software on Private Debian Virtual Machines

I have a GCP artifactory registry repository of APT format & A private VM I have configured a Private VM to access Artifact Registry packages using the following command: echo 'deb ar+https://asia-south1-apt.pkg.dev/projects/sample-project quickstart-apt-repo main' | sudo tee -a /etc/apt/sources.list.d/artifact-registry.list, Using Cloud shell I downloaded Chrome for Linux (google-chrome-stable_current_amd64.deb) and uploaded it to the repository , I was successfully able to download the file in a private VM from Repo but when I tried to install it I was getting this kind of below errors

 

vinay_datta_2-1707976778496.png

vinay_datta_3-1707976800791.png

 if found that it required internet connection to install the required dependencies

Is there a way to install software with all dependencies? Please provide a solution that can be help full for any other software installation as well

 

 I have tried with apt-offline as mentioned in this link (https://askubuntu.com/questions/1444211/installing-apps-on-offline-ubuntu-pcs?noredirect=1&lq=1) but my repo does not support any other formats since it was in APT format

2 2 501
2 REPLIES 2

Hello @vinay_datta,

Welcome to Google Cloud Community!

These resources might be helpful for you. If you have any questions don't hesitate to post back here.

How to install software or packages offline

Best method to install packages offline

Thanks!

I cant find any possible solution from the references you have provided, i am using gcp Artifact Registry as storage for software