Error during weekly cron job

December 22, 2014 656 views

In one of my droplets, the weekly system cron job has started throwing the following error. Wondering if anyone has run across it, or something similar. It seems to be complaining about a missing file, but I've checked and it's clearly in that directory. And I've compared it with the same file in another droplet and their content/permissions are the same:

Traceback (most recent call last): 
File "/usr/sbin/update-apt-xapian-index", line 108, in <module> 
File "/usr/lib/python2.7/dist-packages/axi/", line 742, in rebuild 
for a in self.plugins: a.send_extra_info(aptcache=self.aptcache()) 
File "/usr/lib/python2.7/dist-packages/axi/", line 423, in aptcache 
self.apt_cache = apt.Cache(memonly=True, progress=aptprogress) 
File "/usr/lib/python2.7/dist-packages/apt/", line 107, in __init__ 
File "/usr/lib/python2.7/dist-packages/apt/", line 153, in open 
self._records = apt_pkg.PackageRecords(self._cache) 
SystemError: E:Could not open file /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_universe_i18n_Translation-en - open (2: No such file or directory) 
run-parts: /etc/cron.weekly/apt-xapian-index exited with return code 1
1 comment
Be the first one to answer this question.