i have problem for automate instalation

@ali did you add the files as a local repository on the system?

yes
zypper lr -E
Repository priorities are without effect. All enabled repositories share the same priority.

| Alias | Name | Enabled | GPG Check | Refresh

—±-----------------------------±-----------------------------±--------±----------±-------
1 | SLES15-SP1_15.1-0_1 | SLES15-SP1 15.1-0 | Yes | (r ) Yes | No
3 | apache2 | apache2 | Yes | ( p) Yes | No
4 | apparmor-parser | apparmor-parser | Yes | ( p) Yes | No
5 | containerd | containerd | Yes | ( p) Yes | No
6 | docker-compose | docker-compose | Yes | ( p) Yes | No
7 | docker-distribution-registry | docker-distribution-registry | Yes | ( p) Yes | No
8 | docker-sles15 | docker-sles15 | Yes | ( p) Yes | No
9 | jalilzadeh | jalilzadeh | Yes | ( p) Yes | No
10 | local | local | Yes | ( p) Yes | No

@ali so the files are in repository number 10? Can you now show the output from zypper se insserv as I’m assuming this is the error your still seeing?

zypper se insserv
Loading repository data…
Reading installed packages…
No matching items found.

For an extended search including not yet activated remote resources you may run ‘zypper
search-packages’ at any time.
Do you want to run ‘zypper search-packages’ now? [yes/no/always/never] (no): yes

I downloaded all the required ramps and built a repository called apparmor as shown in the list

Can you just advise how I can choose solution 2 and do it with a script.

Just say that, I will solve my problem