On Thu, 2021-02-25 at 16:29 +0100, Felix Meessen wrote:
I'm on Tumbleweed.
Does zypper dup reload the current status of my repositories with newer packages, or do I have to run zypper ref first?
Or is that what the man page means by "auto-refresh", and in that case, how do I configure that?
The info I found online is conflicting. Wiki says zypper dup is enough, but it also says I get a notification about new packages, which I don't. I'm guessing that's only valid for Leap, but not sure about this either.
Thanks.
The automatic refreshing option is enabled on a per-repository basis. You can check which repos on your system auto- refresh by listing the repos and looking at the associated 'refresh' flags. Looking at which repositories have auto- refresh enabled is also possible using yast if you prefer. Usually zypper dup is enough because the base repos have auto-refresh enabled by default, but I think if you add repos manually using zypper (e.g. zypper ar ...) then auto-refresh is not enabled. Best is to first check what the status is on your system and adjust accordingly. You can see that I have all my repositories listed as auto-refreshing below: $ zypper repos Repository priorities in effect: (See 'zypper lr -P' for details) 98 (raised priority) : 3 repositories 99 (default priority) : 19 repositories # | Alias | Name | Enabled | GPG Check | Refresh ---+----------------------------------+-----------------------------------------------+---------+-----------+-------- 1 | code | Visual Studio Code | Yes | (r ) Yes | Yes 2 | devel-scala | devel:languages:scala | Yes | (r ) Yes | Yes 3 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes 4 | download.opensuse.org-oss | Main Repository (OSS) | Yes | (r ) Yes | Yes 5 | download.opensuse.org-tumbleweed | Main Update Repository | Yes | (r ) Yes | Yes 6 | libdvdcss | libdvdcss repository | Yes | (r ) Yes | Yes 7 | packman | Packman Repository | Yes | (r ) Yes | Yes 8 | repo-debug | openSUSE-Tumbleweed-Debug | No | ---- | ---- 9 | repo-source | openSUSE-Tumbleweed-Source | No | ---- | ---- 10 | science | science | Yes | (r ) Yes | Yes Cheers, Chris