[Bug 238062] Re: mlocate package doesn't install /etc/updatedb.conf
Thomas Hotz
thomas.hotz at gmail.com
Tue Dec 24 06:23:57 UTC 2013
Closing this bug because this Ubuntu version is EOL now.
** Changed in: mlocate (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mlocate in Ubuntu.
https://bugs.launchpad.net/bugs/238062
Title:
mlocate package doesn't install /etc/updatedb.conf
Status in “mlocate” package in Ubuntu:
Invalid
Bug description:
Binary package hint: mlocate
According to the list of files in the mlocate package
<http://packages.ubuntu.com/hardy/i386/mlocate/filelist>, it provides
/etc/updatedb.conf. But after I upgraded from Feisty to Hardy (8.04),
updatedb stopped working, and eventually I figured out that it was
because the mlocate package, which has replaced the previous
implementation of locate, didn't replace the previous implementation's
/etc/updatedb.conf file with its own, and it doesn't understand the
old conf file:
myk at myk:~$ sudo updatedb
updatedb:/etc/updatedb.conf:4: unknown variable `FINDOPTIONS'
updatedb:/etc/updatedb.conf:5: unknown variable `export'
updatedb:/etc/updatedb.conf:8: unknown variable `export'
updatedb:/etc/updatedb.conf:11: unknown variable `export'
updatedb:/etc/updatedb.conf:13: unknown variable `NETPATHS'
updatedb:/etc/updatedb.conf:14: unknown variable `export'
updatedb:/etc/updatedb.conf:16: unknown variable `LOCALUSER'
updatedb:/etc/updatedb.conf:17: unknown variable `export'
updatedb:/etc/updatedb.conf:20: unknown variable `NICE'
updatedb:/etc/updatedb.conf:21: unknown variable `export'
updatedb:/etc/updatedb.conf:24: unknown variable `IONICE_CLASS'
updatedb:/etc/updatedb.conf:25: unknown variable `export'
updatedb:/etc/updatedb.conf:27: unknown variable `IONICE_PRIORITY'
updatedb:/etc/updatedb.conf:28: unknown variable `export'
Even when I moved the old file out of the way and reinstalled mlocate,
it still didn't install the file:
myk at myk:~$ sudo mv /etc/updatedb.conf /etc/updatedb.conf.old
myk at myk:~$ sudo apt-get --reinstall install mlocate
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/43.9kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 140566 files and directories currently installed.)
Preparing to replace mlocate 0.18-2ubuntu1 (using .../mlocate_0.18-2ubuntu1_i386.deb) ...
Unpacking replacement mlocate ...
Setting up mlocate (0.18-2ubuntu1) ...
myk at myk:~$ ll /etc/updatedb.conf
ls: cannot access /etc/updatedb.conf: No such file or directory
If download the package, manually extract the file from it, and then
install the file, updatedb runs fine.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mlocate/+bug/238062/+subscriptions
More information about the foundations-bugs
mailing list