Results 1 to 10 of 10

Thread: opensuse offline update - github offline update - zypper package management

  1. #1

    Default opensuse offline update - github offline update - zypper package management

    https://github.com/rickysarraf/apt-offline

    This could be converted to opensuse. There is an author email you could get help from. Else, my option is to create a bash script.




    The first step is to have the script create a signature file on the offline system that contains:


    package filename (full package http link)
    repo name
    version number


    I need a better version of this command. With the above, I will be able to find and download higher versions of the software.

    Code:
    zypper --no-remote se

  2. #2

    Default Re: opensuse offline update - github offline update - zypper package management

    Code:
    zypper --no-remote search -i
    This shows a list of packages, but doesn't include some of them.

  3. #3
    Join Date
    Jun 2008
    Location
    East of Podunk
    Posts
    33,255
    Blog Entries
    15

    Default Re: opensuse offline update - github offline update - zypper package management

    Quote Originally Posted by lord_valarian View Post
    Code:
    zypper --no-remote search -i
    This shows a list of packages, but doesn't include some of them.
    Hi
    This is what I use in my RPI monitor;
    https://github.com/malcolmlewis/RPi-...itor_zypper.sh

    This should return the correct count;

    Code:
    /usr/bin/awk "BEGIN {print `/usr/bin/zypper -q --no-refresh --no-remote se -i | /usr/bin/wc -l` -3}"
    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!

  4. #4

    Default Re: opensuse offline update - github offline update - zypper package management

    If you separate the line out, clamav shows in the list.



    How do I make that show version #?

  5. #5
    Join Date
    Jun 2008
    Location
    East of Podunk
    Posts
    33,255
    Blog Entries
    15

    Default Re: opensuse offline update - github offline update - zypper package management

    Quote Originally Posted by lord_valarian View Post
    If you separate the line out, clamav shows in the list.



    How do I make that show version #?
    Hi
    Instead of -i it would be -si
    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!

  6. #6

    Default Re: opensuse offline update - github offline update - zypper package management

    Code:
    zypper -q --no-refresh --no-remote se -si
    This works.

    Creating a signature file can be done.


    I need to make the repos into network drives. I've been surfing the net for 'network drives', search the repo for the package as if it were a normal folder.

    I think I need to use 'samba', but noting, it's how to make internal not external repos i'v found

    I can't find anything more on how to turn a net repo into an internal folder without a password.

  7. #7
    Join Date
    Jun 2008
    Location
    East of Podunk
    Posts
    33,255
    Blog Entries
    15

    Default Re: opensuse offline update - github offline update - zypper package management

    Quote Originally Posted by lord_valarian View Post
    Code:
    zypper -q --no-refresh --no-remote se -si
    This works.

    Creating a signature file can be done.


    I need to make the repos into network drives. I've been surfing the net for 'network drives', search the repo for the package as if it were a normal folder.

    I think I need to use 'samba', but noting, it's how to make internal not external repos i'v found

    I can't find anything more on how to turn a net repo into an internal folder without a password.
    Hi
    Just use the python built-in http server to serve it up locally?

    For example
    Code:
    /usr/bin/python3 -m http.server 18080
    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!

  8. #8

    Default Re: opensuse offline update - github offline update - zypper package management

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Just use the python built-in http server to serve it up locally?

    For example
    Code:
    /usr/bin/python3 -m http.server 18080
    Code:
    wget --mirror -np --no-if-modified-since https://download.opensuse.org/update/leap/15.3/
    This downloads the entire repo into a local folder. Impractical...


    I need to make that remote https link into a local folder.

    Can you show that command? And how it works? I'm still at a very basic skill level in networking.

  9. #9

    Default Re: opensuse offline update - github offline update - zypper package management

    Code:
    ./offline-update -d | grep gimp 
    package_name=gimp:package_version=2.10.12-7.25:package_arch=x86_64 
    package_name=gimp-help:package_version=2.10.0-11.31:package_arch=noarch 
    package_name=gimp-lang:package_version=2.10.12-7.25:package_arch=noarch 
    package_name=gimp-plugin-aa:package_version=2.10.12-7.25:package_arch=x86_64 
    package_name=gimp-plugins-python:package_version=2.10.12-3.6.2:package_arch=x86_64 
    package_name=libgimp-2_0-0:package_version=2.10.12-7.25:package_arch=x86_64 
    package_name=libgimpui-2_0-0:package_version=2.10.12-7.25:package_arch=x86_64
    
    I have all the information stored and readable to download updates. All I need is to get the correct use and understanding of the command above.

  10. #10

    Default Re: opensuse offline update - github offline update - zypper package management

    Thanks to all, I'v read the information on here. I finally found a command that is the easiest to use.

    Code:
    #zypper in sshfs
    #sshfs --help
    Now, I'll need to start a new topic for any problems I have with getting it working with the 'opensuse 15.3' repo.

    Also, I'm web search for how to update zypper.

Tags for this Thread

Posting Permissions

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