Public bug reported:

Binary package hint: mlocate

The package findutils once moved /var/lib/locate to /var/cache/locate,
witness the following comment in /var/lib/dpkg/info/findutils.postinst:

if [ "$1" = "configure" ]; then
  # up to 4.1.7-2 locatedb was in non-FHS-dir /var/lib/locate
  if dpkg --compare-versions "$2" le-nl "4.1.7-2" ; then
    if [ -f /var/lib/locate/locatedb ]; then
      mv /var/lib/locate/locatedb /var/cache/locate/
      rmdir /var/lib/locate 2>/dev/null || true

The same should apply to mlocate.
I'm using 0.18-2ubuntu1 on a system upgraded from Gutsy to Hardy (release).

** Affects: mlocate (Ubuntu)
     Importance: Undecided
         Status: New

-- 
/var/lib/mlocate does not respect Unix FHS
https://bugs.launchpad.net/bugs/224185
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to