When I try to do a pretend emerge rsync using the command "sudo emerge -p rsync" I get the error: emerge: the "sync" action does not support "--pretend." Reproducible: Always Steps to Reproduce: 1. Open a console 2. Type the command "sudo emerge -p rsync" Actual Results: I get the error stated above. Expected Results: Done a pretend emerge of the rsync package. Gentoo Base System version 1.4.3.8p1 Portage 2.0.49-r18 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r9) ================================================================= System uname: 2.4.20-gentoo-r9 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imap imlib java jpeg kde ldap libg++ libwww mad maildir mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline ruby sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
You have to specify the ebuild when emerging rsync like this: emerge /usr/portage/net-misc/rsync/rsync-2.6.0.ebuild emerge rsync is an alias for emerge sync which syncs your portage tree.
This might be something to put into the error message. Something along the lines of "If you were trying to emerge the rsync package, you must specify the ebuild." Thanks for the information though.
wrangler
*** This bug has been marked as a duplicate of 2365 ***