<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 7 September 2015 at 10:26, arnaud gaboury <span dir="ltr"><<a href="mailto:arnaud.gaboury@gmail.com" target="_blank">arnaud.gaboury@gmail.com</a>></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>
<<a href="mailto:arnaud.gaboury@gmail.com">arnaud.gaboury@gmail.com</a>> wrote:<br>
> % dnf download --source R<br>
> enabling fedora-source repository<br>
> enabling updates-source repository<br>
> Last metadata expiration check performed 0:13:28 ago on Mon SepĀ 7<br>
> 10:06:57 2015.<br>
> [SKIPPED] R-3.2.1-2.fc22.src.rpm: Already downloaded<br>
> The downloaded packages were saved in cache till the next successful<br>
> transaction.<br>
> You can remove cached packages by executing 'dnf clean packages'<br>
><br>
> % sudo dnf clean packages<br>
> [sudo] password for poisonivy:<br>
> Cleaning repos: fedora updates<br>
> 0 package files removed<br>
><br>
> then % dnf download --source R again, but same output.<br>
><br>
> % cat /etc/dnf/dnf.conf<br>
> [main]<br>
> gpgcheck=1<br>
> installonly_limit=3<br>
> clean_requirements_on_remove=true<br>
><br>
><br>
> I have no idea where is the cache. /var/cache/dnf subdirectories will<br>
> not show any .rpm.<br>
><br>
> 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/<REPO_ID>*/packages then when the download finishes successfully the file is copied to the directory specified by --destdir; if --destdir isn'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>