[opensuse-factory] updatedb fails
[openSuSE Factory packages findutils-locate-4.5.10-2.1.i586 findutils-4.5.10-2.1.i586] locate stopped working since the database isn't built. Just saying updatedb causes /usr/bin/find: invalid expression; you have used a binary operator '-o' with nothing before it. Is this a known problem? Werner -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Sunday 12 February 2012 13:04:51 Werner LEMBERG wrote:
[openSuSE Factory packages findutils-locate-4.5.10-2.1.i586 findutils-4.5.10-2.1.i586]
locate stopped working since the database isn't built. Just saying
updatedb
causes
/usr/bin/find: invalid expression; you have used a binary operator '-o' with nothing before it.
Is this a known problem?
It is now :) It seems to be caused by findutils-4.4.2-updatedb.patch which does -prunefs_exp=`echo $PRUNEFS |sed -e 's/\([^ ][^ ]*\)/-o -fstype \1/g' \ +prunefs_exp=`echo $PRUNEFS |sed -e 's/\([^ ][^ ]*\)/-fstype \1 -o/g' \ reverting that line makes it work again (the actual problem is that it inserts an extra -o at the end of that expression, so it ends with -o -o I've just reported it as bug 746610 Anders -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
It seems to be caused by findutils-4.4.2-updatedb.patch which does
-prunefs_exp=`echo $PRUNEFS |sed -e 's/\([^ ][^ ]*\)/-o -fstype \1/g' \ +prunefs_exp=`echo $PRUNEFS |sed -e 's/\([^ ][^ ]*\)/-fstype \1 -o/g' \
reverting that line makes it work again
Unfortunately, not for me. I now get find: invalid expression; I was expecting to find a ')' somewhere but did not see one. Maybe you've reverted more than this single line? Werner -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Sunday 12 February 2012 15:51:22 Werner LEMBERG wrote:
It seems to be caused by findutils-4.4.2-updatedb.patch which does
-prunefs_exp=`echo $PRUNEFS |sed -e 's/\([^ ][^ ]*\)/-o -fstype \1/g' \ +prunefs_exp=`echo $PRUNEFS |sed -e 's/\([^ ][^ ]*\)/-fstype \1 -o/g' \
reverting that line makes it work again
Unfortunately, not for me. I now get
find: invalid expression; I was expecting to find a ')' somewhere but did not see one.
Maybe you've reverted more than this single line?
Ah, yes I did, there was also this if [ "$LOCALUSER" != "" ]; then # : A1 su $LOCALUSER `select_shell $LOCALUSER` -c \ "$find $SEARCHPATHS $FINDOPTIONS \ \\( $prunefs_exp \ -type d \\( $prunefs_exp -regex '$PRUNEREGEX' \\) -prune \ -o $print_option" else # : A2 $find $SEARCHPATHS $FINDOPTIONS \ \( $prunefs_exp \ -type d \( $prunefs_exp -regex "$PRUNEREGEX" \) -prune -o $print_option fi The two lines "\\( $prunefs_exp \" and "\( $prunefs_exp \" look like stray lines to me, the same expression is included twice in the command line, so I simply deleted those two lines Anders -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 12/02/12 19:34, Werner LEMBERG wrote:
Maybe you've reverted more than this single line? Ah, yes I did, there was also this [...] Thanks. It works now again.
Werner It's still not fixed in factory. I patched the sources but it failed to build. I didn't make a note the failure so I would need to retrace the steps. Regards Sid.
-- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot, Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Sid Boyce
On 12/02/12 19:34, Werner LEMBERG wrote:
Maybe you've reverted more than this single line? Ah, yes I did, there was also this [...] Thanks. It works now again.
Werner It's still not fixed in factory. I patched the sources but it failed to build. I didn't make a note the failure so I would need to retrace the steps. Regards
I am experiencing the failure on 12.2(ms1) also. Do you need any help? non-programming that is :^) -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 21/02/12 23:57, Patrick Shanahan wrote:
* Sid Boyce
[02-21-12 18:31]: On 12/02/12 19:34, Werner LEMBERG wrote:
Maybe you've reverted more than this single line? Ah, yes I did, there was also this [...] Thanks. It works now again.
Werner It's still not fixed in factory. I patched the sources but it failed to build. I didn't make a note the failure so I would need to retrace the steps. Regards I am experiencing the failure on 12.2(ms1) also. Do you need any help? non-programming that is :^) The problem was identified and resolved with a patch before Milestone 1 but a fixed package hasn't reached factory in the 10 days since. Regards Sid.
-- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot, Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Anders Johansson
-
Patrick Shanahan
-
Sid Boyce
-
Werner LEMBERG