i want install docker in SLES 15 sp1 and this is work with anisble or Dockerfile
but I get the following message during installation:
Problem: nothing provides apparmor-parser needed by docker-19.03.12_ce-375.6.x86_64
Solution 1: do not install docker-19.03.12_ce-375.6.x86_64
Solution 2: break docker-19.03.12_ce-375.6.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c/d/?] (c):
thanks
My problem is that messages like the one above are displayed to install almost any package
What should I do if I want to set the default option myself?
I just want this question not to be asked or I have chosen the right option before asking this question
As I said, I want these steps to be done automatically by ansible
Hi
So you using third party repositories and not SLE repositories? If you download the SLES 13 SP1 Full packages DVD (SLE-15-SP1-Packages-x86_64-GM-DVD1.iso) from https://www.suse.com/download/sles/ not the QU4 one as I imagine this system has not been updated/registered. You can add the iso image as a local repository and apparmor-parser should be available. Or can just mount the iso image as a loop device and grab the rpm’s you need. I suspect there will be further conflicts since your using third party repos…
My server does not have access to the Internet, will connecting the image solve this problem?
I want to run tools with this operating system and all these processes should be automated, so this will not be a problem for me anymore?
Hi
Yes, if you have the iso image as a local repository (YaST Software repositories) or an internal http/https server you can connect to as a local repository.
Problem retrieving the repository index file for service ‘container-suseconnect-zypp’:
[container-suseconnect-zypp|file:/usr/lib/zypp/plugins/services/container-suseconnect-zypp]
Warning: Skipping service ‘container-suseconnect-zypp’ because of the above error.
All services have been refreshed.
Warning: There are no enabled repositories defined.
Use ‘zypper addrepo’ or ‘zypper modifyrepo’ commands to add or enable repositories.
The command ‘/bin/bash -c zypper ref -s && zypper --non-interactive in docker’ returned a non-zero code: 6
I wanted to update apparmor-parser, now it shows this error but this package does not exist on your site
Problem: nothing provides insserv needed by apparmor-parser-2.10.3-2.1.x86_64
Solution 1: do not install apparmor-parser-2.10.3-2.1.x86_64
Solution 2: break apparmor-parser-2.10.3-2.1.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c/d/?] (c):
zypper if apparmor-parser
Loading repository data…
Reading installed packages…
Information for package apparmor-parser:
Repository : apparmor-parser
Name : apparmor-parser
Version : 2.10.3-2.1
Arch : x86_64
Vendor : obs://build.opensuse.org/Cloud:Platform:SUSE-Stemcell
Support Level : unknown
Installed Size : 1.8 MiB
Installed : No
Status : not installed
Source package : apparmor-2.10.3-2.1.src
Summary : AppArmor userlevel parser utility
Description :
The AppArmor Parser is a userlevel program that is used to load in
program profiles to the AppArmor Security kernel module.
This package is part of a suite of tools that used to be named
SubDomain.