Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E: The repository 'https://apt.kubernetes.io kubernetes-xenial Release' does not have a Release file. #336

Closed
Kunalkatdare opened this issue Mar 20, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Kunalkatdare
Copy link

Kunalkatdare commented Mar 20, 2024

config.yml

version: 2.1
orbs:
  aws-cli: circleci/aws-cli@4.0
  aws-ecr: circleci/aws-ecr@9.0
jobs:
  build:
    docker:
      - image: cimg/node:lts
    working_directory: ~/repo
    steps:
      - checkout
      # Install dependencies
      - run:
          name: Install dependencies
          command: npm install
      # Run unit tests and allow 80% success
      - run:
          name: Run unit tests
          command: npm test || exit 0
  ecr-push:
    environment:
      AWS_ACCOUNT_ID: "xxxxxxxxxx"
    docker:
      - image: cimg/aws:2023.06
    steps:
      # - aws-cli/setup:
      #     role_arn: "arn:aws:iam::682010357027:role/circleci-oidc"
      - aws-ecr/build_and_push_image:
          account_id: ${AWS_ACCOUNT_ID}
          auth:
            - aws-cli/setup:
                role_arn: arn:aws:iam::xxxxxxxxxx:role/circleci-oidc
          create_repo: true
          repo: myECRRepository
workflows: 
  version: 2
  build_and_push:
    jobs:
      - build
      - ecr-push:
          requires:
            - build
@Kunalkatdare Kunalkatdare added the bug Something isn't working label Mar 20, 2024
@Kunalkatdare
Copy link
Author

getting this error

Reading package lists... Done                               
W: https://download.docker.com/linux/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: The repository 'https://apt.kubernetes.io kubernetes-xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

@kjw1
Copy link

kjw1 commented Apr 23, 2024

9.0.4 gave this error for me, but 9.0.0 did not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants