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).
Got the same error when upgrading today. 3.1-1.1ubuntu1_ i386.deb) ... locate. notslocate by slocate' updatedb. notslocate by slocate' man/man1/ locate. 1.gz to /usr/share/ man/man1/ locate. notslocate. 1.gz by slocate' man/man1/ updatedb. 1.gz to /usr/share/ man/man1/ updatedb. notslocate. 1.gz by slocate' daily/find to /etc/cron. daily/find. notslocate by slocate'
And solved by the above fix. However after reinstalling got the following warning:
Unpacking slocate (from .../slocate_
Adding `diversion of /usr/bin/locate to /usr/bin/
Adding `diversion of /usr/bin/updatedb to /usr/bin/
Adding `diversion of /usr/share/
Adding `diversion of /usr/share/
Adding `diversion of /etc/cron.
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).