On Wed, Dec 21, 2011 at 5:37 PM, Walter Heck <walterh...@gmail.com> wrote: > Look into apt pinning, that is the way to pin specific packages to come from > a specific origin. It's done in /etc/apt/preferences, the deep inner > workings are a tad voodoo, but nothing too crazy :)
Thanks for the advice, Walter. There are a couple of options: 1) Pin all of squeeze-backports higher than squeeze. The drawback here is that more of squeeze-backports will get pulled in than just the dependencies of "request-tracker4". 2) Pin the dependent packages from s-b-p higher than squeeze. The drawback here is that I'll need to manually enter all of the dependencies of rt4 into the pinning stanzas. Ideally, I'd like to use the -t option for apt-get/aptitude - that provides the cleanest package install process. Thanks for jogging my memory about pinning though, it should suffice if there is not clean way to use the '-t' option with puppet. Any other advice is (equally) welcome. Thanks, -mz > On Thu, Dec 22, 2011 at 00:50, Matt Zagrabelny <mzagr...@d.umn.edu> wrote: >> >> Hi Puppet Users, >> >> I am trying to install a package (request-tracker4) from Debian >> backports onto a stable (squeeze) Debian system using puppet. I've >> googled around and didn't find anything concrete about the best way >> going about this. >> >> Does anyone have advice regarding this? >> >> The crux is that apt-get (or aptitude) currently is called like: >> >> /usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install >> request-tracker4 >> >> However to resolve dependencies contained within the backports repo, >> we need to add the '-t squeeze-backports' option: >> >> /usr/bin/apt-get -q -y -t squeeze-backports -o >> DPkg::Options::=--force-confold install request-tracker4 >> >> I was thinking of making a custom provider. Is that sane? >> >> Thanks for the hints! >> >> -matt zagrabelny >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to puppet-users@googlegroups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > > > > -- > Walter Heck > > -- > follow @walterheck on twitter to see what I'm up to! > -- > Check out my new startup: Server Monitoring as a Service @ > http://tribily.com > Follow @tribily on Twitter and/or 'Like' our Facebook page at > http://www.facebook.com/tribily > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.