[Yum-devel] Re: creating an updates repository
Tim Lauridsen
tim at rasmil.dk
Fri Mar 24 09:25:11 UTC 2006
Jason Pepas wrote:
> On Thursday 23 March 2006 03:03 pm, Jason Pepas wrote:
>
>> What am I missing here? Is there a special process for creating an
>> "updates" repository?
>>
>
> Ok, as a test, I tried simply recreating fedora's update repodata using
> 'createrepo .', and noticed something: The only packages which appear as
> updates to yum are those which used an epoch in the version string.
>
> here is the output from a run with fedora's repodata, and with createrepo's
> repodata:
>
> # run with metadata generated by fedora
> Loading "installonlyn" plugin
> Setting up repositories
> core [1/3]
> sysnet-updates [2/3]
> sysnet-updates 100% |=========================| 951 B 00:00
> extras [3/3]
> Reading repository metadata in from local files
> primary.xml.gz 100% |=========================| 28 kB 00:00
> sysnet-upd: ################################################## 82/82
> Added 82 new packages, deleted 0 old in 0.30 seconds
>
> authconfig.x86_64 5.2.3-1 sysnet-updates
> authconfig-gtk.x86_64 5.2.3-1 sysnet-updates
> avahi.x86_64 0.6.9-8.FC5 sysnet-updates
> avahi-glib.x86_64 0.6.9-8.FC5 sysnet-updates
> beagle.x86_64 0.2.3-4 sysnet-updates
> bind.x86_64 30:9.3.2-12.FC5 sysnet-updates
> bind-libs.x86_64 30:9.3.2-12.FC5 sysnet-updates
> bind-utils.x86_64 30:9.3.2-12.FC5 sysnet-updates
> cpio.x86_64 2.6-14.FC5 sysnet-updates
> curl.x86_64 7.15.1-3 sysnet-updates
> curl-devel.x86_64 7.15.1-3 sysnet-updates
> lftp.x86_64 3.4.3-1 sysnet-updates
> libbeagle.x86_64 0.2.3-4 sysnet-updates
> libsepol.i386 1.12.1-1.fc5 sysnet-updates
> libsepol.x86_64 1.12.1-1.fc5 sysnet-updates
> sendmail.x86_64 8.13.6-0.FC5.1 sysnet-updates
> shadow-utils.x86_64 2:4.0.14-5.FC5 sysnet-updates
> tcsh.x86_64 6.14-6.fc5.1 sysnet-updates
> xorg-x11-server-Xorg.x86_64 1.0.1-9 sysnet-updates
>
>
> # run with metadata generated by createrepo
> Loading "installonlyn" plugin
> Setting up repositories
> core [1/3]
> sysnet-updates [2/3]
> sysnet-updates 100% |=========================| 951 B 00:00
> extras [3/3]
> Reading repository metadata in from local files
> primary.xml.gz 100% |=========================| 23 kB 00:00
> sysnet-upd: ################################################## 64/64
> Added 64 new packages, deleted 0 old in 0.23 seconds
>
> bind.x86_64 30:9.3.2-12.FC5 sysnet-updates
> bind-libs.x86_64 30:9.3.2-12.FC5 sysnet-updates
> bind-utils.x86_64 30:9.3.2-12.FC5 sysnet-updates
> shadow-utils.x86_64 2:4.0.14-5.FC5 sysnet-updates
>
> any ideas?
>
> thanks,
> jason pepas
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at linux.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum-devel
>
A package is an update if :
1. The package 'foo-1.0-01' is install on your system.
2. The package in your repository, has a greater version/release/epoch.
'foo-1.0-02'
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum-devel/attachments/20060324/60352a07/attachment.htm
More information about the Yum-devel
mailing list