update /var/run/updates-available immediately following an apt-get upgrade

Bug #319438 reported by Dustin Kirkland 
2
Affects Status Importance Assigned to Milestone
update-notifier (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

Binary package hint: update-notifier

mvo-

Would it be possible to trigger an update to the data cached in /var/run/updates-available by /usr/lib/update-notifier/update-motd-updates-available immediately following an 'apt-get upgrade'?

That data is obviously out of date as of the completion of the upgrade, so I think it would be best to trigger a --forced update at that point, via:
 # /usr/lib/update-notifier/update-motd-updates-available --force

:-Dustin

Related branches

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Actually, at the very least, it could rm /var/run/updates-available.
The next update-motd run should pick it up accordingly.

What do you think?

:-Dustin

Michael Vogt (mvo)
Changed in update-notifier:
assignee: nobody → mvo
importance: Undecided → Medium
milestone: none → jaunty-alpha-5
status: New → Triaged
Michael Vogt (mvo)
Changed in update-notifier:
status: Triaged → Fix Committed
Revision history for this message
Dave Walker (davewalker) wrote :

This is marked as "Fix Commited", is this now in Jaunty?

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

mvo-

When will this be released?

:-Dustin

Revision history for this message
Michael Vogt (mvo) wrote :

This is in since early februray, I'm not sure why the automatic bugclosing via the changelog has not worked. It remove the file only (sorry that its not more fancy). Please reopen if it does not work as expected.

Changed in update-notifier:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.