In your situation, I'd file a bug with puppetlabs about this, at least because 
this makes puppetdb not trivially installable in squeeze. From the control 
files for the last two puppetdb packages:

Package: puppetdb
Version: 2.0.0-1puppetlabs1
Architecture: all
Maintainer: Puppet Labs <[email protected]>
Installed-Size: 24176
Depends: java7-runtime-headless | j2re1.7, adduser, puppet (>= 2.7.12)

Package: puppetdb
Version: 1.6.3-1puppetlabs1
Architecture: all
Maintainer: Puppet Labs <[email protected]>
Installed-Size: 23732
Depends: java7-runtime-headless | j2re1.7 | java6-runtime-headless, adduser, 
puppet (>= 2.7.12)

That said, openjdk-7-jre-headless exists in wheezy (provided by 
openjdk-7-jre-headless) and you'll probably do less work if you build your 
hosts in wheezy. I personally would go for the less-work version.

Apart from that, you could try one of these:

create and install a stub java7-runtime-headless deb just to get it in the 
installed packages list
use apt pinning to install an earlier puppetdb (but 
http://docs.puppetlabs.com/puppetdb/latest/puppetdb-faq.html#which-versions-of-java-are-supported
 if you have issues later)
import openjdk-7-jre-headless and dependencies from wheezy to your squeeze repo 
and see if it installs/functions cleanly
repackage puppetdb without that dependency (now I'm getting ridiculous)

On Tue, May 20, 2014 at 03:50:51PM -0400, Peter Berghold wrote:
>    The following information may help to resolve the situation:
>    The following packages have unmet dependencies:
>     puppetdb : Depends: java7-runtime-headless but it is not installable or
>                         j2re1.7 but it is not installable
>    E: Broken packages
> 
>    On Tue, May 20, 2014 at 3:41 PM, Christopher Wood
>    <[1][email protected]> wrote:
> 
>      What's the error message?
>      On Tue, May 20, 2014 at 03:22:24PM -0400, Peter Berghold wrote:
>      >    Hi folks,
>      >    Attempting to install puppetdb on Debian 6 and have run into a bit
>      of a
>      >    roadblock.
>      >    It's complaining that java7 is not on the system and yet:
>      >    :/usr/lib/jvm# java -version
>      >    java version "1.7.0_51"
>      >    Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
>      >    Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
>      >    I suppose it is looking for a packaged called j2re1.7
>      >    or java7-runtime-headless.  Any way of faking this out so it works
>      with
>      >    the Oracle version?
>      >    --
>      >
>      >    Peter L. Berghold                      
>      [1][2][email protected]
>      >
>      >    [2][3]http://blog.berghold.net
>      >
>      >    --
>      >    You received this message because you are subscribed to the Google
>      Groups
>      >    "Puppet Users" group.
>      >    To unsubscribe from this group and stop receiving emails from it,
>      send an
>      >    email to [3][4][email protected].
>      >    To view this discussion on the web visit
>      >  
>       
> [4][5]https://groups.google.com/d/msgid/puppet-users/CAArvnv07%3DfCFnUfJ1LAZUjpHbVYXYx_0PQSCJZgqOpGg1pLM1A%40mail.gmail.com.
>      >    For more options, visit [5][6]https://groups.google.com/d/optout.
>      >
>      > References
>      >
>      >    Visible links
>      >    1. mailto:[7][email protected]
>      >    2. [8]http://blog.berghold.net/
>      >    3. mailto:[9][email protected]
>      >    4.
>      
> [10]https://groups.google.com/d/msgid/puppet-users/CAArvnv07%3DfCFnUfJ1LAZUjpHbVYXYx_0PQSCJZgqOpGg1pLM1A%40mail.gmail.com?utm_medium=email&utm_source=footer
>      >    5. [11]https://groups.google.com/d/optout
>      --
>      You received this message because you are subscribed to the Google
>      Groups "Puppet Users" group.
>      To unsubscribe from this group and stop receiving emails from it, send
>      an email to [12][email protected].
>      To view this discussion on the web visit
>      
> [13]https://groups.google.com/d/msgid/puppet-users/20140520194150.GA9787%40iniquitous.heresiarch.ca.
>      For more options, visit [14]https://groups.google.com/d/optout.
> 
>    --
> 
>    Peter L. Berghold                       [15][email protected]
> 
>    [16]http://blog.berghold.net
> 
>    --
>    You received this message because you are subscribed to the Google Groups
>    "Puppet Users" group.
>    To unsubscribe from this group and stop receiving emails from it, send an
>    email to [17][email protected].
>    To view this discussion on the web visit
>    
> [18]https://groups.google.com/d/msgid/puppet-users/CAArvnv33Ydf%2Bt3EFdyXg-398qTcH-j3_TfdKjY2Sy1HMZVPctQ%40mail.gmail.com.
>    For more options, visit [19]https://groups.google.com/d/optout.
> 
> References
> 
>    Visible links
>    1. mailto:[email protected]
>    2. mailto:[email protected]
>    3. http://blog.berghold.net/
>    4. mailto:puppet-users%[email protected]
>    5. 
> https://groups.google.com/d/msgid/puppet-users/CAArvnv07%3DfCFnUfJ1LAZUjpHbVYXYx_0PQSCJZgqOpGg1pLM1A%40mail.gmail.com
>    6. https://groups.google.com/d/optout
>    7. mailto:[email protected]
>    8. http://blog.berghold.net/
>    9. mailto:puppet-users%[email protected]
>   10. 
> https://groups.google.com/d/msgid/puppet-users/CAArvnv07%3DfCFnUfJ1LAZUjpHbVYXYx_0PQSCJZgqOpGg1pLM1A%40mail.gmail.com?utm_medium=email&utm_source=footer
>   11. https://groups.google.com/d/optout
>   12. mailto:puppet-users%[email protected]
>   13. 
> https://groups.google.com/d/msgid/puppet-users/20140520194150.GA9787%40iniquitous.heresiarch.ca
>   14. https://groups.google.com/d/optout
>   15. mailto:[email protected]
>   16. http://blog.berghold.net/
>   17. mailto:[email protected]
>   18. 
> https://groups.google.com/d/msgid/puppet-users/CAArvnv33Ydf%2Bt3EFdyXg-398qTcH-j3_TfdKjY2Sy1HMZVPctQ%40mail.gmail.com?utm_medium=email&utm_source=footer
>   19. https://groups.google.com/d/optout

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/20140520203351.GB9929%40iniquitous.heresiarch.ca.
For more options, visit https://groups.google.com/d/optout.

Reply via email to