[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How do I rebuild alternative symlinks?

I just moved a debian installation from one system to another by mirroring
/opt, etc, /home, /var, and /usr/local -- and then using dpkg
--set-selections to get all the same packages installed on the new box.

Everything's gone great except for the alternatives system. For some reason,
none of the symbolic links in /usr/bin (and i'm guessing anywhere) were
reinstalled when I reinstalled the packages that provide them.

I see that there's a lot of state data in /var/lib/dpkg/alternatives -- is
there any way to tell dpkg or update-alternatives to read that state data
and make everything the way it should be, or am I going to have to
reconfigure each alternative manually?


Reply to: