View difference between Paste ID: e3kt5caF and FLdZLXwJ
SHOW: | | - or go back to the newest paste.
1
$ apt-get remove locate
2
$ apt-get install mlocate
3
4
$ updatedb
5
6
updatedb:/etc/updatedb.conf:4: unbekannte Variabel `FINDOPTIONS'
7
updatedb:/etc/updatedb.conf:5: unbekannte Variabel `export'
8
updatedb:/etc/updatedb.conf:8: unbekannte Variabel `export'
9
updatedb:/etc/updatedb.conf:11: unbekannte Variabel `export'
10
updatedb:/etc/updatedb.conf:13: unbekannte Variabel `export'
11
updatedb:/etc/updatedb.conf:15: unbekannte Variabel `NETPATHS'
12
updatedb:/etc/updatedb.conf:16: unbekannte Variabel `export'
13
updatedb:/etc/updatedb.conf:18: unbekannte Variabel `LOCALUSER'
14
updatedb:/etc/updatedb.conf:19: unbekannte Variabel `export'
15
updatedb:/etc/updatedb.conf:22: unbekannte Variabel `NICE'
16
updatedb:/etc/updatedb.conf:23: unbekannte Variabel `export'
17
18
$ mv /etc/updatedb.conf /etc/updatedb.conf-old
19
$ apt-get install --reinstall mlocate
20
21
Then I added this to the new /etc/updatedb.conf:
22-
PRUNEPATHS="/tmp /var /home /usr /lib /usr/tmp /var/tmp /afs /amd /alex /var/spool /sfs /media /var/backups /rootfs /var/mod_pagespeed/ /usr/local/rvm /var/kunden/webs/jbarkow/webalizer/ /var/kunden/webs/rbarkow/www/z11/kram/freifunk/ffki-firmware/"
22+
PRUNEPATHS="/tmp /usr/tmp /var/tmp /afs /amd /alex /var/spool /sfs /media /var/backups /rootfs /var/mod_pagespeed/ /usr/local/rvm /var/kunden/webs/jbarkow/webalizer/ /var/kunden/webs/rbarkow/www/z11/kram/freifunk/ffki-firmware/"
23
24
$ updatedb