* [gentoo-user] emerge coreutils-6.4 says "expr" binary missing
@ 2007-03-01 17:35 Denis
2007-03-01 20:17 ` Bo Ørsted Andresen
0 siblings, 1 reply; 5+ messages in thread
From: Denis @ 2007-03-01 17:35 UTC (permalink / raw
To: gentoo-user
I was emerging coreutils to update portage, and it failed with the following:
>>> emerge (1 of 1) sys-apps/coreutils-6.4 to /
--- SNIP md5 messages ---
/usr/lib/portage/bin/ebuild.sh: line 1: /bin/expr: No such file or directory
* Your expr binary appears to be broken, please fix it.
* For more info, see http://bugs.gentoo.org/123342
!!! ERROR: sys-apps/coreutils-6.4 failed.
!!! Function pkg_setup, Line 43, Exitcode 0
!!! your expr is broke
It appears that I have no previous version of coreutils showing on my
system... Anyone know of a way to fix this?
Denis
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] emerge coreutils-6.4 says "expr" binary missing 2007-03-01 17:35 [gentoo-user] emerge coreutils-6.4 says "expr" binary missing Denis @ 2007-03-01 20:17 ` Bo Ørsted Andresen 2007-03-02 0:40 ` Denis 0 siblings, 1 reply; 5+ messages in thread From: Bo Ørsted Andresen @ 2007-03-01 20:17 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1180 bytes --] On Thursday 01 March 2007 18:35:54 Denis wrote: > I was emerging coreutils to update portage, and it failed with the following: > >>> emerge (1 of 1) sys-apps/coreutils-6.4 to / > > --- SNIP md5 messages --- > > /usr/lib/portage/bin/ebuild.sh: line 1: /bin/expr: No such file or > directory * Your expr binary appears to be broken, please fix it. > * For more info, see http://bugs.gentoo.org/123342 > > !!! ERROR: sys-apps/coreutils-6.4 failed. > !!! Function pkg_setup, Line 43, Exitcode 0 > !!! your expr is broke You really need to tell us more about your system. What did you do preceding this? > It appears that I have no previous version of coreutils showing on my > system... What is that statement based on? How did you check it? What's the output of `emerge -pv coreutils`? If you have either gentoolkit or portageutils installed (or am able to install it) please show the output of either `equery check coreutils` or `qcheck coreutils`. `emerge --info` would be nice too.. > Anyone know of a way to fix this? An easy solution might be to emerge busybox if possible.. Otherwise we really need to know more.. -- Bo Andresen [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] emerge coreutils-6.4 says "expr" binary missing 2007-03-01 20:17 ` Bo Ørsted Andresen @ 2007-03-02 0:40 ` Denis 2007-03-02 1:45 ` Bo Ørsted Andresen 0 siblings, 1 reply; 5+ messages in thread From: Denis @ 2007-03-02 0:40 UTC (permalink / raw To: gentoo-user > You really need to tell us more about your system. What did you do preceding > this? emerge --info gives the following: Portage 2.0.51.22-r3 (default-linux/x86/no-nptl/2.4, gcc-3.3.5, glibc-2.3.1-r2,glibc-2.3.4.20040808-r1, 2.4.19-gentoo-r10 i686) ================================================================= System uname: 2.4.19-gentoo-r10 i686 Intel(R) XEON(TM) CPU 2.20GHz Gentoo Base System version 1.4.2.8 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 0.2.7, 1.2.11 dev-lang/python: 2.2.2, 2.3.4-r1 dev-python/pycrypto: [Not Present] dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12, 1.2.17 sys-devel/autoconf: 2.13, 2.59-r6, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4, 1.10 sys-devel/binutils: 2.13.90.0.18, 2.15.92.0.2-r1 sys-devel/gcc-config: 1.3.1, 1.3.8-r4 sys-devel/libtool: 1.4.1-r10, 1.5.22 virtual/os-headers: 2.4.19 ACCEPT_KEYWORDS="x86" AUTOCLEAN="no" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=i686 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SNIP a bunch of "use" flags... I know, I haven't updated for a while. I was trying to update Portage, and coreutils was listed as the necessary package to emerge first. > What's the output of `emerge -pv coreutils`? Calculating dependencies ...done! [ebuild N ] sys-apps/coreutils-6.4 -acl +nls (-selinux) -static 0 kB > please show the output of either `equery check coreutils` or `qcheck coreutils`. BLANK. I ran it, and it doesn't give any output at all. Denis > On Thursday 01 March 2007 18:35:54 Denis wrote: > > I was emerging coreutils to update portage, and it failed with the > following: > > >>> emerge (1 of 1) sys-apps/coreutils-6.4 to / > > > > --- SNIP md5 messages --- > > > > /usr/lib/portage/bin/ebuild.sh: line 1: /bin/expr: No such file or > > directory * Your expr binary appears to be broken, please fix it. > > * For more info, see http://bugs.gentoo.org/123342 > > > > !!! ERROR: sys-apps/coreutils-6.4 failed. > > !!! Function pkg_setup, Line 43, Exitcode 0 > > !!! your expr is broke -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] emerge coreutils-6.4 says "expr" binary missing 2007-03-02 0:40 ` Denis @ 2007-03-02 1:45 ` Bo Ørsted Andresen 2007-03-02 20:46 ` Denis 0 siblings, 1 reply; 5+ messages in thread From: Bo Ørsted Andresen @ 2007-03-02 1:45 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1498 bytes --] On Friday 02 March 2007 01:40:10 Denis wrote: > > You really need to tell us more about your system. What did you do > > preceding this? > > emerge --info gives the following: > > Portage 2.0.51.22-r3 (default-linux/x86/no-nptl/2.4, gcc-3.3.5, > glibc-2.3.1-r2,glibc-2.3.4.20040808-r1, 2.4.19-gentoo-r10 i686) > ================================================================= > System uname: 2.4.19-gentoo-r10 i686 Intel(R) XEON(TM) CPU 2.20GHz [SNIP] Wow... ;) > I know, I haven't updated for a while. I was trying to update > Portage, and coreutils was listed as the necessary package to emerge > first. > > > What's the output of `emerge -pv coreutils`? > > Calculating dependencies ...done! > [ebuild N ] sys-apps/coreutils-6.4 -acl +nls (-selinux) -static 0 kB > > > please show the output of either `equery check coreutils` or `qcheck > > coreutils`. > > BLANK. I ran it, and it doesn't give any output at all. Ouch! Did you attempt to emerge busybox? If that doesn't work my best suggestion at this point and with the information available is to grab the coreutils-6.4 binpkg at [1], put it in /usr/portage/packages/All/ and emerge it with --usebinpkgonly... As a side note given the age of your portage you may need information available at [2] when you've gotten past this problem... [1] http://tinderbox.x86.dev.gentoo.org/default-linux/x86/All/ [2] http://www.gentoo.org/proj/en/portage/doc/common-problems.xml -- Bo Andresen [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] emerge coreutils-6.4 says "expr" binary missing 2007-03-02 1:45 ` Bo Ørsted Andresen @ 2007-03-02 20:46 ` Denis 0 siblings, 0 replies; 5+ messages in thread From: Denis @ 2007-03-02 20:46 UTC (permalink / raw To: gentoo-user Many thanks - it worked... the Portage is now current, which I cannot say for the rest of my system... ugh. I think eventually I'll just have to make an archive of my home directory and clean-slate install the latest Gentoo distro. There are too many dangling ends from back when - would probably take less time than trying to transition X11 to Xorg, gcc3.3.5 to gcc4, etc etc... -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-03-02 20:54 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-03-01 17:35 [gentoo-user] emerge coreutils-6.4 says "expr" binary missing Denis 2007-03-01 20:17 ` Bo Ørsted Andresen 2007-03-02 0:40 ` Denis 2007-03-02 1:45 ` Bo Ørsted Andresen 2007-03-02 20:46 ` Denis
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox