<div dir="ltr">Paul is onto something here (I'm on arch, but I still have some vague debian memories). You should be able to:<div><br><div><div>apt-get build-dep varnish</div><div>apt-get source varnish</div><div>cd varnish</div><div>dpkg-buildpackage</div><div><br></div></div></div><div>Or something similar.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>-- <br></div>Guillaume Quintard<br></div></div></div>
<br><div class="gmail_quote">On Tue, Dec 29, 2015 at 11:12 AM, Paul A. Procacci <span dir="ltr"><<a href="mailto:pprocacci@datapipe.com" target="_blank">pprocacci@datapipe.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Dec 29, 2015 at 11:59:20AM +0530, Debraj Manna wrote:<br>
> Hi,<br>
> I am trying to install Varnish 4 on Debian 7 as mentioned in this<br>
</span>> [1]link.<br>
<div><div class="h5">> But on doing apt-get install varnish. I am getting the below error.<br>
> root@SPK-D-0476:/home/debraj# apt-get install varnish<br>
> Reading package lists... Done<br>
> Building dependency tree<br>
> Reading state information... Done<br>
> Some packages could not be installed. This may mean that you have<br>
> requested an impossible situation or if you are using the unstable<br>
> distribution that some required packages have not yet been created<br>
> or been moved out of Incoming.<br>
> The following information may help to resolve the situation:<br>
> The following packages have unmet dependencies:<br>
> varnish : Depends: libc6 (>= 2.14) but 2.13-38+deb7u8 is to be<br>
> installed<br>
> Depends: libpcre3 (>= 1:8.35) but 1:8.30-5 is to be<br>
> installed<br>
> Depends: libvarnishapi1 (>= 4.1.0-1~jessie) but it is not<br>
> going to be installed<br>
> E: Unable to correct problems, you have held broken packages.<br>
> I also tried aptitude but it is showing me the option to install<br>
> varnish 3 but not varnish 4<br>
> root@SPK-D-0476:/home/debraj# aptitude install varnish<br>
> The following NEW packages will be installed:<br>
> varnish{b}<br>
> 0 packages upgraded, 1 newly installed, 0 to remove and 40 not<br>
> upgraded.<br>
> Need to get 527 kB of archives. After unpacking 1,636 kB will be used.<br>
> The following packages have unmet dependencies:<br>
> varnish : Depends: libc6 (>= 2.14) but 2.13-38+deb7u8 is installed.<br>
> Depends: libjemalloc1 (>= 2.1.1) but it is not going to be<br>
> installed.<br>
> Depends: libpcre3 (>= 1:8.35) but 1:8.30-5 is installed.<br>
> Depends: libvarnishapi1 (>= 4.1.0-1~jessie) but it is not<br>
> going to be installed.<br>
> The following actions will resolve these dependencies:<br>
> Keep the following packages at their current version:<br>
> 1) varnish [Not Installed]<br>
> Accept this solution? [Y/n/q/?] n<br>
> The following actions will resolve these dependencies:<br>
> Install the following packages:<br>
> 1) libvarnishapi1 [3.0.2-2+deb7u1 (oldstable)]<br>
> 2) varnish [3.0.2-2+deb7u1 (oldstable)]<br>
> Accept this solution? [Y/n/q/?]<br>
> Can some one let me know how can I install varnish 4 on Debian 7?<br>
> Thanks,<br>
><br>
<br>
</div></div>Not sure about Debian, I'm a FreeBSD user myself, but when all else fails you<br>
can download the source and build your own rpm against the libs installed on<br>
your own system.<br>
<br>
~Paul<br>
<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" rel="noreferrer" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
</blockquote></div><br></div>