ansible-postgresql-sr-on-el6 icon indicating copy to clipboard operation
ansible-postgresql-sr-on-el6 copied to clipboard

apt cache update is required

Open deepakdeore2004 opened this issue 9 years ago • 0 comments

I got below error in "install postgresql package" on ubuntu 12.04, newer version of this package is available but apt cache has old version cached.

http://security.ubuntu.com/ubuntu/pool/main/p/postgresql-9.3/postgresql-client-9.3_9.3.10-0ubuntu0.14.04_amd64.deb 404 Not Found

I added apt cache update in tasks/install_deb.yml, i think you need to update same in your code and probably similar to yum cache update also if that is required.

- name : Update apt cache
  apt: update_cache=yes cache_valid_time=3600

deepakdeore2004 avatar Jun 20 '16 20:06 deepakdeore2004