Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82126 - etc-update reports command gsed not found
Summary: etc-update reports command gsed not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC All
: High major
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-15 09:18 UTC by Jayson
Modified: 2006-04-12 10:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jayson 2005-02-15 09:18:03 UTC
After emerge I recieve a warning that 3 config files need updating.  I run etc-update (both as user and root) and get the same error output:

/usr/sbin/etc-update: line 16: gsed: command not found
/usr/sbin/etc-update: line 16: gsed: command not found
/usr/sbin/etc-update: line 16: gsed: command not found
/usr/sbin/etc-update: line 16: gsed: command not found
/usr/sbin/etc-update: line 16: gsed: command not found
/usr/sbin/etc-update: line 16: gsed: command not found
/usr/sbin/etc-update: line 16: gsed: command not found
/usr/sbin/etc-update: line 16: gsed: command not found
/usr/sbin/etc-update: line 16: gsed: command not found
/usr/sbin/etc-update: line 16: gsed: command not found
/usr/sbin/etc-update: line 16: gsed: command not found
/usr/sbin/etc-update: line 16: gsed: command not found
/usr/sbin/etc-update: line 16: gsed: command not found
/usr/sbin/etc-update: line 16: gsed: command not found
/usr/sbin/etc-update: line 16: gsed: command not found
/usr/sbin/etc-update: line 16: gsed: command not found
/usr/sbin/etc-update: line 16: gsed: command not found
/usr/sbin/etc-update: line 16: gsed: command not found
Scanning Configuration files...
/usr/sbin/etc-update: line 16: gsed: command not found
Exiting: Nothing left to do; exiting. :)

I searched my system and do not have a command called gsed.  It's not an option to emerge, so the only thing I can think is that I need to alias some sed -something flag to gsed or there is something buggy in the etc-update script itself.

Thanks for your help!

P.S. Portage for Mac OS X is much better than Fink!

Reproducible: Always
Steps to Reproduce:
1. run etc-update as any user
Actual Results:  
See details


!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.51-r15 (default-darwin/macos/10.3, gcc-3.3, libsystem-7.1-r0, 7.8.0 Power Macintosh)
===============================================================
==
System uname: 7.8.0 Power Macintosh powerpc
macos-20041118
Python:               [2.3 (#1, Sep 13 2003, 00:49:11)]
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/
qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc ppc-macos"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Kito (RETIRED) gentoo-dev 2005-02-15 09:30:19 UTC
Did you emerge system? It should install sys-apps/sed which will make an alias to gsed. Please try  emerge sync, and emerge sed 
Comment 2 Jayson 2005-02-15 09:46:05 UTC
That fixed it!  I think when I first emerged system I had done it before updating portage to the newest version.  I synced again and reemerged my system and now it seems to be working fine.

Thank!