Gentoo Archives: gentoo-amd64

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: where is sed supposed to be?
Date: Sat, 21 Jul 2007 00:00:18
Message-Id: pan.2007.07.20.23.56.43@cox.net
In Reply to: [gentoo-amd64] where is sed supposed to be? by Joshua Hoblitt
1 Joshua Hoblitt <jhoblitt@××××××××××.edu> posted
2 20070720211101.GB7788@××××××××××.edu, excerpted below, on Fri, 20 Jul
3 2007 11:11:01 -1000:
4
5 > I have two systems with the same baselayout
6 > (sys-apps/baselayout-1.12.9-r2) and sed (sys-apps/sed-4.1.5) package
7 > installed. Yet the older system has symlinks in /usr/bin/sed and
8 > /usr/X11R6/bin/sed -> /bin/sed. `equery belongs` claims no ownship for
9 > the symlink eithers so I can only assume that this is bleed through from
10 > a previous baselayout on the older system. I'm tempted to just remove
11 > the symlinks on the older system as it's causing me some grief is moving
12 > binpkgs from the older system to the new installs but isn't /usr/bin/sed
13 > a POSIX defined path?
14
15 equery l baselayout
16 [ Searching for package 'baselayout' in all categories among: ]
17 * installed packages
18 [I--] [ ~] sys-apps/baselayout-1.13.0_alpha12 (0)
19
20 equery b sed
21 [ Searching for file(s) sed in *... ]
22 sys-apps/sed-4.1.5 (/bin/sed)
23
24 which -a sed
25 /usr/bin/sed
26 /bin/sed
27
28 lsl /usr/bin/sed
29 lrwxrwxrwx 1 root root 8 2006-09-28 08:56 /usr/bin/sed -> /bin/sed
30
31 lsl /usr/X11R6
32 lrwxrwxrwx 1 root root 6 2007-05-22 19:24 /usr/X11R6 -> ../usr
33
34 $equery b /usr/X11R6
35 [ Searching for file(s) /usr/X11R6 in *... ]
36 x11-base/xorg-x11-7.2 (/usr/X11R6 -> ../usr)
37
38 So /usr/bin/sed isn't owned by anything here, either. You are likely
39 correct about the /usr/bin/sed location being standard, however.
40
41 As for /usr/X11R6, as you can see, newer xorgs have it to /usr, so
42 anything that puts anything there puts it directly in /usr instead.
43 However, the lack of anything else owning it as a dir indicates I don't
44 have anything doing that here. (The Gentoo xorg modules have been
45 updated to put their files directly in /usr.)
46
47 --
48 Duncan - List replies preferred. No HTML msgs.
49 "Every nonfree program has a lord, a master --
50 and if you use the program, he is your master." Richard Stallman
51
52 --
53 gentoo-amd64@g.o mailing list