Cron Job Fails to Run Daily for Local Apt-Mirror

Bug #1781502 reported by Michael Reed on 2018-07-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

After installing a local archive for MAAS using maniacs-setup script, the archive fails to update on a nightly basis. This causes systems to fail commission and deploy. The workaround is to run apt mirror manually.

sudo /usr/bin/apt-mirror

Michael Reed (mreed8855) wrote :

at /etc/cron.d/apt-mirror
# Regular cron jobs for the apt-mirror package
0 4 * * * apt-mirror /usr/bin/apt-mirror > /srv/mirrors/archive/var/cron.log

ubuntu@massvm4:~$ cat /srv/mirrors/archive/var/cron.log
Downloading 424 index files using 20 threads...

Michael Reed (mreed8855) wrote :

~$ sudo apt-cache policy maas-cert-server
  Installed: 0.3.4-0~201806080105~ubuntu16.04.1
  Candidate: 0.3.4-0~201806080105~ubuntu16.04.1
  Version table:
 *** 0.3.4-0~201806080105~ubuntu16.04.1 500
        500 xenial/main amd64 Packages
        100 /var/lib/dpkg/status

Michael Reed (mreed8855) wrote :

:~$ sudo apt-cache policy maas
  Installed: 2.3.0-6434-gd354690-0ubuntu1~16.04.1
  Candidate: 2.3.0-6434-gd354690-0ubuntu1~16.04.1
  Version table:
 *** 2.3.0-6434-gd354690-0ubuntu1~16.04.1 500
        500 xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.0.0~beta3+bzr4941-0ubuntu1 500
        500 xenial/main amd64 Packages

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers