the refresh of the 'locate' database in catfish fail

Bug #1995360 reported by Christophe C
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
catfish (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Catfish need a refresh (every 7 days) of the 'locate' database of the system, and it uses it.

Catfish 4.16.4 (in kinetic) use as database /var/lib/mlocate/mlocate.db.

Which don't exist in Ubuntu (since 20.04 ??).

In jammy and kinetic (at least), the database is in /var/lib/plocate/plocate.db (P instead of M).

So at each launch, catfish ask the user to clic for refresh /var/lib/mlocate/mlocate.db (wich does not exist), then announce that the refresh failed.

Tags: kinetic
Revision history for this message
Christophe C (batra3) wrote :

I patched the problem, and it seams to work fine :

in /usr/lib/python3/dist-packages/catfish_lib/catfishconfig.py

and replace the string :
__locate_db_path__ = '/var/lib/mlocate/mlocate.db'
by
__locate_db_path__ = '/var/lib/plocate/plocate.db'

Chris Guiver (guiverc)
tags: added: kinetic
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in catfish (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.