Re: Yum file storage?

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

 



On Mon, 2010-12-27 at 09:57 +0200, Johan Scheepers wrote:
> On 12/27/2010 09:11 AM, Kevin Fenzi wrote:
> > On Mon, 27 Dec 2010 09:09:05 +0200
> > Johan Scheepers<johansche@xxxxxxxxxxxx>  wrote:
> >
> >> Good day,
> >>
> >> Using>>  Fedora 14 x86_64
> >>
> >> I am trying to locate the rpms that was downloaded when updating.
> >>
> >> These paths seems a blanks  ..
> >>
> >> /var/cache/yum/x86_64/14/fedora/packages
> >>
> >> /var/cache/yum/x86_64/14/updates/deltas
> >>
> >> /var/cache/yum/x86_64/14/updates/packages
> >>
> >> Maybe somewhere else?
> >>
> >> If the above is correct, why no packages.
> >
> > By default, yum doesn't keep packages around after it's used them to
> > update or install.
> >
> > You can change this by modifying /etc/yum.conf and changing:
> >
> > keepcache=0
> >
> > to
> >
> > keepcache=1
> >
> > See 'man yum.conf' for more information.
> >
> > kevin
> >
> Thanks Kevin,
> 
> Now could such saved packages be reused.
> 
> Like storing them on a spare drive and then make a install of the same 
> version on another drive or computer? Then updating that install with 

Johan,

You're describing a local repository, possibly a complete mirror. If you
examine the directory structure of the Fedora 14 updates repository,
you'll see it's quite straightforward:

        SRPMS/			<-- src.rpm packages
        	repodata/	<-- compressed metadata files
        i386/			<-- 32-bit i686 and noarch packages
        	drpms/		<-- x-y.drpm delta rpm packages
        	repodata/
        x86_64/			<-- 32-bit i686, noarch, 64-bit x86_64 rpms
        	drpms/
        	repodata/

In a full repo, you may find the same i686 and noarch packages in both
i386/ and x86_64/ directories. They should be hard linked.

You can use rsync to keep a local repo updated from a mirror site. With
modified .repo files in /etc/yum.repos.d/ that point to the local repo,
yum updates can be very fast.

--Doc Savage
  Fairview Heights, IL



-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux