You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compilation failed due to check function to update resource state after installation does not check the version of installed package.
If we configured to install specific version package, compilation failed all time.
Cause
The check function use installed package information from package manager by parse function. The parse function is implemented to take the information of version too, but the check function does not use the version information to check after installation it on completed.
Right now we do not support anything but package name for PackageResource, I am looking at the best way to implement making sure a specific version is installed but it will most likely not be by setting the apt version install format and instead a more generic version field.
Summary
Compilation failed due to check function to update resource state after installation does not check the version of installed package.
If we configured to install specific version package, compilation failed all time.
Cause
The check function use installed package information from package manager by parse function. The parse function is implemented to take the information of version too, but the check function does not use the version information to check after installation it on completed.
check function
osconfig/config/package_resource.go
Lines 308 to 310 in cefab26
parse function
osconfig/packages/apt_deb.go
Line 304 in cefab26
package cache use only "package name"
osconfig/config/package_resource.go
Lines 268 to 271 in cefab26
Reproduction of failure
The text was updated successfully, but these errors were encountered: