On 2014-12-22 19:23 +0100, Rob Owens wrote:

> $ ls -l /bin/dirname
> -rwxr-xr-x 1 root root 13880 Jan 30  2007 /bin/dirname
>
> $ file /bin/dirname
> dirname: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
> dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped
>
> Similar thing for /bin/basename and a bunch of other files that are
> present in both /bin and /usr/bin.  For all the duplicates I've checked,
> the files in /bin are 32-bit and are old, while the files in /usr/bin
> are 64-bit and are recent.
>
> So I guess for now I'm going to move all these obsolete files into
> another directory and make sure the system works ok before I delete them
> for good.  I'm not sure how this system ended up like this, but it's and
> old system that's been dist-upgraded many times as well as having the
> hard disk moved to different hardware.  
>
> I checked Wheezy, Squeeze, and Lenny and the coreutils package doesn't 
> put dirname or basename in /bin on any of those releases -- they go in 
> /usr/bin.  I wasn't able to go farther back than that.  But 2007 is when 
> Etch was released, and that was also the first Debian release I ever used.

Indeed, the file size and date above match the dirname executable from
the i386 coreutils package in Etch[1], but even that package installed
dirname in /usr/bin.  Why somebody copied this and other files to /bin
is probably impossible to tell now.

Cheers,
       Sven


1. http://archive.debian.net/etch/i386/coreutils/download 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87h9wnfpl9....@turtle.gmx.de

Reply via email to