/var/tmp/rpm-tmp.dFHsbt: line 1: [: missing `]'

Bill Nottingham notting at redhat.com
Wed Sep 21 19:17:28 UTC 2011


Andre Robatino (robatino at fedoraproject.org) said: 
> On today's 20110921 Rawhide updates, I got this error running "yum --skip-broken
> distro-sync" during the cleanup. I've seen this several times over the last few
> weeks, on F16 as well I think. The message itself is completely useless, since
> there isn't enough time to look at the file before it's replaced by another one,
> and I don't find anything in the logs. It should be easy to fix the package
> responsible, if there was a way to find out what it is. Anyone know?

Look at the scripts for the packages in your transaction (rpm -q --scripts
<...>), audit them for syntax errors.

Bill


More information about the test mailing list