Yesterday I upgraded a laptop from Kubuntu 9.04 (Lucid) to 9.10 (Karmic). Then afterwards I tried to install some software
$ sudo aptitude install dont-remember-what-it-was
and I get
sudo: aptitude: command not found
Wait, what? How can aptitude be missing? And it's not just that - apt-get
and dpkg
also somehow mysteriously vanished from the system. I've manually checked in /usr/bin
and all the other directories in $PATH
and verified that the files actually do not exist.
$ ls /usr/bin/aptitude
ls: cannot access /usr/bin/aptitude: No such file or directory
Thankfully I have two graphical package managers available, Adept Installer and KPackageKit. Both of them report that the aptitude
package is installed. I tried uninstalling and reinstalling it through the GUI, just to be safe, and the uninstall/reinstall seemed to go off without a hitch. But the actual program binaries are still missing.
Is this something normal? If not, has anyone ever heard of it happening? Is it likely that the missing programs will magically reappear if I upgrade to 10.04?
EDIT: I have no idea what was going on, but after leaving the computer off overnight and a couple of reboots, the problem seems to have fixed itself. All the right files seem to be there.