[Lunar-bugs] [bug] coreutils and teTeX both install a /usr/bin/readlink

Lunar bug reports list lunar-bugs at lunar-linux.org
Tue May 24 12:34:53 UTC 2005


 Project:      lunar-linux
 ID:           
 Version:      <none>
 Component:    moonbase (modules)
 Category:     bug reports
 Priority:     normal
 Assigned to:  <unassigned>
 Reported by:  dagbrown
 Updated by:   tchan
-Status:       active
+Status:       won't fix

This is not a bug and as is PEBKAC.  coreutils installs
/usr/bin/readlink, teTeX installs /usr/bin/kpsereadlink.  NOTE the name
differences.  There is no problem here.

tchan



Previous comments:
------------------------------------------------------------------------

Tue, 05/24/2005 - 03:18 : dagbrown

I innocently tried to run /etc/init.d/hotplug restart, and got an error
message: "readlink takes exactly one argument".  Being a little
surprised at this, I read the man page for readlink, and indeed, it
took only one argument.  It was a very short man page.  I definitely
remembered a longer one than that in the past.

So I went to figure out which package readlink came from.

root at foetus ~ # lvu from /usr/bin/readlink
coreutils:/usr/bin/readlink
teTeX:/usr/bin/readlink

Oh.  The one from teTeX had overwritten the one from coreutils. 
Re-lin'ing the coreutils readlink restored the status quo, but there
should probably be some way of dealing with packages that try to
replace unrelated pre-existing system programs. :-)

-- 
View: http://lunar-linux.org/?q=node/view/859
Edit: http://lunar-linux.org/?q=project/comments/add/859




More information about the Lunar-bugs mailing list