[opensuse-support] Is there a way to preserve RPM packages installed via autoinst.xml?
We're using the SLES 12 SP3 DVD, and AutoYaST, to install a subset of that DVD into a new server. I want to retain the RPM packages of the installed RPMs somewhere on the filesystem. I don't see a hook in any docs for autoyast.xml / autoinst.xml to do this. Maybe there's a way of presenting a flag to zypper to retain them? I'm open to any advice people may have. Thanks! -- Brian Reichert <reichert@numachi.com> BSD admin/developer at large -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
30.08.2019 18:38, Brian Reichert пишет:
We're using the SLES 12 SP3 DVD, and AutoYaST, to install a subset of that DVD into a new server.
I want to retain the RPM packages of the installed RPMs somewhere on the filesystem.
I don't see a hook in any docs for autoyast.xml / autoinst.xml to do this.
Maybe there's a way of presenting a flag to zypper to retain them?
I'm open to any advice people may have.
Thanks!
Ignoring for the moment reply to your other question - why? What is your end goal? What are you going to do with these retained packages? -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On Fri, Aug 30, 2019 at 07:52:14PM +0300, Andrei Borzenkov wrote:
Ignoring for the moment reply to your other question - why? What is your end goal? What are you going to do with these retained packages?
To maintain an on-disk repository, to faciliate rollback of updates, if neccessary.
-- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
-- Brian Reichert <reichert@numachi.com> BSD admin/developer at large -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Would - adding a script - changing zypper config on the host - to your autoyast recipe work for you? Zypper has configurable option to keep piling up .rpms in /var/cache/zypper/RPMS/ If you provision enough disk space or point it to a network storage this could work for your need. You might need to fight a battle with delta .rpms in long term - so this is not a great solution. I used to mirror the update repositories with SMT - while it worked great, it is a monster tool and the greatest complication for such simple thing as maintaining local update mirror. The same difficulty (mirroring update repos) exists with opensuse - every time this comes up as a topic over my decades with opensuse/SLE it upsets a lot of people. I assume that mirroring repos is perceived as a threat to the business model. Hope this gives you some ideas. Tomas On Fri, 2019-08-30 at 13:16 -0400, Brian Reichert wrote:
On Fri, Aug 30, 2019 at 07:52:14PM +0300, Andrei Borzenkov wrote:
Ignoring for the moment reply to your other question - why? What is your end goal? What are you going to do with these retained packages?
To maintain an on-disk repository, to faciliate rollback of updates, if neccessary.
-- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
-- Brian Reichert <reichert@numachi.com> BSD admin/developer at large -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On 30/08/2019 21.54, tomas.kuchta.lists@gmail.com wrote:
Would - adding a script - changing zypper config on the host - to your autoyast recipe work for you?
Zypper has configurable option to keep piling up .rpms in /var/cache/zypper/RPMS/
If you provision enough disk space or point it to a network storage this could work for your need. You might need to fight a battle with delta .rpms in long term - so this is not a great solution.
This is what I do - but the problem is that, if one of the computers that shares the store is misconfigured to not keep the rpms, all are deleted and lost for every computer. Delta rpms do not make sense unless you have a slow internet connection: the CPU time needed to process them is quite large, much larger usually than downloading the full package version (using 100 Mbit/s connection).
I used to mirror the update repositories with SMT - while it worked great, it is a monster tool and the greatest complication for such simple thing as maintaining local update mirror.
The same difficulty (mirroring update repos) exists with opensuse - every time this comes up as a topic over my decades with opensuse/SLE it upsets a lot of people. I assume that mirroring repos is perceived as a threat to the business model.
That can not be true with openSUSE. SLE, perhaps, I have not thought about it. Yet, I noticed resistance to implement a proper solution. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
On 30/08/2019 17.38, Brian Reichert wrote:
We're using the SLES 12 SP3 DVD, and AutoYaST, to install a subset of that DVD into a new server.
I want to retain the RPM packages of the installed RPMs somewhere on the filesystem.
I don't see a hook in any docs for autoyast.xml / autoinst.xml to do this.
Maybe there's a way of presenting a flag to zypper to retain them?
I'm open to any advice people may have.
I think you should ask in <https://forums.suse.com/> because this list is dedicated to openSUSE, not SUSE. I don't know if my method would work for you, or if SLES has better methods. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
participants (4)
-
Andrei Borzenkov
-
Brian Reichert
-
Carlos E. R.
-
tomas.kuchta.lists@gmail.com