<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 7 September 2015 at 10:26, arnaud gaboury <span dir="ltr">&lt;<a href="mailto:arnaud.gaboury@gmail.com" target="_blank">arnaud.gaboury@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On Mon, Sep 7, 2015 at 10:23 AM, arnaud gaboury<br>
&lt;<a href="mailto:arnaud.gaboury@gmail.com">arnaud.gaboury@gmail.com</a>&gt; wrote:<br>
&gt; % dnf download --source R<br>
&gt; enabling fedora-source repository<br>
&gt; enabling updates-source repository<br>
&gt; Last metadata expiration check performed 0:13:28 ago on Mon SepĀ  7<br>
&gt; 10:06:57 2015.<br>
&gt; [SKIPPED] R-3.2.1-2.fc22.src.rpm: Already downloaded<br>
&gt; The downloaded packages were saved in cache till the next successful<br>
&gt; transaction.<br>
&gt; You can remove cached packages by executing &#39;dnf clean packages&#39;<br>
&gt;<br>
&gt; % sudo dnf clean packages<br>
&gt; [sudo] password for poisonivy:<br>
&gt; Cleaning repos: fedora updates<br>
&gt; 0 package files removed<br>
&gt;<br>
&gt; then % dnf download --source R again, but same output.<br>
&gt;<br>
&gt; % cat /etc/dnf/dnf.conf<br>
&gt; [main]<br>
&gt; gpgcheck=1<br>
&gt; installonly_limit=3<br>
&gt; clean_requirements_on_remove=true<br>
&gt;<br>
&gt;<br>
&gt; I have no idea where is the cache. /var/cache/dnf subdirectories will<br>
&gt; not show any .rpm.<br>
&gt;<br>
&gt; Where can I find my src.rpm ?<br>
<br>
</span>Sorry for this noise.<br>
$ ls<br>
.....<br>
R-3.2.1-2.fc22.src.rpm<br>
<br>
Was in my current directory! Any way to tell in dnf.conf a specific<br>
path for cache ?<br>
<div class=""><div class="h5"><br></div></div></blockquote><div><br></div><div>From what I saw, the way the dnf download plugin works is that it downloads the package in /var/cache/dnf/&lt;REPO_ID&gt;*/packages then when the download finishes successfully the file is copied to the directory specified by --destdir; if --destdir isn&#39;t used in the command then the the file is downloaded to the current working dir.<br></div><div><br>--<br></div><div>Ahmad Samir<br></div></div></div></div>