DEV Community

Cover image for Failed to fetch error while trying to pull/install a debian image!
Yuvarajan Johnpaul
Yuvarajan Johnpaul

Posted on • Edited on

Failed to fetch error while trying to pull/install a debian image!

If you see failed to fetch error messages followed by an HTTP error 403 Forbidden, it could be related with the requirement to pull the data via a secure channel.

Try the below steps.

  1. apt install apt-transport-https
  2. apt install 'the actual package you wanted to install'

This should resolve the problem.

If the problem persists, kindly edit the corresponding remote source's protocol value from HTTP to https under /etc/apt/sources.list

Top comments (0)