Looks like the solution was running sudo update-alternatives --remove ri /usr/bin/ri1.8
Before that, if I listed the alternatives for ri I'd see: leon@leon-desktop:~$ sudo update-alternatives --list ri update-alternatives: warning: alternative /usr/bin/ri1.8 (part of link group ri) doesn't exist. Removing from list of alternatives. I could run that multiple times, and each time it'd say that it was removing /usr/bin/ri1.8 from the list of alternatives, but it didn't remove it until I told it to with the first command. I'm not sure why all this was necessary. I don't think my installation was special, but maybe it was. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876097 Title: update-alternatives: error: alternative ri can't be slave of ruby: it is a master alternative. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ri/+bug/876097/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs