The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

command `apt-get -y update` is failed in bitbuket pipeline

Bill
November 4, 2018

We run with below command in bitbucket pipeline for a while

```

apt-get -y update

```

 

But today, we got error

```

E: There were unauthenticated packages and -y was used without --allow-unauthenticated

```

 

Then we have to add option `--allow-unauthenticated` to get a successful update.

 

But this is not we expected. 

I did a test in `Ubuntu 16.04.4 LTS` with `apt-get -y update`. I don’t need to add option `--allow-unauthenticated`

 

So anything changed in Bitbucket cloud with pipeline? can we get some explanations for this issue from Atlassian/Bitbucket support team?

 

Because this issue, it impacted all our build jobs. We don't want to add `--allow-unauthenticated`  for each build job.

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Bill
November 7, 2018

it is weird. 

Didn't change anything, it works in the afternoon. 

0 votes
Steven Vaccarella
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 6, 2018

Hi Bill,

Which docker image are you using for your pipeline? I tried a few different images and it is working for me.

TAGS
AUG Leaders

Atlassian Community Events