Package updates

After running Package updates virtualmin sometimes reports that some of the updates are still available to be updated like below.

Package updates 16 updates to system packages are available. Use the Virtualmin Package Updates module to install them selectively.
Package Updates
2 updates to Virtualmin packages are available. Use the Virtualmin Package Updates module to install them selectively.

Package Description Version
php5 server-side, HTML-embedded scripting language (metapackage) 5.3.10-1ubuntu3.8
php-pear PEAR - PHP Extension and Application Repository 5.3.10-1ubuntu3.8

If the updates are run a subsequent time I get a messages similar to the one below.

Now updating php5 …

Installing package(s) with command apt-get -y install php5 ..

Reading package lists...
Building dependency tree...
Reading state information...
php5 is already the newest version.
The following packages were automatically installed and are no longer required:
  linux-headers-3.2.0-40 linux-headers-3.2.0-51 linux-image-3.2.0-40-generic
  linux-headers-3.2.0-40-generic linux-image-3.2.0-51-generic
  linux-headers-3.2.0-51-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

.. install complete.

Now updating php-pear …

Installing package(s) with command apt-get -y install php-pear ..

Reading package lists...
Building dependency tree...
Reading state information...
php-pear is already the newest version.
The following packages were automatically installed and are no longer required:
  linux-headers-3.2.0-40 linux-headers-3.2.0-51 linux-image-3.2.0-40-generic
  linux-headers-3.2.0-40-generic linux-image-3.2.0-51-generic
  linux-headers-3.2.0-51-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

.. install complete.

No packages were installed. Check the messages above for the cause of the error.

Why does virtualmin still report that there are updates after they have been updated?

Howdy,

What output do you receive if you log into the command line as root, and then run this command:

apt-get upgrade

Does it prompt you with any packages that need updating?

-Eric

Hi andreychek

To add a bit more info, the next day the Package updates info goes away. Also the apt-get upgrade info below.

> apt-get upgrade
Reading package lists…
Building dependency tree…
Reading state information…
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Hi Eric Here is some more info on this problem

New updates available on the Systems Information screen.

Package updates All Virtualmin packages are up to date.
2 updates to system packages are available. Use the Virtualmin Package Updates module to install them selectively.

Before updating I ran apt-get upgrade to see if there are any differences reported.

> apt-get upgrade
Reading package lists…
Building dependency tree…
Reading state information…
The following packages will be upgraded:
libx11-6 libx11-data
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 935 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Abort.

I then ran the updates from the Systems Information screen successfully and then returned to the Systems Information screen to find

Package updates All Virtualmin packages are up to date.
1 updates to system packages are available. Use the Virtualmin Package Updates module to install them selectively.

I then ran

> apt-get upgrade
Reading package lists…
Building dependency tree…
Reading state information…
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

When I go to Virtualmin Package Updates there are NO Package Updates available.

AllanIT, did you click on “refresh system information” on the system information screen after performing the updates?

@gpetrov

I had not, but just did and it cleared the old information. I guess the question becomes why doesn’t virtualmin clear the information it self?