[Bug 1010873] [NEW] Ubuntu ec2 server instance with update-notifier-common doesn't show the existing updates

Launchpad Bug Tracker 1010873 at bugs.launchpad.net
Sat Jun 9 17:35:45 UTC 2012


You have been subscribed to a public bug:

I'm running an Ubuntu EC2 instance: ami-e7e8d393

When I ssh login my account, there's a welcome message containing "x
packages can be updated. y updates are security updates." expression
where x and y are a non-negative integers.

I have a feeling that the mentioned expression has something to do with
update-notifier-common package.

There are two problems with the behaivour of the expression:

1- Sometimes, the expression doesn't even show up. Without using some other tools, we don't know if there's an update or not.
2- Sometimes, the expression says that "0 packages can be updated. 0 updates are security updates.", but in fact there are updates, in some cases some of them are security updates.

For the 1st type: It seems that the system does not print anything if an
upgrade was applied and time for the next check is not reached.

On https://bugs.launchpad.net/ubuntu/+source/update-
notifier/+bug/356152/comments/4 Michael Vogt states that "update-
notiifer just checks when the last apt/dpkg action was performed and
calcualtes the 7 days based on that". We don't have update-notifier
package but we have update-notifier-common. Anyway, similar to what Vogt
said, here might be such a scenario in action:

* The system/code having something to do with update-notifier-common, whatever it is, calls for checking again at a fixed time daily (observations give me the impression that the period is no longer than daily)
* If there are updates in between two consecutive checks
a) It doesn't print anything at all if the last check was triggered by an actual upgrade
b) It shows 0 and 0 if the available updates came after the last 0 and 0 situation

Reagarding the 2nd type: Its clearly a bug. There are updates, what's
more there are (may be) security updates and welcome mesage says "0
updates, 0 security updates.

Regarding the 1st type: Even if it doesn't say anything whether there
are updates or not, even with no such expression at all, in my opinion
this is still a bug. This notyfying expression is not added to the
distro by the user, its among the defaults and seems not to be
documented well (if documented at all, somewhere) and seems that for
server version there's not a setting for it around so s/he has no idea
on when and why its printed or not. User either thinks that everything
is fine (there's no notification at all so no "update" warning). Or s/he
thinks that there's something broken because the expression is not there
anymore.

Even after figuring out how things work (if what figured out is valid);
user can benefit from the expression if the values are greater than 0,
but when it says 0 and 0; it doesn't tell much (unless you are keeping a
record and unless you are hundred percent positive that the 0 and 0
situation is older than the check period).

This is not the expected behaviour for an update notifier on a server.

** Affects: update-notifier (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment ec2-images
-- 
Ubuntu ec2 server instance with update-notifier-common doesn't show the existing updates
https://bugs.launchpad.net/bugs/1010873
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to update-notifier in Ubuntu.




More information about the foundations-bugs mailing list