libzypp _ Builtin repository variables:
Hi, reviewing libzypp > Repository Variables > Builtin repository variables located here > https://doc.opensuse.org/projects/libzypp/HEAD/zypp-repovars.html openSUSE Tumbleweed installed on machine, snapshot 20241211 passing the following commands below arch x86_64 - basearch basearch: command not found - releasever releasever: command not found - releasever_minor releasever_minor: command not found - releasever_major releasever_major: command not found - releasever and $releasever_minor is empty. - A majority of these builtin repository variables do not provide any information. Can you tell me why this is?
On Thu, 12 Dec 2024 15:41:09 -0600, -pj via openSUSE Users <users@lists.opensuse.org> wrote:
Hi, reviewing libzypp > Repository Variables > Builtin repository variables located here > https://doc.opensuse.org/projects/libzypp/HEAD/zypp-repovars.html
openSUSE Tumbleweed installed on machine, snapshot 20241211
passing the following commands below arch x86_64 - basearch basearch: command not found - releasever releasever: command not found - releasever_minor releasever_minor: command not found - releasever_major releasever_major: command not found - releasever and $releasever_minor is empty. - A majority of these builtin repository variables do not provide any information. Can you tell me why this is?
They are not commands. Those variables are used in certain configuration files and zypper commands. See 'man zypper' and search for "releasever". -- Robert Webb
On 12-12-2024 05:12PM, Robert Webb via openSUSE Users wrote:
On Thu, 12 Dec 2024 15:41:09 -0600, -pj via openSUSE Users <users@lists.opensuse.org> wrote:
Hi, reviewing libzypp > Repository Variables > Builtin repository variables located here > https://doc.opensuse.org/projects/libzypp/HEAD/zypp-repovars.html
openSUSE Tumbleweed installed on machine, snapshot 20241211
passing the following commands below arch x86_64 - basearch basearch: command not found - releasever releasever: command not found - releasever_minor releasever_minor: command not found - releasever_major releasever_major: command not found - releasever and $releasever_minor is empty. - A majority of these builtin repository variables do not provide any information. Can you tell me why this is?
They are not commands. Those variables are used in certain configuration files and zypper commands. See 'man zypper' and search for "releasever". -- Robert Webb Thanks Robert Webb, Passing 'man zypper' then '/ releasever' provides highlights. do you have any tips for use with Tumbleweed that you may have time to share? I have been typically setting up Tumbleweed with use of Packman Essentials. -Seasons Greetings🫥
On Thu, 12 Dec 2024 18:03:41 -0600, -pj via openSUSE Users <users@lists.opensuse.org> wrote:
On 12-12-2024 05:12PM, Robert Webb via openSUSE Users wrote:
On Thu, 12 Dec 2024 15:41:09 -0600, -pj via openSUSE Users <users@lists.opensuse.org> wrote:
Hi, reviewing libzypp > Repository Variables > Builtin repository variables located here > https://doc.opensuse.org/projects/libzypp/HEAD/zypp-repovars.html
They are not commands. Those variables are used in certain configuration files and zypper commands. See 'man zypper' and search for "releasever".
Passing 'man zypper' then '/ releasever' provides highlights. do you have any tips for use with Tumbleweed that you may have time to share? I have been typically setting up Tumbleweed with use of Packman Essentials.
Sure. Don't use those variables. I have never used them, and I have also never edited the *.repo and *.service files. Any changes have been through my use of zypper commands or yast. Read and re-read the zypper man page. My go-to zypper man page search (it does miss a few commands): ^ {7}[^ ]+ \(\w+\) The 'releasever' variable in particular I don't think is relevant to Tumbleweed. It looks to be for Leap versions. Also, recently, there is some extra repository automation which I am only familiar with because of people posting in these mailing lists about problems with their manual repository settings or self-made scripts conflicting with the new automation. So unless you have a particular need, don't mess with stuff you don't have to. For Packman Essentials, follow the directions in: https://en.opensuse.org/Additional_package_repositories#Packman and pay attention to the warnings. And Thank You, to all the distribution developers, for the magic that makes updates/upgrades almost always do the right thing. -- Robert Webb
participants (2)
-
-pj
-
Robert Webb