[opensuse] Problem with zypper
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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) .... Alle Repositories wurden aktualisiert. After that still no luck with packet manager finding webpin-0.8-1.guru.suse103.i586.rpm But when I repeat this procedure couple of times then zypper finally recognizes the new repodata. Have you experienced similar while using zypper? - -- Cheers Jan cat /etc/SuSE-release openSUSE 10.3 (i586) VERSION = 10.3 uname -r 2.6.22.12-0.1-default zypper -v rl h_ttp://download.opensuse.org/update/10.3 h_ttp://download.nvidia.com/opensuse/10.3 ftp5.gwdg.de/pub/linux/misc/packman/suse/10.3 ftp5.gwdg.de/pub/opensuse/distribution/10.3/repo/oss/suse ftp5.gwdg.de/pub/opensuse/distribution/10.3/repo/non-oss/suse ftp5.gwdg.de/pub/opensuse/repositories/Emulators:/Wine/openSUSE_10.3 ftp5.gwdg.de/pub/opensuse/repositories/OpenOffice.org:/STABLE/openSUSE_10.3 ftp5.gwdg.de/pub/opensuse/repositories/KDE:/Backports/openSUSE_10.3 ftp5.gwdg.de/pub/opensuse/repositories/mozilla/openSUSE_10.3 ftp5.gwdg.de/pub/opensuse/repositories/KDE:/KDE3/openSUSE_10.3 ftp5.gwdg.de/pub/opensuse/repositories/GNOME:/STABLE/openSUSE_10.3 ftp5.gwdg.de/pub/opensuse/repositories/GNOME:/Community/openSUSE_10.3 ftp5.gwdg.de/pub/opensuse/repositories/X11:/XGL/openSUSE_10.3 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHToMfSXKkixf2bBcRAgXeAJ4rutoxMzgKw/WMqyYNpIN+TEiPFQCgsdV+ mO7lPKT7/S0h8lmnNBL8Zbc= =2DAa -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
participants (2)
-
Jan Kupec
-
Jan Tiggy