<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>