On 7 September 2015 at 10:26, arnaud gaboury <[email protected]>
wrote:

> On Mon, Sep 7, 2015 at 10:23 AM, arnaud gaboury
> <[email protected]> wrote:
> > % dnf download --source R
> > enabling fedora-source repository
> > enabling updates-source repository
> > Last metadata expiration check performed 0:13:28 ago on Mon Sep  7
> > 10:06:57 2015.
> > [SKIPPED] R-3.2.1-2.fc22.src.rpm: Already downloaded
> > The downloaded packages were saved in cache till the next successful
> > transaction.
> > You can remove cached packages by executing 'dnf clean packages'
> >
> > % sudo dnf clean packages
> > [sudo] password for poisonivy:
> > Cleaning repos: fedora updates
> > 0 package files removed
> >
> > then % dnf download --source R again, but same output.
> >
> > % cat /etc/dnf/dnf.conf
> > [main]
> > gpgcheck=1
> > installonly_limit=3
> > clean_requirements_on_remove=true
> >
> >
> > I have no idea where is the cache. /var/cache/dnf subdirectories will
> > not show any .rpm.
> >
> > Where can I find my src.rpm ?
>
> Sorry for this noise.
> $ ls
> .....
> R-3.2.1-2.fc22.src.rpm
>
> Was in my current directory! Any way to tell in dnf.conf a specific
> path for cache ?
>
>
>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.

--
Ahmad Samir
-- 
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to