Using portage to do a "pretend" update of rsync fails with a message that "sync actions do not support "--pretend". This is using portage 2.0.50-r9. I have just upgraded portage so I am not sure if this behavior is new with this version of portage. It appears that the argument parsing for 'emerge' is recognising the "sync" in "rsync" and is mistaking this for an "emerge sync" operation. This happens no matter where "rsync" exists in the list of packages. Reproducible: Always Steps to Reproduce: 1. run 'emerge -pv rsync' without the quotes 2. or, run 'emerge -pv vim rsync gzip' without the quotes Actual Results: The results of running emerge are: bash-2.05b# emerge -V Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.5-gentoo- r1) bash-2.05b# emerge -pv rsync emerge: "sync" actions do not support "--pretend." This error is given no matter how many packages are listed nor where rsync is in the package list. Expected Results: Emerge should have listed out the package dependencies for rsync.
From man emerge: emerge sync | rsync emerge is supposed to recognize both as an action to synchronize the portage tree. If you want to emerge the rsync package, please use net-misc/rsync as the argument. That portage allows you to just specify the package name to emerge a package is handy, but it also breaks if there is more than one packages with the name. category/package is the only true way of specifying packages.