Re: when using autoyast, can a specific version of a package be required?

Imobach González Sosa <[email protected]> Fri, 26 Jun 2020 08:24:50 +0100
Newsgroups gmane.linux.suse.autoinstall
Organization SUSE LLC
Message-ID <4035214.ymGELWfO2y@bimbache>
El jueves, 25 de junio de 2020 22:59:13 (WEST) Brian Reichert escribi=F3:
> 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=
=20
openSUSE. After all, the AutoYaST code is pretty much the same in both case=
s.

> When I use autoyast to introduce a package, I can name the package:
>=20
>   <package>bash</package>
>=20
> If a repository has more than one version of a package, autoyast seems to
> default to using the latest version available.
>=20
>   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=20
installation/upgrade and solve dependencies. So there is no way to influenc=
e=20
that.

> How can I, via autoyast, communicate I want a specific version?  I tried =
to
> use
>=20
>   <package>bash-4.3-82.1</package>
>=20
> But yast2 said 'no such package in the repository' (I'm paraphrasing here=
=2E)

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 workaro=
und=20
this problem but writing a post-script that "downgrades" bash to the versio=
n=20
you want after installation. Just an idea...

Regards,
Imo

=2D-=20
Imobach Gonz=E1lez Sosa
YaST Team at SUSE LLC
https://imobachgs.github.io/


-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]