on Wednesday 05 October 2011 Cameron Seader wrote:
Is the media.1/media file on the DVD media supposed to be updated with a time stamp anytime the repository is updated?
If I run a zypper refresh then it only seems to look at the media.1/media file and then doesn't actually parse the rest of the suse/setup/descr/packages* files if it's the same number (timestamp) in there.
I had always assumed the media file was something to be left alone since the create_update script made it.
after changing the timestamp I am now able to run a zypper ref on the repository and get the updates I dropped in. Thanks,
for all I know, zypper is not reading the timestamp of the media.1/media file. I'm not even sure if that would work for http repos.
Zypper is reading the content file of the yast repo and if any of the checksums has changed, it's fetching the meta data again.
The only timestamp that is read is a local one (I don't know where exactly it is) for the implementation of repo.refresh.delay in /etc/zypp/zypp.conf The default is 10 minutes, so it's not doing a refresh if the last one is less than 10 minutes ago - per default.