Installing Varnis on Debian 7

Guillaume Quintard guillaume at varnish-software.com
Tue Dec 29 11:37:24 CET 2015


Paul is onto something here (I'm on arch, but I still have some vague
debian memories). You should be able to:

apt-get build-dep varnish
apt-get source varnish
cd varnish
dpkg-buildpackage

Or something similar.

-- 
Guillaume Quintard

On Tue, Dec 29, 2015 at 11:12 AM, Paul A. Procacci <pprocacci at datapipe.com>
wrote:

> On Tue, Dec 29, 2015 at 11:59:20AM +0530, Debraj Manna wrote:
> >    Hi,
> >    I am trying to install Varnish 4 on Debian 7 as mentioned in this
> >    [1]link.
> >    But on doing apt-get install varnish. I am getting the below error.
> >    root at SPK-D-0476:/home/debraj# apt-get install varnish
> >    Reading package lists... Done
> >    Building dependency tree
> >    Reading state information... Done
> >    Some packages could not be installed. This may mean that you have
> >    requested an impossible situation or if you are using the unstable
> >    distribution that some required packages have not yet been created
> >    or been moved out of Incoming.
> >    The following information may help to resolve the situation:
> >    The following packages have unmet dependencies:
> >     varnish : Depends: libc6 (>= 2.14) but 2.13-38+deb7u8 is to be
> >    installed
> >               Depends: libpcre3 (>= 1:8.35) but 1:8.30-5 is to be
> >    installed
> >               Depends: libvarnishapi1 (>= 4.1.0-1~jessie) but it is not
> >    going to be installed
> >    E: Unable to correct problems, you have held broken packages.
> >    I also tried aptitude but it is showing me the option to install
> >    varnish 3 but not varnish 4
> >    root at SPK-D-0476:/home/debraj# aptitude install varnish
> >    The following NEW packages will be installed:
> >      varnish{b}
> >    0 packages upgraded, 1 newly installed, 0 to remove and 40 not
> >    upgraded.
> >    Need to get 527 kB of archives. After unpacking 1,636 kB will be used.
> >    The following packages have unmet dependencies:
> >     varnish : Depends: libc6 (>= 2.14) but 2.13-38+deb7u8 is installed.
> >               Depends: libjemalloc1 (>= 2.1.1) but it is not going to be
> >    installed.
> >               Depends: libpcre3 (>= 1:8.35) but 1:8.30-5 is installed.
> >               Depends: libvarnishapi1 (>= 4.1.0-1~jessie) but it is not
> >    going to be installed.
> >    The following actions will resolve these dependencies:
> >         Keep the following packages at their current version:
> >    1)     varnish [Not Installed]
> >    Accept this solution? [Y/n/q/?] n
> >    The following actions will resolve these dependencies:
> >         Install the following packages:
> >    1)     libvarnishapi1 [3.0.2-2+deb7u1 (oldstable)]
> >    2)     varnish [3.0.2-2+deb7u1 (oldstable)]
> >    Accept this solution? [Y/n/q/?]
> >    Can some one let me know how can I install varnish 4 on Debian 7?
> >    Thanks,
> >
>
> Not sure about Debian, I'm a FreeBSD user myself, but when all else fails
> you
> can download the source and build your own rpm against the libs installed
> on
> your own system.
>
> ~Paul
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20151229/da6e26f0/attachment.html>


More information about the varnish-misc mailing list