[Yum] bad .hdr caching by yum 2.1

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

 



On Thu, Sep 23, 2004 at 02:12:15PM -0500, Satish Balay alleged:
> 
> I encountered the following with yum 2.1 on FC3T2 (with yum-2.1.3-1)
> 
> - I use a local repository where I build .rpm from .src.rpm. 
> - On attempting to install one such rpm with yum - I get a dependency error.
> - I fix this error in the .spec file - and rebuild the rpm [without change
>   in version number], and update the metadata
> 
> - Now yum still gives the same dependency error (because its using the
>   cached .hdr file - which still has the bad depencency info)
> 
> Should yum know that the .rpm file has changed - and its needs to
> redownload the .hdr file - or is it illegal to change .rpm - without
> changing the version number? (once the rpm gets into a repository)

This has always been yum's behaviour.  If you change the rpm on the server
without changing the version number, be sure to regenerate the repo and delete
your local copy of the .hdr file.

-- 
Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.dulug.duke.edu/pipermail/yum/attachments/20040923/098f0c00/attachment.bin

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux