Results 1 to 3 of 3

Thread: Is your /etc/cron.daily/apt executable?

  1. #1
    Join Date
    Apr 2006
    Beans
    118

    Is your /etc/cron.daily/apt executable?

    I upgraded my laptop from Ubuntu 8.10 to 9.04 a few
    months ago, and recently I noticed that it wasn't getting
    automatically updated. A little searching found
    https://bugs.launchpad.net/ubuntu/+s...er/+bug/356152
    in which someone said this was because /etc/cron.daily/apt
    wasn't executable. Sure enough, doing
    sudo chmod 755 /etc/cron.daily/apt
    sudo rm /var/spool/anacron/cron.daily
    rebooting and logging in again fixed the problem.

    My question is, how widespread is this problem? Try
    $ ls -l /etc/cron.daily/apt
    If you see no 'x' permissions, e.g. if you see
    -rw-r--r-- 1 root root 8686 2009-04-16 21:27 /etc/cron.daily/apt
    then you've got the problem. Please let me know if
    this affects any of your computers. Thanks!

  2. #2
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Is your /etc/cron.daily/apt executable?

    Quote Originally Posted by dankegel View Post
    I upgraded my laptop from Ubuntu 8.10 to 9.04 a few
    months ago, and recently I noticed that it wasn't getting
    automatically updated. A little searching found
    https://bugs.launchpad.net/ubuntu/+s...er/+bug/356152
    in which someone said this was because /etc/cron.daily/apt
    wasn't executable. Sure enough, doing
    sudo chmod 755 /etc/cron.daily/apt
    sudo rm /var/spool/anacron/cron.daily
    rebooting and logging in again fixed the problem.

    My question is, how widespread is this problem? Try
    $ ls -l /etc/cron.daily/apt
    If you see no 'x' permissions, e.g. if you see
    -rw-r--r-- 1 root root 8686 2009-04-16 21:27 /etc/cron.daily/apt
    then you've got the problem. Please let me know if
    this affects any of your computers. Thanks!
    All are set correctly on my system (fresh install):
    Code:
    -rwxr-xr-x 1 root root 8686 2009-04-17 14:26 apt
    Upgrading may be another situation (I never upgrade because of little issues such as this).
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  3. #3
    Join Date
    Jun 2008
    Beans
    55

    Re: Is your /etc/cron.daily/apt executable?

    Did you upgrade via 'do-release-upgrade' (command-line method)?

    This happened to me on two machines that were upgraded from 8.10 to 9.04 with this method. Machines upgraded with the GUI method continue to check for updates fine.

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
  •