Skip to main content

InvalidPackageError

Raised when an invalid system package is detected during image build.

Attributes

AttributeTypeDescription
package_namestrThe name of the system package that was not found in the apt repositories.
original_errorstrThe raw error message returned by the package manager during the failed detection attempt.

Constructor

Signature

def InvalidPackageError(
package_name: string,
original_error: string
) - > null

Parameters

NameTypeDescription
package_namestringThe name of the invalid system package.
original_errorstringThe error message returned by the system package manager.

Signature

def InvalidPackageError(
package_name: string,
original_error: string
) - > null

Parameters

NameTypeDescription
package_namestringThe name of the system package that was identified as invalid or missing from the repository.
original_errorstringThe raw error message or traceback received from the package manager during the failed lookup.