For this command in the build step: sudo apt-get update && sudo apt-get install -y awscli
Started getting this error earlier today: E: Could not open file /var/lib/apt/lists/deb.debian.org_debian_dists_buster_main_binary-amd64_Packages.diff_Index - open (2: No such file or directory) Exited with code 100
This is with the circleci/php:7.2-cli-node-browsers image.
Not sure what’s going on. Anyone encounter anything similar and/or know how to fix?
I’m also experiencing the same issue. Rebuild with ssh and run the same commands and everything works. Also working fine from local CircleCI command line tool
Later last evening I was able to rebuild without cache and it worked for me. I forgot to specify in my previous comment, I too am using the circleci/php:7.2-cli-node-browsers image
I am having the same problem.
Although it is not a fundamental solution,
It was avoidable by running apt-get update || apt-get update (at least in my case)
I am having the same exact error using php:7-fpm-stretch. Strangely enough, this error only occurs on CircleCI and not in my local build environment. I’m not sure why it’s pulling from buster at all.
E: Could not open file /var/lib/apt/lists/deb.debian.org_debian_dists_buster_main_binary-amd64_Packages.diff_Index - open (2: No such file or directory)
through an orb circleci/gcp-cli@1.0.1
full output:
deb http://packages.cloud.google.com/apt cloud-sdk-stretch main
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1326 100 1326 0 0 24986 0 --:--:-- --:--:-- --:--:-- 25018
OK
Ign:1 http://deb.debian.org/debian stretch InRelease
Get:2 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:3 http://deb.debian.org/debian buster InRelease [158 kB]
Get:4 http://deb.debian.org/debian buster-updates InRelease [46.8 kB]
Get:5 http://deb.debian.org/debian stretch Release [118 kB]
Get:6 http://deb.debian.org/debian stretch Release.gpg [2434 B]
Get:7 http://deb.debian.org/debian stretch-updates/main amd64 Packages.diff/Index [7624 B]
Get:8 http://packages.cloud.google.com/apt cloud-sdk-stretch InRelease [6377 B]
Get:9 http://deb.debian.org/debian stretch-updates/main amd64 Packages 2019-02-21-2009.35.pdiff [4149 B]
Get:9 http://deb.debian.org/debian stretch-updates/main amd64 Packages 2019-02-21-2009.35.pdiff [4149 B]
Get:10 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Get:11 http://security.debian.org/debian-security buster/updates InRelease [38.3 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 Packages.diff/Index [27.9 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 Packages.diff/Index [27.9 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 Packages [7976 kB]
Get:14 http://deb.debian.org/debian stretch/main amd64 Packages [7084 kB]
0% [13 Packages store 0 B] [8 InRelease gpgv 6377 B] [14 Packages 14.9 kB/7084 Get:15 http://packages.cloud.google.com/apt cloud-sdk-stretch/main amd64 Packages [64.0 kB]
Get:16 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [474 kB]
97% [13 Packages store 0 B]97% [14 Packages store 0 B]97% [14 Packages store 0 B]Reading package lists... 0%
Reading package lists... 1%
Reading package lists... 69%
Reading package lists... Done
E: Could not open file /var/lib/apt/lists/deb.debian.org_debian_dists_buster_main_binary-amd64_Packages.diff_Index - open (2: No such file or directory)
Err:10 http://packages.cloud.google.com/apt cloud-sdk-/main amd64 Packages
404 Not Found
W: The repository 'http://packages.cloud.google.com/apt cloud-sdk- Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://packages.cloud.google.com/apt/dists/cloud-sdk-/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
If I ssh in the build I am able to do all steps of my job. It seems that some setting does not get carried between steps ? Is that possible?