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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.