On Monday, March 04 2019, Miroslav Suchý wrote:

> Dne 04. 03. 19 v 7:36 Richard W.M. Jones napsal(a):
>> Why is the --setopt parameter needed?  Couldn't that be based on
>> $releasever?
> For the record - we are speaking about:
>   --setopt=module_platform_id=platform:f30
> I spoke to DNF team and:
>   * there is no definition of platform_id
>   * while it seams that it can be constructed from $RELEASEVER, there is no 
> guarantee that it will be this way in future
> (even soft gurantee, i.e. there is no documentation)
>   * it is only defined that module_platform_id is derived from PLATFORM_ID 
> from /etc/os-release
>   * that package we get only after upgrade
>   * but for the upgrade we need new PLATFORM_ID
>   * DNF cannot construct it, because the construction method is not defined
> ... and circle is closed. So yes, we need it until there will be 
> documentation how to derive PLATFORM_ID of (next) release.

FWIW, I was bit by this a few days ago:


The workaround is to use the --setopt option above.


GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 

Reply via email to