@if (data !== null) { @if (data.result.data.isDebianBased && ( data.result.data.isOldRepositoryInUse || data.result.data.hasError )) {
{{ t('APT Repository - Manually action required!') }}

{{ t('Please contact your system administrator.') }}

@if (!data.result.data.repositoryCheckerExists) {

{{ t('Error code') }}:
{{ data.result.data.RepositoryCheckerExistsError }}

} @if (!data.result.data.repositoryCheckerIsReadable) {

{{ t('Error code') }}:
{{ data.result.data.repositoryCheckerIsReadableError }}
{{ t('Try') }}
chmod 644 {{ data.result.data.RepositoryCheckerIsReadableSourcesList }}

} @if (data.result.data.isOldRepositoryInUse) {

{{ t('Your system is using the old openITCOCKPIT APT repository, which will be shut down soon.') }}
{{ t('Please update your sources.list to use our new repository') }}
apt-get update
apt-get install openitcockpit-release
dpkg-reconfigure openitcockpit-release

} @if (data.result.data.isOldRepositoryInUseError) {

{{ t('Error code') }}:
{{ data.result.data.isOldRepositoryInUseError }}

}
} @if (data.result.data.isRhelBased && data.result.data.hasError) {
{{ t('DNF Repository - Manually action required!') }}

{{ t('Please contact your system administrator.') }}

@if (!data.result.data.dnfRepositoryCheckerExists) {

{{ t('Error code') }}:
{{ data.result.data.dnfRepositoryCheckerExistsError }}

} @if (!data.result.data.dnfRepositoryIsReadable) {

{{ t('Error code') }}:
{{ data.result.data.dnfRepositoryIsReadableError }}
{{ t('Try') }}
chmod 644 {{ data.result.data.dnfRepositoryRepoConfig }}

}
} }