The file was diverted by live-tools, and this persists after reinstalling
procps and even after uninstalling live-tools. I had to remove the diversion
manually.I'm not sure why live-tools was installed but I recently upgraded from
stable. Perhaps there's an issue with the diversion being incorrect, or with
live-tools being installed when it shouldn't be?
> Date: Fri, 10 Oct 2014 23:10:47 +1100
> From: csm...@debian.org
> To: ccurri...@hotmail.com; 764629-d...@bugs.debian.org
> Subject: Re: Bug#764629: procps: uptime command missing
>
> On Thu, Oct 09, 2014 at 01:30:51PM -0400, Chris Currivan wrote:
> > The uptime command is missing. /usr/bin/uptime.orig.procps exists.
> That is a part-installed package, dpkg does things like that.
> I cannot tell you what went wrong with dpkg or your setup, but that
> was the cause of it.
>
> $ dpkg --contents ../build-area/procps_3.3.9-8_amd64.deb | grep up
> -rw-r--r-- root/root 891 2014-09-28 09:46
> ./usr/share/man/man1/uptime.1.gz
> -rwxr-xr-x root/root 10384 2014-09-28 09:46 ./usr/bin/uptime
>
> Re-installing procps will fix this; unless this is some permanent
> problem.
>
> - Craig
> --
> Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au
> Debian GNU/Linux http://www.debian.org/ csmall at : debian.org
> GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5