Results 1 to 3 of 3

Thread: server showing 0 updates, but Cron job is reporting packages to be updated

  1. #1
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 14.04 Trusty Tahr

    server showing 0 updates, but Cron job is reporting packages to be updated

    the setup is that security updates are applied automatically, but no the ones that need dis-upgrade. so i receive this kind of info on email and then trigger them manually:
    Code:
    apticron report [Tue, 14 Nov 2017 06:01:21 +0100]
    ========================================================================
    
    apticron has detected that some packages need upgrading on:
    
            blekbox
            [ 192.168.1.9 ]
    
    The following packages are currently pending an upgrade:
    
            perl 5.18.2-2ubuntu1.3
            perl-base 5.18.2-2ubuntu1.3
            perl-modules 5.18.2-2ubuntu1.3
    
    ========================================================================
    Package Details: "blah, blah, blah..."
    ========================================================================
    
    You can perform the upgrade by issuing the command:
    
            apt-get dist-upgrade
    
    as root on blekbox
    however when i run apt-get dist-upgrade, the system reports there are no packages to update.

    even if i run apt-get update first and then upgrade and/or dist-upgrade it still says 0 to update.

    what could be causing this? HWE stack is enabled.

    Server OS: 14.04.5 LTS
    Easy to understand Ubuntu manual with lots of pics: http://ubuntu-manual.org/
    Do i need antivirus/firewall in linux?
    User friendly disk backup (suitable for older PCs): Redobackup Less friendly disk backup (works on new PC): Clonezilla

  2. #2
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    4,520

    Re: server showing 0 updates, but Cron job is reporting packages to be updated

    Here's an example using perl-modules

    Code:
    $ rmadison perl-modules
     perl-modules | 5.14.2-6ubuntu2   | precise          | all
     perl-modules | 5.14.2-6ubuntu2.5 | precise-security | all
     perl-modules | 5.14.2-6ubuntu2.5 | precise-updates  | all
     perl-modules | 5.18.2-2ubuntu1   | trusty           | all
     perl-modules | 5.18.2-2ubuntu1.3 | trusty-security  | all
     perl-modules | 5.18.2-2ubuntu1.3 | trusty-updates   | all
    The new update was also a security update, so was already applied automatically

  3. #3
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: server showing 0 updates, but Cron job is reporting packages to be updated

    ok so just the message

    You can perform the upgrade by issuing the command:

    apt-get dist-upgrade


    as root on blekbox
    is then standard for all emails regarding updates. never though of that...
    Easy to understand Ubuntu manual with lots of pics: http://ubuntu-manual.org/
    Do i need antivirus/firewall in linux?
    User friendly disk backup (suitable for older PCs): Redobackup Less friendly disk backup (works on new PC): Clonezilla

Bookmarks

Posting Permissions

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