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

Bug#682574: live-tools, procps: live-tools and procps must consistently handle /usr/bin/uptime



On Mon, Jul 23, 2012 at 10:18:28PM +0200, Andreas Beckmann wrote:
> Mixing diversions and alternatives is not trivial ... I know from
> cleaning up the nvidia-graphics-driver and fglrx-driver diversion mess
> for /usr/lib/libGL.so* :-)
I believe there is also something about packages diverting others
letting the first one know about it, which didn't happen and probably
contributed to the mess.

> A possible solution that should work:
> * procps ships uptime.procps and uptime.procps.1.gz
> * live-utils ships live-uptime and live-uptime.1.gz
> * both register an alternative for uptime with uptime.1.gz slave
Yep, would of done it had I known about it, I'll update procps with
this and the fix below, thanks!

And yes I traced through the fglrx symlink stuff once, it was
complicated but generally worked ok (except when non-free binaries
hard-coded the wrong stuff but thats another story).

 - Craig
-- 
Craig Small VK2XLZ   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


Reply to: