Page 1 of 4 123 ... LastLast
Results 1 to 10 of 38

Thread: download with rsync all packages and make local repo

  1. #1

    Default download with rsync all packages and make local repo

    in home I do not have internet connection , but in work I have internet connection, in home I install Fedora 14 for my 6 years old daughter and she use it for play games like supertux and openarena and ...
    So I want install opensuse for my daughter and I want test it .
    for fedora , I download all packages with rsync in work and move them to home by USN flash and then I make localrepo in home and install all packages , I need , I want do this for OpenSUSE , all of us know DVD , does not has all packages , I need , so I have to download all packages and make localrepo in home and install all packages , I need ,
    Can I do this for OpenSuse or not ,
    I want download all packages need by OpenSuse by rsysc and make loacl repo,
    How I can do this for Opensuse ???

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: download with rsync all packages and make local repo

    On 2010-11-28 10:06, mfaridi wrote:

    > How I can do this for Opensuse ???


    The only known way is to download all. Just copy the entire repo (oss and
    non-oss) as is. You may skip the architectures you do not use. If you
    replicate the repo you do not need to run makerepo, I think.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  3. #3
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    1,529

    Default Re: download with rsync all packages and make local repo

    Easy. Read here: openSUSE:Mirror infrastructure - openSUSE.

    Caveat: You will have a problem to carry your downloaded stuff home. OSS repo for 11.3 32Bit is approx. 9GB. Updates are 6GB at this time. You will need an external HD drive to store and carry.

    Example (full repo 11.1 to 11.3, 188GB):

    Code:
    prompt> cat rsync-distro
    #!/bin/bash
    # rsync the SuSE distro
    #
    rsync -rlpt --exclude-from="/drive/distro-excludelist" -hi --stats \
    rsync.opensuse.org::opensuse-full /drive/repo
    Code:
    prompt> cat distro-excludelist
    /opensuse/distribution/11.4-Milestone1
    /opensuse/distribution/11.4-Milestone2
    /opensuse/distribution/11.4-Milestone3
    /opensuse/distribution/11.4-Milestone4
    /opensuse/distribution/11.4-Milestone5
    Add everything not absolutely needed to distro-excludelist.
    Technology is 'stuff that doesn't work yet.' -- Bran Ferren

  4. #4

    Default Re: download with rsync all packages and make local repo

    Wow , I can not believe , I have to download 188GB for make local repo
    I downloaded all rpm packages for Fedora 14 32 bit and make local repo and all of them was 25GB and move them to home by USB flash.
    I need only rpm packages and need only packages use by OpenSUSE 11.3 and I do not want update packages , and I will download packages for OpenSuse 11.4 when it release

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: download with rsync all packages and make local repo

    On 2010-11-28 14:36, mfaridi wrote:
    >
    > Wow , I can not believe , I have to download 188GB for make local repo
    > I downloaded all rpm packages for Fedora 14 32 bit and make local repo
    > and all of them was 25GB and move them to home by USB flash.
    > I need only rpm packages and need only packages use by OpenSUSE 11.3
    > and I do not want update packages , and I will download packages for
    > OpenSuse 11.4 when it release


    You have to choose what you download. Each repo has directories for each
    architecture, like 64 or 32 bits, sources... select the directories you need.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  6. #6

    Default Re: download with rsync all packages and make local repo

    I need ony packages use OpenSUSE 11.3 x64 and I want install them and make local repo and install all packages I need , like VLC , mplayer , Nvidia Driver for games like openarena and tuxracer

  7. #7

    Default Re: download with rsync all packages and make local repo

    another questions about this topic , in FreeBSD we have folder , name of this folder is
    Code:
    distfiles
    when we install packages , after installation package , we can find original files in
    Code:
    distfiles
    and we can copy all files and move them to other FreeBSD machine and install that packages , it is good , when our machine does not has internet connection and FreeBSD box use distiles for install packages , when FreeBSD can not find files in
    Code:
    distfiles
    FreeBSD box try download it from internet ,
    Does we have something like this for OpenSUSE , for example I download all packages and then move them to that folder for example cache directory and then start install packages from that directory ?

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: download with rsync all packages and make local repo

    On 2010-11-28 16:36, mfaridi wrote:
    >
    > another questions about this topic , in FreeBSD we have folder , name of
    > this folder is
    > Code:
    > --------------------
    > distfiles
    > --------------------
    > when we install packages , after installation package , we can find
    > original files in


    Configure repos (zypper, yast) to keep downloaded packages. Then export the
    directory via nfs, import in other machines, configure repos in the same
    way, make links if needed.

    Not automatic.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  9. #9

    Default Re: download with rsync all packages and make local repo

    But I want make locl repo , I want make local repo on my HDD and install from HDD , I do this with Fedora and want do this with OpenSuse

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: download with rsync all packages and make local repo

    On 2010-12-01 07:06, mfaridi wrote:
    >
    > But I want make locl repo , I want make local repo on my HDD and install
    > from HDD , I do this with Fedora and want do this with OpenSuse


    As I said, there is no automated method to do this in openSUSE. You have to
    setup it manually. There are several procedures, and you need to know how
    things work.

    One possibility, from David C. Rankin:

    http://www.3111skyline.com/linux/ope...ocalUpdate.php
    http://www.3111skyline.com/download/...manage.tar.bz2

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

Page 1 of 4 123 ... 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
  •