Hi Jan, Jan Tiggy wrote:
I have a problem with zypper. It doesn't refresh local repositories here.
rpm -qa |grep zypper zypper-0.8.25-0.1
rpm -qa |grep createrepo createrepo-0.4.10-14
- adding webpin-0.8-1.guru.suse103.i586.rpm to /srv/diverse - evoking creterepo /srv/diverse - evoking as root zypper ref:
getting: zypper ref ... Repository 'diverse' ist aktuell. (is up to date)
It is most probable (provided that you have refreshed the 'diverse' repo before) that zypp.conf's repo.refresh.delay came into action. Here is the explanation from that file (/etc/zypp/zypp.conf): ## ## Amount of time in minutes that must pass before another refresh. ## ## Valid values: Integer ## Default value: 10 ## ## If you have autorefresh enabled for a repository, it is checked for ## up-to-date metadata not more often than every <repo.refresh.delay> ## minutes. If an automatic request for refresh comes before <repo.refresh.delay> ## minutes passed since the last check, the request is ignored. ## ## A value of 0 means the repository will always be checked. To get the oposite ## effect, disable autorefresh for your repositories. ## ## This option has no effect for repositories with autorefresh disabled, nor for ## user-requested refresh. ## repo.refresh.delay = 10
But when I repeat this procedure couple of times then zypper finally recognizes the new repodata.
After those 10 minutes i suppose :O) So to you can either turn off the repo.refresh.delay by setting it to 0, or you can use zypper refresh -f to force the refresh, no matter what libzypp thinks about whether refresh is needed. HTH jano -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org