Re: dnf cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 7 September 2015 at 10:26, arnaud gaboury <arnaud.gaboury@xxxxxxxxx> wrote:
On Mon, Sep 7, 2015 at 10:23 AM, arnaud gaboury
<arnaud.gaboury@xxxxxxxxx> 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
users@xxxxxxxxxxxxxxxxxxxxxxx
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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux