Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Muon Update Notifications in 12.04

  1. Back To Top    #1
    Contributing SWAG
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    417
    Threads
    37
    Local Date
    Jan 14th 2018
    Local Time
    07:29 PM

    Muon Update Notifications in 12.04

    I seem to be continually plagued with issues regarding update-notifications not appearing in the system tray. I clean installed 12.04 on Saturday without any issues and I am yet to receive notification of any new updates via the tray icon.

    I have a clean install here working well, with the exception of the Ubuntu font weights not being applied correctly.

    Would somebody be kind enough to detail the behaviour of notifications on their system, preferably 12.04.
    Kubuntu 12.04 - Acer Aspire 5750G

    "I don't make a great deal of money, but I'm ok with that 'cause I don't hurt a lot of people in the process either"

  2. Back To Top    #2
    Ghost in the Machine Teunis's Avatar
    Join Date
    Jun 2006
    Location
    The Netherlands, 5m. below sea level.
    Posts
    3,480
    Threads
    153
    Local Date
    Jan 14th 2018
    Local Time
    10:29 AM
    The first question should probably be how frequent is Muon checking for updates, the fastest it can de set to is once a day.
    Specifically 12.04 being in beta there are updates available several times a day but obviously the update notification will only show you such after it's once-a-day automatic check.
    Or after manually invoking a search for updates in Muon.
    I just checked, there was one available (GsmartControl) and the notification icon duly popped up.

  3. Back To Top    #3
    Master Skribe OneLine's Avatar
    Join Date
    Nov 2011
    Posts
    777
    Threads
    75
    Local Date
    Jan 14th 2018
    Local Time
    12:29 PM

    Post Does you system know ?

    Does your system know that there are updates available ? Do a query with the command:
    Code:
    /usr/lib/update-notifier/apt-check --human-readable
    If there are, there shoud be a notification


  4. Back To Top    #4
    Contributing Member tdockery97's Avatar
    Join Date
    Jan 2011
    Location
    Salem, Oregon
    Posts
    48
    Threads
    9
    Local Date
    Jan 14th 2018
    Local Time
    02:29 AM
    I installed the 02/19 daily build yesterday evening, and 5 minutes ago the system dutifully notified me of updates. They installed without incident using the update manager, so all is well.

  5. Back To Top    #5
    Contributing SWAG
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    417
    Threads
    37
    Local Date
    Jan 14th 2018
    Local Time
    07:29 PM
    Quote Originally Posted by Teunis View Post
    The first question should probably be how frequent is Muon checking for updates, the fastest it can de set to is once a day.
    Teunis thank you for your reply. I was aware that this is the case.

    Or after manually invoking a search for updates in Muon. I just checked, there was one available (GsmartControl) and the notification icon duly popped up.
    This is definitely not the case for me unfortunately.

    As you can see, updates manually invoked in Muon with no update notification icon (Updates1.png). Again some time later, without applying update from updates1.png (Updates2.png).

    Code:
    /usr/lib/update-notifier/apt-check --human-readable
    OneLine cheers. This may come in handy later on.

    From what I have been able to gather, Muon checks the last update-time from dpkg-run-stamp (to calculate 24hr cycle)(Timestamp1.png).

    Here I believe you have my last update-time and date. And assuming I am correct, my next update check should occur at 08:41 Tuesday 21 February. This file should show Today 08:41 (Timestamp2.png).

    Update

    After applying the 11 updates shown in Updates2.png, dpkg-run-stamp still shows "08:41 Yesterday".

    Perhaps someone might be so kind as to confirm Update-Notifications behave !similarly on their system.
    Attached Thumbnails Attached Thumbnails Timestamp2.jpg   Timestamp1.jpg   Updates2.jpg   Updates1.jpg  
    Last edited by bra|10n; Feb 20th 2012 at 10:29 PM. Reason: Update
    Kubuntu 12.04 - Acer Aspire 5750G

    "I don't make a great deal of money, but I'm ok with that 'cause I don't hurt a lot of people in the process either"

  6. Back To Top    #6
    Master Skribe OneLine's Avatar
    Join Date
    Nov 2011
    Posts
    777
    Threads
    75
    Local Date
    Jan 14th 2018
    Local Time
    12:29 PM
    Looking how it is working at here - it is a bit long : http://www.kubuntuforums.net/showthr...-notifications

  7. Back To Top    #7
    Contributing SWAG
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    417
    Threads
    37
    Local Date
    Jan 14th 2018
    Local Time
    07:29 PM
    Quote Originally Posted by OneLine View Post
    Looking how it is working at here - it is a bit long : http://www.kubuntuforums.net/showthr...-notifications
    OneLine many thanks for your detailed post linked above.

    Let me say from the outset that the more I look into this issue, the more out of my depth I find myself.

    However reading through your post and trying to follow the chain-links at each stage, it seems my problems occur between points 6 and 7. Or to try and put this into words, between update-notifier-common doing it's thing and initiating update-notifier-kde. The vital step here as I understand is for the update-sucess-stamp file to be "touched" (i.e dated with the last update time). It appears in my case that this is not happening. While I am certain I do not follow your post entirely, it appears everything up to point 6. is working correctly, based solely on the fact that Muon manually invoked functions as intended.

    Today was spent looking back through some older 'related' bugs that at the time used Synaptic and KPK for instance, I could only find two likely causes that might explain this problem:

    1. A scenario where a package list is refreshed but when 1 or more mirrors or repositories are temporarily unreachable. Interestingly these checks are still reported 'down-the-chain' to update-notifier-kde as "updated". The example was given of a repository that no longer existed due to a new release 'coming of age'. Another where internet connectivity was actually non-existant. The main crux here is that in both these instances, checks effectively reported "no change", and therefore no "touch" was performed. So if this is indeed the case, the notion "update-notifications will only show when there are actual updates are available" may not be entirely reliable.


    2. The other possible cause was in high level geek-speak, but involved multiple packages with the same name, perhaps others in a state of transition. It highlighted an instance where a user was trying to install a package, lets say xyz where there existed two versions; one stable, the other unstable. The results of his apt-get install xyz returned "unable to locate package xyz", yet there existed not one but two packages at that particular moment. Again, it is not these apparent errors of themselves that caught my attention, but rather the consequences felt further down-the-chain.

    So at this point I'm none the wiser, naturally.
    Perhaps though this is not entirely true...

    A Konsole will report errors!
    Kubuntu 12.04 - Acer Aspire 5750G

    "I don't make a great deal of money, but I'm ok with that 'cause I don't hurt a lot of people in the process either"

  8. Back To Top    #8
    Master Skribe OneLine's Avatar
    Join Date
    Nov 2011
    Posts
    777
    Threads
    75
    Local Date
    Jan 14th 2018
    Local Time
    12:29 PM
    ...it appears everything up to point 6.
    I think that this should work like this:

    1) The anacron is updating the package database.
    2) The update-notifier-common (it seems to be a bunch of script files) is writing the:

    /var/lib/update-notifier/dpkg-run-stamp
    /var/lib/update-notifier/updates-available
    /var/lib/apt/periodic/update-success-stamp

    3) The update-notifier-kde is looking those files (update_listener.cpp) and if there are changes it will read the information from the /usr/lib/update-notifier/apt-check (update_worker.cpp).

    By the update-notifier-kde/debian/README.update-notifier-kde:
    Checks for updates are handled by update-notifier-common.
    ...
    As update-notifier-kde only acts as a frontend for
    update-notifier-common...

    Something to try

    Remove the:
    /var/lib/update-notifier/dpkg-run-stamp
    /var/lib/update-notifier/updates-available
    /var/lib/apt/periodic/update-success-stamp

    Execute:
    Code:
    sudo /usr/lib/update-notifier/update-motd-updates-available --force
    This should (working here) write the /var/lib/update-notifier/updates-available and launch the KDE notifier.

  9. Back To Top    #9
    Contributing SWAG
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    417
    Threads
    37
    Local Date
    Jan 14th 2018
    Local Time
    07:29 PM
    OneLine,

    Clarification needed:

    You have a file called updates-available located in /user/var/lib/update-notifier?
    Kubuntu 12.04 - Acer Aspire 5750G

    "I don't make a great deal of money, but I'm ok with that 'cause I don't hurt a lot of people in the process either"

  10. Back To Top    #10
    Master Skribe OneLine's Avatar
    Join Date
    Nov 2011
    Posts
    777
    Threads
    75
    Local Date
    Jan 14th 2018
    Local Time
    12:29 PM
    Clarification needed:

    You have a file called updates-available located in /user/var/lib/update-notifier?
    Yes and no. It is: /var/lib/update-notifier/ - without the /user/:
    -rw-r--r-- 1 root root 0 2012-02-21 18:10 fsck-at-reboot
    -rw-r--r-- 1 root root 0 2012-02-21 08:47 release-upgrade-available
    -rw-r--r-- 1 root root 62 2012-02-21 18:34 updates-available
    drwxr-xr-x 2 root root 4096 2011-12-23 21:20 user.d
    The " /var/lib/update-notifier/updates-available " is an ASCII text file and it has:
    25 packages can be updated.
    0 updates are security updates.
    The KDE is notifying:




    The force option - The" /usr/lib/update-notifier/update-motd-updates-available " is a script file and it has
    Code:
    #!/bin/sh -e
    #
    # helper for update-motd
    
    
    # poor mans force
    if [ "$1" = "--force" ]; then
        NEED_UPDATE_CHECK=yes
    fi
    .
    .
    .
    Last edited by OneLine; Feb 21st 2012 at 08:20 PM.

Page 1 of 2 12 LastLast

Similar Threads

  1. Notifications seem broken after update
    By KillaW0lf04 in forum Post-installation
    Replies: 3
    Last Post: Jul 12th 2013, 11:56 AM
  2. Probing the update notifications
    By OneLine in forum The Laboratory
    Replies: 0
    Last Post: Feb 21st 2012, 09:02 AM
  3. Are update notifications possible using Synaptic?
    By bra|10n in forum Help the New Guy
    Replies: 2
    Last Post: Feb 16th 2012, 11:39 PM
  4. Update Notifications
    By strycat in forum Software Support
    Replies: 1
    Last Post: Oct 20th 2010, 02:04 PM
  5. No update notifications kde 4.5-rc2
    By doctordruidphd in forum KDE Support
    Replies: 0
    Last Post: Jul 28th 2010, 05:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •