emerge --pretend --fetchonly should not download anything, but it does: # ls -lha /var/distfiles/ total 68K drwxrwxr-x 2 root portage 60K May 14 12:45 . drwxr-xr-x 12 root root 4.0K May 18 2015 .. # ACCEPT_KEYWORDS="~amd64" emerge --nodeps =fluentd-1.4.0 -fpv These are the packages that would be fetched, in order: >>> Downloading 'http://distfiles.gentoo.org/distfiles/layout.conf' --2020-05-14 12:45:45-- http://distfiles.gentoo.org/distfiles/layout.conf Resolving distfiles.gentoo.org... Connecting to distfiles.gentoo.org:80... connected. HTTP request sent, awaiting response... 200 OK Length: 45 [text/plain] Saving to: '/var/distfiles/.layout.conf.distfiles.gentoo.org.__download__' /var/distfiles/.lay 100%[===================>] 45 --.-KB/s in 0s 2020-05-14 12:45:45 (4.30 MB/s) - '/var/distfiles/.layout.conf.distfiles.gentoo.org.__download__' saved [45/45] http://distfiles.gentoo.org/distfiles/00/fluentd-1.4.0.gem https://rubygems.org/gems/fluentd-1.4.0.gem # ls -lha /var/distfiles/ total 76K drwxrwxr-x 2 root portage 60K May 14 12:45 . drwxr-xr-x 12 root root 4.0K May 18 2015 .. -rw-rw-r-- 1 portage portage 45 Nov 5 2019 .layout.conf.distfiles.gentoo.org -rw-r--r-- 1 root root 100 May 14 12:45 .mirror-cache.json
*** This bug has been marked as a duplicate of bug 702154 ***