Hi. I have two exactly same servers with 11.4 x64 SLES. First one has internet and second - dont.
I installed some necessary set of packages on 1 server getting some of them from internet and some from CD.
Before downloading rpms i set cache all in zypper for every repository. But im still not sure that all packages in cache.
I need to move and install all packages that installed on 1 server to 2 server. With all dependencies. Ho can i do it ?
I’ve used the --download-only option of zypper, when doing an install, to
make sure that everything gets downloaded without getting cleaned up, and
then I’ve moved those other to the second box and just done the install
from there.
From the zypper manpage:
Download-and-install mode options:
-d, --download-only
–
Good luck.
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.
If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
Thank you.
Is there any option to force zypper scan some folder for dependencies while installing some custom package ?
You could create that directory as a repository and then add it to the
list of repositories, just like any other repository, and then zypper will
check it, in order even, as needed.
Maybe this will help, but I have not tried it myself from this page
specifically: https://en.opensuse.org/SDB:Creating_YaST_installation_sources
–
Good luck.
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.
If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.