Help I deleted my cron.daily files
ubuntu at knutejohnson.com
Mon Jul 4 22:23:09 UTC 2011
On 7/4/2011 3:03 PM, Frank McCormick wrote:
> On 04/07/11 05:50 PM, PleegWat wrote:
>> On 07/04/2011 11:12 PM, Knute Johnson wrote:
>>> I did a stupid thing and deleted my cron.daily files. Does anybody know
>>> where they come from so I can recreate them?
>> On the command line, run the following:
>> dpkg --search '/etc/cron.daily/*'
>> That should list all packages storing files in the /etc/cron.daily
>> directory, and which files they store.
>> Works here, although of course I still have the files...
>> I know there's also something on the command line to then reinstall
>> those packages, but I can't find it offhand. Possibly --install --force.
> aptitude reinstall <whatever>
I tried that but it doesn't reinstall the cron.daily files. I tried
using dpkg --purge and then using aptitude to install and that found
some of them. I guess their could have been files left over in here
that weren't being used any more.
More information about the ubuntu-users