You are here
Michael Curtis - Thu, 2015/07/30 - 20:15
Hi,
I have am running Debian v7 and Apache 2.2.22. I need to get this upgraded to the latest version 2.2, but when I do apt-get update && apt-get dist-upgrade all I see is PHP updates. Why doesn't Apache show up and how do I upgrade 2.2.31 which I believe is the latest version.
Any help would be most appreciated.
Best wishes
Michael
Forum:
Sounds like you have the latest!
FWIW the next version of TurnKey (v14.0 - based on Jessie - aka Debian 8) has Apache 2.4.10-10...
Hi Jeremy, Thanks for the
Hi Jeremy,
Thanks for the feedback. I did a
apt-cache showpkg apache2
Part of the output showed me this. Does it mean it is already running u5?
Dependencies:
2.2.22-13+deb7u5 - apache2-mpm-worker (21 2.2.22-13+deb7u5) apache2-mpm-prefork (21 2.2.22-13+deb7u5) apache2-mpm-event (21 2.2.22-13+deb7u5) apache2-mpm-itk (5 2.2.22-13+deb7u5) apache2.2-common (5 2.2.22-13+deb7u5)
2.2.22-13+deb7u4 - apache2-mpm-worker (21 2.2.22-13+deb7u4) apache2-mpm-prefork (21 2.2.22-13+deb7u4) apache2-mpm-event (21 2.2.22-13+deb7u4) apache2-mpm-itk (5 2.2.22-13+deb7u4) apache2.2-common (5 2.2.22-13+deb7u4)
Provides:
2.2.22-13+deb7u5 -
2.2.22-13+deb7u4 -
Best wishes
Michael
I recommend 'apt-cache policy'
So on my Wheezy desktop system this is what I get:
This shows that I don't have Apache installed. If I did, then the version installed would show after "Installed:" - instead of "(none)". If I was going to I would get 2.2.22-13+deb7u5 (i.e. the "Candidate:"). Then it shows all the latest versions available and from which repo. So 2.2.22-13+deb7u5 comes from from the Debian security repo.Also keep in mind that this info relies on the local package database so it's good practice to update that too. So unless you've run apt-get update lately this is probably the way to go:
Hi Jeremy, That is perfect.
Hi Jeremy,
That is perfect. Thank you for your help.
I'm running -
apt-cache policy apache2
apache2:
Installed: 2.2.22-13+deb7u5
Candidate: 2.2.22-13+deb7u5
Version table:
*** 2.2.22-13+deb7u5 0
500 http://security.debian.org/ wheezy/updates/main amd64 Packages
100 /var/lib/dpkg/status
2.2.22-13+deb7u4 0
500 http://cdn.debian.net/debian/ wheezy/main amd64 Packages
Add new comment