Oct 24 2023 02:18 AM
Hello together,
i am trying to install the Microsoft Defender for Endpoint on an Oracle Linux 7 machine. But i stumbled upon an issue that the corresponding repository seems not to be available any longer.
The ansible script for the installation want's to use this: https://packages.microsoft.com/oraclelinux/7/prod/repodata/repomd.xml
but i am getting is error, even when performing the installation manually:
[root@machine ~]# sudo yum --enablerepo=packages-microsoft-com-prod install mdatp
Loaded plugins: ulninfo
ol7_UEKR4 | 3.0 kB 00:00:00
ol7_addons | 3.0 kB 00:00:00
ol7_latest | 3.6 kB 00:00:00
packages-microsoft-com-prod | 1.5 kB 00:00:00
https://packages.microsoft.com/oraclelinux/7/prod/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
One of the configured repositories failed (Microsoft Defender for Endpoint),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=packages-microsoft-prod ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable packages-microsoft-prod
or
subscription-manager repos --disable=packages-microsoft-prod
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=packages-microsoft-prod.skip_if_unavailable=true
failure: repodata/repomd.xml from packages-microsoft-prod: [Errno 256] No more mirrors to try.
https://packages.microsoft.com/oraclelinux/7/prod/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
[root@machine ~]#
If check on the repository in a browser i also get a 404 error. This seems to be because the folder doesn't exist any longer at https://packages.microsoft.com/. If i open this website in a browser i can see certain files and folders but nothing labled "oraclelinux".
Oracle Linux 7.2 or higher should be supported according to this article, i am using 7.7
So my question is:
Is Oracle Linux still supportet? If so where do i find the correct Repositorys for the installation?
Thanks and Kr,
Jakob