Results 1 to 5 of 5

Thread: share a cache of packages to save bandwith

  1. #1

    Red face share a cache of packages to save bandwith

    Hi.
    does anyone know a way to share the packages downloaded at my dektop with my notebook?
    What I want to do is click to install a package at my laptop, make yast check if the file is already downloaded at my desktop, if so use the package from the dektop, if not, download from a internet repository. Similar with what apt-cacher does.
    Can anyone help?

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,325
    Blog Entries
    15

    Default Re: share a cache of packages to save bandwith

    Quote Originally Posted by lucaspglinard
    Hi.
    does anyone know a way to share the packages downloaded at my dektop
    with my notebook?
    What I want to do is click to install a package at my laptop, make yast
    check if the file is already downloaded at my desktop, if so use the
    package from the dektop, if not, download from a internet repository.
    Similar with what apt-cacher does.
    Can anyone help?
    Hi
    If you setup the desktop directory as a samba share, then use cifs/smb
    to point at it and use the 'plain rpm' feature to create it on your
    laptop. That's all I do here with both rpm's and iso images with a NAS.

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.25-0.1-default
    up 10 days 5:09, 2 users, load average: 0.17, 0.13, 0.09
    GPU GeForce 8600 GTS Silent - Driver Version: 190.18


  3. #3
    Join Date
    Nov 2008
    Location
    N. Wales
    Posts
    1,028

    Default Re: share a cache of packages to save bandwith

    Malcolm adjusted his/her AFDB on Saturday 15 Aug 2009 02:34 to write:

    >
    Quote Originally Posted by lucaspglinard
    > Hi.
    > does anyone know a way to share the packages downloaded at my dektop
    > with my notebook?
    > What I want to do is click to install a package at my laptop, make yast
    > check if the file is already downloaded at my desktop, if so use the
    > package from the dektop, if not, download from a internet repository.
    > Similar with what apt-cacher does.
    > Can anyone help?
    >
    > Hi
    > If you setup the desktop directory as a samba share, then use cifs/smb
    > to point at it and use the 'plain rpm' feature to create it on your
    > laptop. That's all I do here with both rpm's and iso images with a NAS.
    >


    Ewww!!.. Malcolm, samba ick.. unless of course your NAS is only winblows
    orientated I will forgive you but please wash your mouth out.

    ;-)

    To the OP, if this is between 2 or more linux boxen then nfs is probably a
    much better way of sharing stuff, and personally I would create a specific
    directory in your /home/<username> for sharing rather than using your
    desktop and then share that.

    Then at the other machines you can configure that dir as a NFS source by
    using YaST add repositories, there is a specific option there for just this
    reason.


    HTH

    --
    Mark
    Caveat emptor
    Nullus in verba
    Nil illegitimi carborundum

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,325
    Blog Entries
    15

    Default Re: share a cache of packages to save bandwith

    > Malcolm adjusted his/her AFDB on Saturday 15 Aug
    > 2009 02:34 to write:

    <snip>
    > Ewww!!.. Malcolm, samba ick.. unless of course your NAS is only
    > winblows orientated I will forgive you but please wash your mouth out.


    > ;-)

    <snip>
    YES SIR!!!
    Alas, it's a linksys...but a hacked one
    Code:
    BusyBox v1.00-rc2 (2009.02.01-05:21+0000) Built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    $ uname -a
    Linux muppet-nas200 2.6.19 #88 Sat Jan 31 22:15:55 MST 2009 i486 unknown
    $ cat /proc/cpuinfo
    processor	: 0
    vendor_id	: unknown
    cpu family	: 4
    model		: 0
    model name	: 486
    stepping	: unknown
    fdiv_bug	: no
    hlt_bug		: no
    f00f_bug	: no
    coma_bug	: no
    fpu		: no
    fpu_exception	: no
    cpuid level	: -1
    wp		: yes
    flags		:
    bogomips	: 49.76
    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.25-0.1-default
    up 10 days 17:53, 2 users, load average: 0.02, 0.07, 0.08
    GPU GeForce 8600 GTS Silent - Driver Version: 190.18


  5. #5

    Default Re: share a cache of packages to save bandwith

    Hi.
    First sorry about the delay. Second. THanks for the reply.
    How do I make Yast save the packages I install? Doesn't it delete after install??

Posting Permissions

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