Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Cloning the 15.0 repository locally

  1. #1

    Default Cloning the 15.0 repository locally

    I intend to use 15.0 for at least three to five years, after which I will upgrade to the latest available version of OpenSUSE.

    I also notice that OpenSUSE removes repositories when a specific version has been discontinued. For 15.0, this discontinuation date is supposedly some time in November this year.

    Thus I need to clone the entire 15.0 repository to ensure that it remains available for my use until at least 2022. How much space do I need to create a local clone of the entire repository, and how do I go about doing it?

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,916
    Blog Entries
    2

    Default Re: Cloning the 15.0 repository locally

    The repos are available online... just not officially.

    You'll find the ISO images, OSS and non-OSS repos for old versions at the following link

    https://ftp5.gwdg.de/pub/opensuse/di.../distribution/

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,487
    Blog Entries
    15

    Default Re: Cloning the 15.0 repository locally

    On Mon 11 Feb 2019 10:46:03 PM CST, tsu2 wrote:

    The repos are available online... just not officially.

    You'll find the ISO images, OSS and non-OSS repos for old versions at
    the following link

    https://ftp5.gwdg.de/pub/opensuse/di.../distribution/

    TSU


    Hi
    The OP can also look at using rsync or ftp from a mirror close to there
    locale...
    https://mirrors.opensuse.org/list/15.0.html

    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.28-default
    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
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,916
    Blog Entries
    2

    Default Re: Cloning the 15.0 repository locally

    Also,
    Since the next LEAP version is a minor upgrade (15.1), depending on your reasons for staying on 15.0, the upgrade from 15.0.15.1 is expected to be relatively painless and will ensure official support through patching and component updates for the next year and a half or so... Until approx 2022(?).

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  5. #5

    Default Re: Cloning the 15.0 repository locally

    I need instructions on how to clone the complete OpenSUSE repositories and then add these cloned repos to zypper so that the official mirrors can be removed from the repo list.

    This way, any future packages can be retrieved locally and will not require going online. Which is important for keeping OpenSUSE 15.0 around for at least 3 -5 more years. I will not be upgrading to OpenSUSE 15.1 or 15.2 or 15.x during this period at all and I want OpenSUSE 15.0 with all its existing repositories 'frozen' permanently in local storage.

    This repository is strictly for personal use.

  6. #6
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,475

    Cool Re: Cloning the 15.0 repository locally

    Quote Originally Posted by Etna View Post
    I need instructions on how to clone the complete OpenSUSE repositories and then add these cloned repos to zypper so that the official mirrors can be removed from the repo list.
    The answer was in Malcom's reply to Tsu:
    The OP can also look at using rsync or ftp from a mirror close to there
    locale...
    <https://mirrors.opensuse.org/list/15.0.html>
    There's also this openSUSE “How To”: <https://en.opensuse.org/openSUSE:Mirror_howto>

  7. #7

    Default Re: Cloning the 15.0 repository locally

    Quote Originally Posted by dcurtisfra View Post
    The answer was in Malcom's reply to Tsu:

    There's also this openSUSE “How To”: <https://en.opensuse.org/openSUSE:Mirror_howto>
    I do not want to set up a public mirror.

    I want to clone the entire repo to $HOME/Downloads and make zypper recognize it as THE de facto OpenSUSE repository.

    There is completely no reason to do all those complicated Apache httpd config for such things. Why the heck will I need to install a web server just for such purposes?

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,487
    Blog Entries
    15

    Default Re: Cloning the 15.0 repository locally

    Quote Originally Posted by Etna View Post
    I do not want to set up a public mirror.

    I want to clone the entire repo to $HOME/Downloads and make zypper recognize it as THE de facto OpenSUSE repository.

    There is completely no reason to do all those complicated Apache httpd config for such things. Why the heck will I need to install a web server just for such purposes?
    Hi
    If you looked through the article instead of lambasting the Forum users, it has the rsync command in there to use and configure as your require.

    There was a Forum post yesterday where a user is using rsync to mirror a repository.

    If you don't want to run a server (and the mirror does not need to be public), then need to use rsync or ftp to pull the repo down, then you need to look at createrepo (don't forget to add the repo keys), do you need debug packages?

    Here is a user that wrote some scripts;
    https://github.com/ifad/opensuse-mirror
    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!

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,487
    Blog Entries
    15

    Default Re: Cloning the 15.0 repository locally

    Hi
    Another thought, you can always run python's built in web server....

    Code:
    cd ~/Downloads
    python -m SimpleHTTPServer 18080
    Open your browser, http://localhost:18080, I would suggest a directory other than Downloads and a port of your desire to serve up the files on...
    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!

  10. #10
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,475

    Talking Re: Cloning the 15.0 repository locally

    Quote Originally Posted by Etna View Post
    I do not want to set up a public mirror.
    That's OK – the “How To” is for the general case – you simply have to leave out the bits related to setting up a public mirror …

    But, up until now, you didn't mention that, you didn't want to set up the mirror on a private server within your private network …

    Quote Originally Posted by Etna View Post
    I want to clone the entire repo to $HOME/Downloads and make zypper recognize it as THE de facto OpenSUSE repository.
    In other words, your single machine has an enormous user partition which has enough free space alongside everything else that your doing – including running the application which absolutely needs a frozen Leap 15.0 after the “End of life” date …

    Given the need to securely backup at least the mirrored repositories, IMHO, this is an extremely dangerous method of maintaining Leap 15.0 repositories for years after the EOL date …

    May I suggest that, you look into setting up a NAS with at least a 3-disk RAID, better a 5-disk RAID, on your private network, for the mirrored repositories.
    • Ideally, despite the RAID, that NAS should also have access to a magnetic tape system for regular backups of the mirrored repositories …

    You won't need to setup a Web Server on the NAS – simply setting up an NFS export for the directory containing the mirrored repositories will be sufficient …
    • The client machine(s) on your private network can simply NFS auto-mount the YaST/Zypper repositories located on the private NAS …

Page 1 of 2 12 LastLast

Posting Permissions

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