openSUSE / zypper

World's most powerful command line package manager
http://en.opensuse.org/Portal:Zypper
Other
403 stars 110 forks source link

Explain outdatedness of repos #463

Closed jengelh closed 1 year ago

jengelh commented 1 year ago

Image Pasted at 2022-11-3 11-42

Please have zypper explain how it came to the conclusion that a repo is outdated. In libzypp there seems to be a repositoryExpire attribute, but how is this filled and why.

mlandres commented 1 year ago

The repository metadata may define a TTL.

<suseinfo xmlns="http://linux.duke.edu/metadata/repo">
  <expire>2592000</expire>
</suseinfo>

Repos doing this promise to regenerate their metadata within the specified interval. If they don't, you may be connected to a broken mirror or the repo is discontinued.

Maybe we can rephrase the message.