Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Pipeline failed on apt-get update / debian-git


This is my bitbucket-pipeline.yml, which has worked for years:

image: samueldebruyn/debian-git

- step:
name: deploy to prod site
deployment: production
- apt-get update
- apt-get -qq install git-ftp
- git ftp push --user $FTP_LIVE_USERNAME --passwd $FTP_LIVE_PASSWORD $FTP_LIVE

And now I get this error on build:

+ apt-get update
Ign:1 stable/updates InRelease
Get:2 stable InRelease [113 kB]
Err:3 stable/updates Release
404 Not Found [IP: 80]
Get:4 stable-updates InRelease [36.8 kB]
Get:5 stable/main amd64 Packages [8178 kB]
Reading package lists...
E: The repository ' stable/updates Release' does not have a Release file.

I understand that this issue is related not to bitbucket, and the problem is exactly with missing Debian image, but still, any ideas on how this can be fixed?

2 answers

1 accepted

1 vote
Answer accepted

It seems the issue is with the outdated Docker image in samueldebruyn/debian-git. 

I have managed to get my pipelines working using the updated Docker image from bitnami. 


Simply replace the image to the following on your bitbucket-pipelines.yml


image: bitnami/git
Like inerds likes this
1 vote

Hi @artgana,

We've had reports from other customers using the same Docker image (samueldebruyn/debian-git), the issue seems to be with this Docker image since Debian 11 was released.

It has been raised with the maintainer of this image here:

which has a link to this stack overflow discussion:

Until the issue is fixed in samueldebruyn/debian-git, you can either use a different Docker image in your bitbucket-pipeline.yml file or create your own custom Docker image and use that instead.

Kind regards,

thanks Theodora for explanation, changing image to 

image: bitnami/git

 helped me!

Like Theodora Boudale likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,159 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you