updatedb-question
Yannick Le Saint (kyncani)
y.lesaint at gmail.com
Thu Sep 8 21:33:27 UTC 2005
On Thu, 2005-09-08 at 17:00 +0200, Dennis Kaarsemaker wrote:
> On do, 2005-09-08 at 16:17 +0200, albi at scii.nl wrote:
>
> > a running updatedb is quite annoying on older machines, and none of my
> > users ever uses locate
> >
> > but if i want to remove slocate then ubuntu-desktop also is selected for
> > deletion
> >
> > does someone have a nice solution for this ?
>
> Disable the updatedb cronjob :)
* From memory *
You can disable the cron job with
dpkg-divert --add --local --divert /etc/.cron.daily__slocate
--rename /etc/cron.daily/slocate
Or run updatedb on a monthly basis :
dpkg-divert --add --local --divert /etc/cron.monthly/slocate
--rename /etc/cron.daily/slocate
A local diversion will make sure dpkg will not recreate the file each
time it's being upgraded but will rename it instead.
This page https://wiki.ubuntu.com/PackageManagementHowTo will present
some of the ubuntu package related tools.
------
Regards.
Yannick Le Saint (kyncani) <y.lesaint at gmail.com>
http://y.lesaint.free.fr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050908/4de853f0/attachment.sig>
More information about the ubuntu-users
mailing list