findutils_4.2.20-1 dotpup - UPDATED
findutils_4.2.20-1 dotpup - UPDATED
findutils_4.2.20-1
www.gnu.org/software/findutils/findutils.html
findutils.pup packaged by Bruce B on June 12, 2005
The tools supplied with this package are:
* find - search for files in a directory hierarchy
* locate - list files in databases that match a pattern
* updatedb - update a file name database
* xargs - build and execute command lines from standard input
* sort 2.0 - an additional utility with necessary options to support findutils
Note: This version seems to do a good job of finding files in
vfat partitions, unlike previous versions.
Note: This first release had a problem - please download findutils2.pup further down in this thread.
www.gnu.org/software/findutils/findutils.html
findutils.pup packaged by Bruce B on June 12, 2005
The tools supplied with this package are:
* find - search for files in a directory hierarchy
* locate - list files in databases that match a pattern
* updatedb - update a file name database
* xargs - build and execute command lines from standard input
* sort 2.0 - an additional utility with necessary options to support findutils
Note: This version seems to do a good job of finding files in
vfat partitions, unlike previous versions.
Note: This first release had a problem - please download findutils2.pup further down in this thread.
- Attachments
-
- findutils.pup
- don't download this version - there is an updated version named findutils2.pup in this thread
- (94.37 KiB) Downloaded 1117 times
Last edited by Bruce B on Thu 16 Jun 2005, 23:33, edited 1 time in total.
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
? Locate answer
Seemed to install OK
I am typing in "locate myfile.txt"
and getting a complete listing of the database (which I built) but that seems all?
Am I doing something wrong?
I am typing in "locate myfile.txt"
and getting a complete listing of the database (which I built) but that seems all?
Am I doing something wrong?
Thanks for the feedback and sorry. It works fine for me and I tested it many times before uploading it.
However, I will go over everything tonight and see if I can find the problem.
I'll be back.
EDIT - I'm back
I manually uninstalled findutils and reinstalled it using the dotpup in this thread. It worked fine.
Puppy had three files which are not adequate for findutils:
1) sort
2) find
3) xargs
Findutils needs more powerful versions of these files and they are included. Updatedb is a script and has absolute paths to sort and find. For this reason Puppy's sort and find don't get in the way, even though they come earlier in the path statement.
I'm curious of you would do
# which xargs
to see where it is located. It should be in /usr/bin, the size should be 20600.
In any event the paths are extremely important for this utility, because we don't want to run Puppy's same name files which would occur if the updatedb script didn't have absolute paths for find and sort.
Maybe you could try rebuilding the database. A quick way to do it is specify one directory for testing.
# updatedb --localpaths=/root
However, I will go over everything tonight and see if I can find the problem.
I'll be back.
EDIT - I'm back
I manually uninstalled findutils and reinstalled it using the dotpup in this thread. It worked fine.
Puppy had three files which are not adequate for findutils:
1) sort
2) find
3) xargs
Findutils needs more powerful versions of these files and they are included. Updatedb is a script and has absolute paths to sort and find. For this reason Puppy's sort and find don't get in the way, even though they come earlier in the path statement.
I'm curious of you would do
# which xargs
to see where it is located. It should be in /usr/bin, the size should be 20600.
In any event the paths are extremely important for this utility, because we don't want to run Puppy's same name files which would occur if the updatedb script didn't have absolute paths for find and sort.
Maybe you could try rebuilding the database. A quick way to do it is specify one directory for testing.
# updatedb --localpaths=/root
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
updated results - new dotpup used
for now this:
/usr/bin/xargs (for the which xargs)
this is potentially a very useful set of programs - so thanks for finding and persevering
Did you install the extra progs in the above dot pup that you updated?
The below is (part) of the output I am getting after rebuilding the database . . .
the command was locate vtcl.tcl
and the oupput enclosed is the last part
Are we getting closer?
==========
/usr/bin/xargs (for the which xargs)
this is potentially a very useful set of programs - so thanks for finding and persevering
Did you install the extra progs in the above dot pup that you updated?
The below is (part) of the output I am getting after rebuilding the database . . .
the command was locate vtcl.tcl
and the oupput enclosed is the last part
Are we getting closer?
==========
Code: Select all
====== more code appeared =====
/root/vtcl-1.6.0/lib/tree.tcl
/root/vtcl-1.6.0/lib/ttd
/root/vtcl-1.6.0/lib/ttd/ttd.tcl
/root/vtcl-1.6.0/lib/var.tcl
/root/vtcl-1.6.0/lib/vtclib.tcl
/root/vtcl-1.6.0/lib/widget.tcl
/root/vtcl-1.6.0/sample
/root/vtcl-1.6.0/sample/User_Compound.tcl
/root/vtcl-1.6.0/sample/hierarchy.tcl
/root/vtcl-1.6.0/sample/notebook.tcl
/root/vtcl-1.6.0/sample/notebook_recurse.tcl
/root/vtcl-1.6.0/sample/panedwindow.tcl
/root/vtcl-1.6.0/sample/sampleBLT.tcl
/root/vtcl-1.6.0/vtcl.tcl
/root/vtcl-1.6.0/vtclmac
#
I seem to have fixed it. The basic problem was busybox's utilities didn't have the features necessary for findutils.
I was able to read the updatedb script and make the necessary changes to use the proper utilities.
Locate is a binary file and I could not read it. As it worked out locate was using busybox's sort utility and it was not working properly.
Please download the attached file and manually copy updatedb and sort to /usr/bin
You will be overwritting both files which is the old updatedb with modified paths and the sort link to busybox with a full version sort 2.0
Try again and report back. I will make an updated dotpup as soon as I learn of your success.
Thanks for your patience.
I was able to read the updatedb script and make the necessary changes to use the proper utilities.
Locate is a binary file and I could not read it. As it worked out locate was using busybox's sort utility and it was not working properly.
Please download the attached file and manually copy updatedb and sort to /usr/bin
You will be overwritting both files which is the old updatedb with modified paths and the sort link to busybox with a full version sort 2.0
Try again and report back. I will make an updated dotpup as soon as I learn of your success.
Thanks for your patience.
- Attachments
-
- findutil-fix.zip
- fix for first version of findutils - with instructions to copy updatedb and sort to /usr/bin
- (30.29 KiB) Downloaded 1074 times
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
? keep trying . . .
more or less the same after placing the files in the /usr/bin directory
I also ran the updatedb again to see if that was a problem
I got this - which may mean something wrong with my system (though it relates to leafpad . . .
I also ran the updatedb again to see if that was a problem
I got this - which may mean something wrong with my system (though it relates to leafpad . . .
Code: Select all
/usr/bin/find: WARNING: Hard link count is wrong for /usr/lib: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.
/usr/bin/find: /proc/837/fd/4: No such file or directory
/usr/bin/find: /proc/837/fd/4: No such file or directory
/usr/bin/find: /proc/837/fd/4: No such file or directory
/usr/bin/find: /proc/837/fd/4: No such file or directory
/usr/bin/find: /proc/837/fd/4: No such file or directory
/usr/bin/find: /proc/837/fd/4: No such file or directory
/usr/bin/find: /proc/837/fd/4: No such file or directory
/usr/bin/find: /proc/837/fd/4: No such file or directory
/usr/bin/find: /proc/837/fd/4: No such file or directory
/usr/bin/find: /proc/837/fd/4: No such file or directory
/usr/bin/find: /proc/837/fd/4: No such file or directory
/usr/bin/find: /proc/837/fd/4: No such file or directory
Lobster, actually that is not a problem with updatedb, it is just giving feedback about the system as it sees it.
Just let it run and see if locate works fine, if you please?
If you want to only process user defined directories rather than the entire system you could use commands such as.
updatedb --localpaths='/bin /root /usr /etc /mnt /sbin'
This way it will only search exactly where you specify.
Just let it run and see if locate works fine, if you please?
If you want to only process user defined directories rather than the entire system you could use commands such as.
updatedb --localpaths='/bin /root /usr /etc /mnt /sbin'
This way it will only search exactly where you specify.
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
New dotPuppy created
elinks working fine
You star!
Now you have to tell us lesser mortals the whole process . . .
You star!
Now you have to tell us lesser mortals the whole process . . .
Back on topic........
Just downloaded and installed the patch files for Findutils.
From the original install, I learned that nothing worked without a reboot anyway, so I rebooted the system, deleted the old locatedb database file ( the one in /root ) and ran updatedb again.
I got the same strange message that Lobster got ( which I didn't get originally ), but let it run it's course. Generating the initial database takes a minute or 2 so be patient here.
Then tried the 'locate gimp' opening gambit and it worked !
I can now locate files, all sorts of files !
Cheers Bruce
Just downloaded and installed the patch files for Findutils.
From the original install, I learned that nothing worked without a reboot anyway, so I rebooted the system, deleted the old locatedb database file ( the one in /root ) and ran updatedb again.
I got the same strange message that Lobster got ( which I didn't get originally ), but let it run it's course. Generating the initial database takes a minute or 2 so be patient here.
Then tried the 'locate gimp' opening gambit and it worked !
I can now locate files, all sorts of files !
Cheers Bruce
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
He is right, that Rich is right . . .
All working [ahem . . . my fault again . . . ] I don't think I waited long enough for the updatedb to do its work.
So I ran it again.
And it works!
Two dotpups in one day - we expect great things from you now Bruce
LOL
Good job everyone.
Lets Frisk and jump about. Puppy Rules.
All working [ahem . . . my fault again . . . ] I don't think I waited long enough for the updatedb to do its work.
So I ran it again.
And it works!
Two dotpups in one day - we expect great things from you now Bruce
LOL
Good job everyone.
Lets Frisk and jump about. Puppy Rules.
Updated findutils2.pup
According to your feedback and my testing the problem with findutils, locate using busybox's sort is fixed.
If you already patched it with the kit I provided there is no reason to run this version.
If you do run it - it will add two redundant lines to:
/etc/rc.d/rc.local
However, you might want to download this attachment and save it for future Puppy installations.
Thanks for your patience and help.
If you already patched it with the kit I provided there is no reason to run this version.
If you do run it - it will add two redundant lines to:
/etc/rc.d/rc.local
However, you might want to download this attachment and save it for future Puppy installations.
Thanks for your patience and help.
- Attachments
-
- findutils2.pup
- findutils_4.2.20-1 - enhanced file finding utilities. Find files anywhere on your system from the command line.
- (120.89 KiB) Downloaded 1904 times