Installing Varnis on Debian 7

Debraj Manna subharaj.manna at gmail.com
Tue Dec 29 07:29:20 CET 2015


Hi,

I am trying to install Varnish 4 on Debian 7 as mentioned in this link
<https://www.varnish-cache.org/installation/debian>.

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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20151229/86eb8fd7/attachment.html>


More information about the varnish-misc mailing list