Quote Originally Posted by kitman View Post

  1. Adding a repo (easy)
  2. How does yast/zypper read the various files in the repo?
  3. Does yast/zypper access the source rpm at the same time to get the spec file when installing a program?
  4. When do the databases in /var/lib/rpm get updated and by what files.
  5. How does yast/zypper detect an updated program? (from the https://download.opensuse.org/update/... site?)
  6. too many questions


Just put this down to curiosity rather than a problem.

Thanks again,
Chris.
WARNING: the following is an "AFAIK educated guess" open to correction by those that really know how things are done. Use it only as a starting point if you have nothing better than this.


  1. Adding a repo (easy)
  2. How does yast/zypper read the various files in the repo?
    Starts from the metadata in https://download.opensuse.org/update.../oss/repodata/ the main file being xxxx-primary.xml.gz
    A local copy is stored at /var/cache/zypp/raw/repo-update/repodata
    If need be, the metadata tells what is available for download and where to find it.
  3. Does yast/zypper access the source rpm at the same time to get the spec file when installing a program?
    No, unless you actually installed the source files of course.
  4. When do the databases in /var/lib/rpm get updated and by what files.
    I don't really know, but apparently most files there get updated when you update your system.
  5. How does yast/zypper detect an updated program? (from the https://download.opensuse.org/update/... site?)
    When the metadata shows that a newer version is available compared to what is actually installed on the system.
  6. too many questions