Results 1 to 4 of 4

Thread: Zypper patching using file as input

Hybrid View

  1. #1

    Post Zypper patching using file as input

    Hello ,

    I have a scenario where in i have to patch the server running a application (SLES12sp3) . The server is build with limited set of rpm's . Now i need to find out a way so that i can search for updates and download only rpm's specified . For example 300 rpm's specified in a file as a input to zypper .
    I have enrolled for free subscription on SUSE and got 60 day free period for trying this case.Till now i am not getting this job done .
    Any help would be helpfull.

  2. Re: Zypper patching using file as input

    Quote Originally Posted by khandv4 View Post
    Hello ,

    I have a scenario where in i have to patch the server running a application (SLES12sp3) . The server is build with limited set of rpm's . Now i need to find out a way so that i can search for updates and download only rpm's specified . For example 300 rpm's specified in a file as a input to zypper .
    I have enrolled for free subscription on SUSE and got 60 day free period for trying this case.Till now i am not getting this job done .
    Any help would be helpfull.
    Hi and welcome to the Forum
    I would suggest grabbing the one year developer (free) license, de-register the system and then re-register with your developer code to give some extra time....
    https://www.suse.com/subscriptions/developer/

    You could just download all the updates with zypper --download-only, either all or just patches with --type patch option to the zypper cache and then move them to a plain directory repository to stage your updates.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Re: Zypper patching using file as input

    Thanks Malcom,
    However the scenario i am dealing with is i have a server which is acting as a repo host for our application build. The server is custom built with limited set of rpm only all the rpm we get in iso. Also this server is not connected to internet or sles subscription.

    Is there a way we can write a script to search for an update maybe weekly and download only the rpm we sceficy along with the dependencies.

  4. Re: Zypper patching using file as input

    Quote Originally Posted by bspteam00 View Post
    Thanks Malcom,
    However the scenario i am dealing with is i have a server which is acting as a repo host for our application build. The server is custom built with limited set of rpm only all the rpm we get in iso. Also this server is not connected to internet or sles subscription.

    Is there a way we can write a script to search for an update maybe weekly and download only the rpm we sceficy along with the dependencies.
    Hi
    The only way would be to create a RMT server to download too and then pull files from that. Else you would need to look at the patches output from https://download.suse.com/index.jsp and manually grab.

    I either case you could copy the rpms off to say a USB device and configure as a plain rpm repository for the system to update from. You will need an active subscription to get patches or rmt running.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •