When holding packages at their current versions using apt and these commands:
echo "php5-common hold" | dpkg --set-selections
echo "php5-cgi hold" | dpkg --set-selections
etc...
Webmin still thinks they are upgradeable and says there are packages available to update. Not sure whether they do update as I don't want to break my server. Had to do this to take php down to 5.2 as 5.3 wasn't playing nice with Drupal
The fix for this is to install the apt-show-versions command - there is a Debian package for it. Once it is installed, Webmin will be able to use it to work out possible updates, rather than doing its own version comparisons which don't always take pinning into account.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
This should be re-opened as I have apt-show-versions installed, yet on Ubuntu Server 10.04 this problem still remains
That's a bug then ..
What is the output from :
apt-show-versions | grep php5-common
on your system?
The output is as follows
php5-common/lucid-updates upgradeable from 5.2.10.dfsg.1-2ubuntu6 to 5.3.2-1ubuntu4.2
hope this helps
Ok, I can see why Webmin thinks there is an update available then - if apt-show-versions detects that one is possible, Webmin will too.
If you run "apt-get install php5-cgi" , does it install the 5.3 version? If so, that suggests that the holding isn't working..