[opensuse-autoinstall] when using autoyast, can a specific version of a package be required?
This is in a SLES 12 SP5 environment, not opensuse, but I'm having difficulty getting questions answered in the SLES web forums. So, I'm poking at folks here. When I use autoyast to introduce a package, I can name the package: <package>bash</package> If a repository has more than one version of a package, autoyast seems to default to using the latest version available. bash-4.3-82.1.x86_64.rpm bash-4.3-83.23.1.x86_64.rpm How can I, via autoyast, communicate I want a specific version? I tried to use <package>bash-4.3-82.1</package> But yast2 said 'no such package in the repository' (I'm paraphrasing here.) -- Brian Reichert <reichert@numachi.com> BSD admin/developer at large -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
El jueves, 25 de junio de 2020 22:59:13 (WEST) Brian Reichert escribió:
This is in a SLES 12 SP5 environment, not opensuse, but I'm having difficulty getting questions answered in the SLES web forums. So, I'm poking at folks here.
Hi Brian, If it is fine to ask about AutoYaST in this mailing list, even if it is not openSUSE. After all, the AutoYaST code is pretty much the same in both cases.
When I use autoyast to introduce a package, I can name the package:
<package>bash</package>
If a repository has more than one version of a package, autoyast seems to default to using the latest version available.
bash-4.3-82.1.x86_64.rpm bash-4.3-83.23.1.x86_64.rpm
Actually, AutoYaST just relies on libzypp when it comes to select packages for installation/upgrade and solve dependencies. So there is no way to influence that.
How can I, via autoyast, communicate I want a specific version? I tried to use
<package>bash-4.3-82.1</package>
But yast2 said 'no such package in the repository' (I'm paraphrasing here.)
Yes, it assumes that you are trying to install a package called like that. Sorry, but you cannot select an specific version. Perhaps you could workaround this problem but writing a post-script that "downgrades" bash to the version you want after installation. Just an idea... Regards, Imo -- Imobach González Sosa YaST Team at SUSE LLC https://imobachgs.github.io/ -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
participants (2)
-
Brian Reichert
-
Imobach González Sosa