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

1

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)

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay