Comment 2 for bug 174764

Revision history for this message
Oz123 (nahumoz) wrote :

Got the same error when upgrading today.
And solved by the above fix. However after reinstalling got the following warning:
Unpacking slocate (from .../slocate_3.1-1.1ubuntu1_i386.deb) ...
Adding `diversion of /usr/bin/locate to /usr/bin/locate.notslocate by slocate'
Adding `diversion of /usr/bin/updatedb to /usr/bin/updatedb.notslocate by slocate'
Adding `diversion of /usr/share/man/man1/locate.1.gz to /usr/share/man/man1/locate.notslocate.1.gz by slocate'
Adding `diversion of /usr/share/man/man1/updatedb.1.gz to /usr/share/man/man1/updatedb.notslocate.1.gz by slocate'
Adding `diversion of /etc/cron.daily/find to /etc/cron.daily/find.notslocate by slocate'
Setting up slocate (3.1-1.1ubuntu1) ...
Adding group `slocate' (GID 119) ...
Done.

WARNING: You should run '/etc/cron.daily/slocate' as root. locate will not work
properly until you do or until it is run by cron (it is daily).