Installing Varnis on Debian 7
Paul A. Procacci
pprocacci at datapipe.com
Tue Dec 29 11:12:56 CET 2015
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
More information about the varnish-misc
mailing list