Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#3691 Webmin tries to update packages that have been supressed

1.510
open-fixed
Jamie Cameron
5
2010-06-18
2010-06-09
Anonymous
No

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

Discussion

  • Jamie Cameron
    Jamie Cameron
    2010-06-09

    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.

     
  • Jamie Cameron
    Jamie Cameron
    2010-06-09

    • status: open --> closed-fixed
     

  • Anonymous
    2010-06-18

    This should be re-opened as I have apt-show-versions installed, yet on Ubuntu Server 10.04 this problem still remains

     
  • Jamie Cameron
    Jamie Cameron
    2010-06-18

    That's a bug then ..

    What is the output from :

    apt-show-versions | grep php5-common

    on your system?

     
  • Jamie Cameron
    Jamie Cameron
    2010-06-18

    • status: closed-fixed --> open-fixed
     
  • 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

     
  • Jamie Cameron
    Jamie Cameron
    2010-07-06

    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..