On 2006-04-26, Steve Langasek <[EMAIL PROTECTED]> wrote:
> Ok, if update-alternatives --list shows nothing, and symlinks are left in
> place on the filesystem, that sounds like a bug in u-a to me.
But shouldn't a bug in u-a be easy to reproduce ?
I tried something minimal:
[EMAIL PROTECTED]:/# for i in 1 4 2 3 ; do touch /tmp/${i}; update-alternatives
--install /tmp/alt-test alt-test /tmp/${i} 10; done
[EMAIL PROTECTED]:/# update-alternatives display alt-test
update-alternatives: unknown argument `display'
[EMAIL PROTECTED]:/# update-alternatives --display alt-test
alt-test - status is auto.
link currently points to /tmp/1
/tmp/1 - priority 10
/tmp/4 - priority 10
/tmp/2 - priority 10
/tmp/3 - priority 10
Current `best' version is /tmp/1.
[EMAIL PROTECTED]:/# update-alternatives --list alt-test
/tmp/1
/tmp/4
/tmp/2
/tmp/3
[EMAIL PROTECTED]:/# for i in 1 2 3 4 ; do update-alternatives --remove
alt-test /tmp/${i} ; done
[EMAIL PROTECTED]:/# update-alternatives --display alt-test
No alternatives for alt-test.
[EMAIL PROTECTED]:/# update-alternatives --list alt-test
[EMAIL PROTECTED]:/#
where update-alternatives behaves like expected.
/Sune
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]