screen-profiles continues to show package updates (red section) even after they are installed

Bug #332890 reported by toobuntu
2
Affects Status Importance Assigned to Milestone
screen-profiles (Ubuntu)
Fix Released
Undecided
Dustin Kirkland 

Bug Description

Binary package hint: screen-profiles

I am thrilled with the work Dustin Kirkland has done to provide useful screen profiles. One of the features is that the hardstatus line on the bottom will show the number of available package updates in white text against a red background.

After manually installing all available updates via aptitude full-upgrade, that status does not change until apt-check is called again. From perusing the updates-available script in /usr/share/screen-profiles/bin/, it seems that it will update hourly.

Could a hook be added to dpkg or a postinstall preference configured for apt that would run updates-available / apt-check and clear the status contemporaneously with the update?

$ lsb_release -dr
Description: Ubuntu 8.10
Release: 8.10

$ uname -srvmo
Linux 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux

$ apt-cache policy screen-profiles
screen-profiles:
  Installed: 1.26-0ubuntu1~ppa2
  Candidate: 1.26-0ubuntu1~ppa2
  Version table:
 *** 1.26-0ubuntu1~ppa2 0
        500 http://ppa.launchpad.net intrepid/main Packages
        100 /var/lib/dpkg/status

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

Hi,

Thanks for the kind words!

I believe that this bug is a duplicate of Bug #319438, where I've requested that 'apt-get upgrade' be hooked to update /var/run/updates-available upon completion.

I'm not going to mark this bug a 'duplicate' quite yet, as I suspect I might need a one-liner added to screen-profiles to respect a more recently touched /var/run/updates-available.

Let me check with mvo and see how if he's released a fix for that bug yet.

Cheers,
:-Dustin

Changed in screen-profiles:
assignee: nobody → kirkland
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package screen-profiles - 1.27-0ubuntu1

---------------
screen-profiles (1.27-0ubuntu1) jaunty; urgency=low

  * Fix for LP: #333189:
    - keybindings/common: add profile reload shortcut, "ctrl-a ~"
    - screen-profiles: updated messages to point to ^a ~
    - po/*: updated for the new messages
  * Fix for LP: #333180
    - screen-profiles: add toggle for auto launch of welcome
    - po/*: updated for the new messages
  * Fix for LP: #332890
    - bin/updates-available: prefer /var/run/updates-available over
      ~/.screenrc-updates-available, if touched more recently

 -- Dustin Kirkland <email address hidden> Mon, 23 Feb 2009 14:59:26 -0600

Changed in screen-profiles:
status: In Progress → 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.