Everything run normally until today when i get the following error when attempting to run apt-get update
I googled it in 2 hours but could not find anything.
My config file:
`
version: 2
jobs:
build:
working_directory: ~/bee-cloud
docker:
- image: circleci/ruby:2.4.1-node-browsers
environment:
RAILS_ENV: test
MYSQL_HOST: 127.0.0.1
TZ: "/usr/share/zoneinfo/Asia/Tokyo"
TEST_ENV_NUMBER: 8
- image: circleci/mysql
command: mysqld --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_ROOT_PASSWORD: ''
- image: circleci/redis
command: redis-server --appendonly yes
parallelism: 1
branches:
only:
- /ci\/.*/
- /feature\/.*/
- /fix\/.*/
- /hotfix\/.*/
- /^v./
steps:
- checkout
- restore_cache:
keys:
- bootsnap-cache-{{ .Branch }}-{{ .Revision }}
- bootsnap-cache-{{ .Branch }}
- bootsnap-cache
- save_cache:
key: bootsnap-cache-{{ .Branch }}-{{ .Revision }}
paths:
- tmp/cache/bootsnap-load-path-cache
- tmp/cache/bootsnap-compile-cache
- save_cache:
key: bootsnap-cache-{{ .Branch }}
paths:
- tmp/cache/bootsnap-load-path-cache
- tmp/cache/bootsnap-compile-cache
- save_cache:
key: bootsnap-cache
paths:
- tmp/cache/bootsnap-load-path-cache
- tmp/cache/bootsnap-compile-cache
- restore_cache:
keys:
- bee-cloud-dependencies-{{ checksum "Gemfile.lock" }}
- bee-cloud-dependencies-
- run:
name: install dependencies [System, Library]
command: |
sudo apt-get update
sudo apt-get remove libcups2
sudo apt-get install libcups2=1.7.5-11+deb8u4 libcupsimage2 libgs9 ghostscript
- run:
name: install dependencies [Rails]
command: bundle install --jobs=4 --retry=3 --path vendor/bundle
- save_cache:
paths:
- ./vendor/bundle
key: bee-cloud-dependencies-{{ checksum "Gemfile.lock" }}
- run:
name: Waiting for MySQL to be ready
command: dockerize -wait tcp://127.0.0.1:3306 -timeout 1m
# Database setup
- run:
name: Database setup
command: |
cp config/database.yml.sample config/database.yml
RAILS_ENV=test bundle exec rake parallel:create[$TEST_ENV_NUMBER]
RAILS_ENV=test bundle exec rake db:migrate
RAILS_ENV=test ALLOW_REMOVE_COLUMN=1 ALLOW_DROP_TABLE=1 bin/rails ridge:apply
RAILS_ENV=test bundle exe rake parallel:load_schema[$TEST_ENV_NUMBER]
- run:
name: Run rspec in parallel
command: |
bundle exec parallel_rspec -n $TEST_ENV_NUMBER spec/services`
And the error