Menu

#4100 System info page shows updates, but the module does not

open-accepted
5
2017-08-22
2012-06-21
bsh
No

Tried to find if this bug is already reported, but I failed. So here it goes:
On all my machines, the Webmin System Information page sometimes shows that there are software package updates. When I click on the link or go to the appropriate module, it shows there are no updates. Refreshing package lists does not help this. There are actual updates, but these can't be installed through webmin, must be done through ssh or other means.
Systems running Ubuntu 10.04, up to date. Browser is Firefox 3.6.28, but doubt this matters.

Related

Bugs: #4100

Discussion

1 2 3 > >> (Page 1 of 3)
  • Jamie Cameron

    Jamie Cameron - 2012-06-21

    What are the packages that you had to update manually in this case?

     
  • bsh

    bsh - 2012-06-22

    This time it was 5 firefox and related updates IIRC. but this is unpredictable. I have another system where the system information page shows 9 updates but there are 38 updates in update-manager... On yet another, it shows these Firefox updates, which are not shown on the first system, etc.
    Basically the system information page number of updates is inconsistent.

     
  • Jamie Cameron

    Jamie Cameron - 2012-06-23

    If you go to Webmin -> Webmin Configuration -> Background Status Collection, what is the "Collect system status in background?" field set to?

     
  • bsh

    bsh - 2012-06-24

    Collect system status in background? Every 5 minutes
    Collect available package updates? Yes
    Collect drive temperatures? Yes

     
  • Jamie Cameron

    Jamie Cameron - 2012-06-25

    I would be interested to see the output from :

    apt-show-versions | grep xyz

    where xyz is one of the missing packages, when this problem occurs..

     
  • bsh

    bsh - 2012-06-25

    I have a snapshot which is not updated, so I can try to reproduce it. However, what I'm going to attach, shows basically the opposite behaviour: showing 0 updates when there are 38 updates. But I believe this might have the same cause.
    I'm gonna attach a screenshot, the full output of apt-show-versions, and a few greps on the packages in question. HTH.

     
  • bsh

    bsh - 2012-06-25

    screenshot in VBox

     
  • bsh

    bsh - 2012-06-25

    full output of apt-show-versions

     
  • bsh

    bsh - 2012-06-25

    some packages snipped from the full output

     
  • Jamie Cameron

    Jamie Cameron - 2012-06-25

    That's odd, the output from apt-show-versions seems different to what Webmin expects.

    If you run "apt-show-versions -h" to show the version number, what does it output?

     
  • bsh

    bsh - 2012-06-25

    Apt-Show-Versions v.0.16 (c) Christoph Martin

     
  • Jamie Cameron

    Jamie Cameron - 2012-06-26

    When you ran "apt-show-versions" to get the output attached below, did you run it with the -a flag? Because the output looks like what you'd get when -a is used.

     
  • bsh

    bsh - 2012-06-26

    Yes I used -a because plain command didn't show version changes and I thought that's what you want to see.
    However, I think I found something in this, what may be interesting. When I run apt-show versions, it does not display old and new versions until it re-fetches the actual package versions from the archives. after this, the output of the command changes. See attached screenshot.
    Today the output of webmin also shows 89 updates, which is correct.
    I attach another output from "apt-show-versions | grep firefox" (without -a switch).

     
  • bsh

    bsh - 2012-06-26
     
  • bsh

    bsh - 2012-06-26
     
  • Jamie Cameron

    Jamie Cameron - 2012-06-26

    What did you do to have apt-show-versions re-fetch the new package versions from the archives? Was just running "apt-get update" enough, or was something else required?

     
  • bsh

    bsh - 2012-06-26

    I did nothing. It refreshes the package lists with a cron.daily job. (there's an apt-show-versions and an apt command in the cron.daily)

     
  • Jamie Cameron

    Jamie Cameron - 2012-06-26

    Could you post the full contents of that daily cron scripts?

     
  • bsh

    bsh - 2012-06-26

    these are the daily scripts:
    -rwxr-xr-x 1 root root 311 2010-03-05 03:29 0anacron
    -rwxr-xr-x 1 root root 189 2010-04-19 10:56 apport
    -rwxr-xr-x 1 root root 15914 2011-05-30 07:40 apt
    -rwxr-xr-x 1 root root 314 2010-04-09 14:16 aptitude
    -rwxr-xr-x 1 root root 77 2009-06-22 16:38 apt-show-versions
    -rwxr-xr-x 1 root root 502 2009-11-10 17:12 bsdmainutils
    -rwxr-xr-x 1 root root 2534 2010-03-29 17:04 cyrus22
    -rwxr-xr-x 1 root root 256 2010-04-15 19:23 dpkg
    -rwxr-xr-x 1 root root 338 2010-04-06 13:43 lighttpd
    -rwxr-xr-x 1 root root 89 2010-03-07 04:00 logrotate
    -rwxr-xr-x 1 root root 1327 2010-03-02 11:31 man-db
    -rwxr-xr-x 1 root root 606 2010-03-24 11:16 mlocate
    -rwxr-xr-x 1 root root 1154 2010-04-09 02:29 ntp
    -rwxr-xr-x 1 root root 2149 2009-06-16 15:12 popularity-contest
    -rwxr-xr-x 1 root root 383 2010-04-09 17:27 samba
    -rwxr-xr-x 1 root root 3349 2010-04-15 01:29 standard

    and the apt-show-versions script is this:

    #!/bin/sh

    [ -f /usr/bin/apt-show-versions ] || exit 0

    apt-show-versions -i

     
  • Jamie Cameron

    Jamie Cameron - 2012-06-27

    Ok, I see what it is doing now.. In the next Webmin release, I will have it call "apt-show-versions -i" before calling apt-show-versions, which should fix this inconsistency..

     
  • Jamie Cameron

    Jamie Cameron - 2012-06-27
    • status: open --> closed-fixed
     
  • bsh

    bsh - 2012-06-27

    Great, thanks!

     
  • bsh

    bsh - 2012-09-27

    (Can I re-open this bug somehow? Don't see it.)

    Still have the same problem with Webmin 1.6.
    It's showing 7 updates, while Update-manager is showing 10.
    Did a apt-show-versions -i, but no avail.

     
  • Jamie Cameron

    Jamie Cameron - 2012-09-27
    • status: closed-fixed --> open-accepted
     
  • Jamie Cameron

    Jamie Cameron - 2012-09-27

    Re-opening ..

    bsh : what does apt-show-versions output on your system?

     
1 2 3 > >> (Page 1 of 3)

Log in to post a comment.