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.
it is weird.
Didn't change anything, it works in the afternoon.
Hi Bill,
Which docker image are you using for your pipeline? I tried a few different images and it is working for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.