Tests are failing - Failing command: sudo apt install postgresql-client

circle.yml

#1

Hello everyone, hopefully someone has some insight…

everything was working correctly but now CI tests are failing, here is the log:

The following extra packages will be installed:
  lsb-release postgresql-client-9.4 postgresql-client-common
Suggested packages:
  lsb postgresql-9.4 postgresql-doc-9.4
The following NEW packages will be installed:
  lsb-release postgresql-client postgresql-client-9.4 postgresql-client-common
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1239 kB of archives.
After this operation, 4854 kB of additional disk space will be used.
Err http://security.debian.org/ jessie/updates/main postgresql-client-9.4 amd64 9.4.13-0+deb8u1
  404  Not Found [IP: 128.101.240.215 80]
Get:1 http://deb.debian.org/debian/ jessie/main lsb-release all 4.1+Debian13+nmu1 [26.5 kB]
Get:2 http://deb.debian.org/debian/ jessie/main postgresql-client-common all 165+deb8u2 [73.7 kB]
Get:3 http://deb.debian.org/debian/ jessie/main postgresql-client all 9.4+165+deb8u2 [52.2 kB]
Fetched 152 kB in 0s (425 kB/s)
E: Failed to fetch http://security.debian.org/pool/updates/main/p/postgresql-9.4/postgresql-client-9.4_9.4.13-0+deb8u1_amd64.deb  404  Not Found [IP: 128.101.240.215 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Exited with code 100

So now, rebuilding successful tests get the same error…

any ideas?


#2

I have the same problem, build failing when running apt-get install -y postgresql-client. Any solutions to this?


#3

Well, something in my config file was causing the problem. I deleted it and it is working. I’m troubleshooting the file but dont know exactly what it is at the moment.


#4