freebsd-update 6.2-R -> 6.3-B1 rollback failed

Colin Percival cperciva at
Wed Nov 14 21:13:03 PST 2007

Jan Henrik Sylvester wrote:
> I tried to rollback the freebsd-update 6.2-R -> 6.3-B1.

To confirm that I understand what you're saying here:  You upgraded
from FreeBSD 6.2-RELEASE to 6.3-BETA1, then you ran "freebsd-update
rollback" to move back to FreeBSD 6.2-RELEASE, right?

> It printed quite a few lines of
> /libexec/ grep: Undefined symbol "__sbmaskrune"
> and
> /libexec/ sort: Undefined symbol "__sbmaskrune"
> but finished with a 'done.'

Ick.  Right, I think I see what happened here -- the first step in the
rollback process is to install the old libraries, but this overwrites
the libraries currently in use by installed programs.  Yep, this is
definitely broken -- ironically, it works fine for rolling back from
FreeBSD 7.x to FreeBSD 6.x, since installing the old libraries doesn't
involve overwriting the newer ones.

I'll get this fixed ASAP.

> I guess it was my fault, because on some of my 6.2 machines I had a
> patch for libexec/rtld-elf/rtld.c adding the symbol _dlsym that was
> needed for linux-flashplugin-7 at some time. This was probably one of
> these machines that had a GENERIC/SMP kernel but modified elf loader.

Nope, not your fault -- I screwed up the rollback code.

> Now, how do I get this machine running again?

I believe that your system is now 6.3-BETA1 with a few shared libraries
from 6.2-RELEASE mixed in.  If you can get a copy of /lib/*.so.* and
/usr/lib/*.so.* from a 6.3-BETA1 system and install those into place
(in fact, probably all you need is /lib/ your system should
be ok.  Let me know if you need any help with this.

Getting the system back to 6.2-RELEASE might be more difficult, now that
the FreeBSD Update code thinks that it has rolled back its updates, but
I might be able to find a way to do that for you -- is it a disaster if
this system ends up stuck at 6.3-BETA1?

Colin Percival

More information about the freebsd-stable mailing list