Comment 2 for bug 1509242

Revision history for this message
guillaume thouvenin (guillaume-thouvenin) wrote :

I looked in the logs and I see that the problem is due to a version of tzdata that has been updated recently. In our plugin we embed a version of tzdata that is too old and when puppet tries to install elasticsearch that depends on java it tries a downgrade that fails. Here are the corresponding log:

2015-10-22 18:14:27 +0000 Puppet (err): Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install openjdk-7-jre-headless' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  ca-certificates-java fontconfig-config fonts-dejavu-core java-common
  libasyncns0 libavahi-client3 libavahi-common-data libavahi-common3 libcups2
  libflac8 libfontconfig1 libjpeg-turbo8 libjpeg8 liblcms2-2 libnspr4 libnss3
  libnss3-nssdb libogg0 libpcsclite1 libpulse0 libsndfile1 libvorbis0a
  libvorbisenc2 tzdata tzdata-java
Suggested packages:
  default-jre equivs cups-common liblcms2-utils pcscd pulseaudio
  icedtea-7-jre-jamvm libnss-mdns sun-java6-fonts fonts-dejavu-extra
  fonts-ipafont-gothic fonts-ipafont-mincho ttf-wqy-microhei ttf-wqy-zenhei
  ttf-indic-fonts-core ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts
  ttf-bengali-fonts
The following NEW packages will be installed:
  ca-certificates-java fontconfig-config fonts-dejavu-core java-common
  libasyncns0 libavahi-client3 libavahi-common-data libavahi-common3 libcups2
  libflac8 libfontconfig1 libjpeg-turbo8 libjpeg8 liblcms2-2 libnspr4 libnss3
  libnss3-nssdb libogg0 libpcsclite1 libpulse0 libsndfile1 libvorbis0a
  libvorbisenc2 openjdk-7-jre-headless tzdata-java
The following packages will be DOWNGRADED:
  tzdata
0 upgraded, 25 newly installed, 1 downgraded, 0 to remove and 1 not upgraded.
Need to get 43.5 MB of archives.
After this operation, 73.4 MB of additional disk space will be used.
E: There are problems and -y was used without --force-yes