Page 7 of 9 FirstFirst ... 56789 LastLast
Results 61 to 70 of 85

Thread: HOWTO: Share updates across multiple machines

  1. #61
    Join Date
    Mar 2008
    Location
    Deep South Texas
    Beans
    1,889
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Share updates across multiple machines

    Thanks for a GREAT tutorial!

    I would like to repeat the following question asked by 'greentree'
    as I would like to do the same....
    buy the DVD's (thus saving the download), then create a local repo on my harddive, and update automatically.



    Quote Originally Posted by greentree-sa View Post
    Hi guys,
    Does anyone know how to create a local repo from DVD/CD's (Hardy 8.04) already downloaded?
    Christiaan.
    ErnestG

  2. #62
    Join Date
    Oct 2006
    Location
    Second star to the right
    Beans
    607
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Share updates across multiple machines

    Copy the .deb files in /media/cdrom/pool (these are further organised alphabetically in separate directories, so I don't know a command to accomplish this) to /var/cache/apt-cacher/import, then run this:

    Code:
    sudo /usr/share/apt-cacher/apt-cacher-import.pl
    If the packages are the same version present in the repos, this should work. You'll need to follow the additional steps for upgrades on the client machines (unless this issue has been fixed somehow. I doubt it) and likely also on the server.

    I hope that does what you want.
    I don't really mind, and it's starting to get to me.

  3. #63
    Join Date
    Jan 2008
    Location
    Auckland, New Zealand
    Beans
    3,134
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Share updates across multiple machines

    Just want to say thanks for the great tutorial! This is very useful and is working perfectly. I have one machine on Hardy and one on Intrepid at the moment, this should begin to pay off a lot when I upgrade the other one.

    (I couldn't thank your first post so thanked your most recent one)
    Last edited by ad_267; October 28th, 2008 at 11:52 PM.

  4. #64
    Join Date
    Feb 2008
    Location
    Brisbane
    Beans
    69
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: HOWTO: Share updates across multiple machines

    Hello,

    Being an Aussie and just having just been throttled (again!) to 64k, this tutorial is very handy indeed.

    One question though: On the machine that you have the server, do you also have to configure it as a client?

    That is, on the machine that I have apt-cacher installed, must I also set the proxy on the same machine? (or, for those using the sources list, the sources file to localhost)

  5. #65
    Join Date
    Feb 2008
    Location
    Brisbane
    Beans
    69
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: HOWTO: Share updates across multiple machines

    Oh, and as a separate question, how does this program differ from apt-proxy?

    https://help.ubuntu.com/community/AptProxy

  6. #66
    Join Date
    Oct 2006
    Location
    Second star to the right
    Beans
    607
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Share updates across multiple machines

    I'd recommend it. If you don't, then any packages the server downloads will not be shared, unless you write a cron job to import the server's cache regularly (or do it yourself). Seems messy to me.

    As for how this differs from Apt Proxy, this is what I decided to use when I wanted to do this. I considered Apt Proxy, but I can't remember why I didn't go with it. From what I've read, they're fairly similar in capabilities.
    I don't really mind, and it's starting to get to me.

  7. #67
    Join Date
    Nov 2007
    Location
    República de Tejas,Centro
    Beans
    232
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Share updates across multiple machines

    Quote Originally Posted by damien_d View Post
    Hello,

    Being an Aussie and just having just been throttled (again!) to 64k, this tutorial is very handy indeed.

    One question though: On the machine that you have the server, do you also have to configure it as a client?

    That is, on the machine that I have apt-cacher installed, must I also set the proxy on the same machine? (or, for those using the sources list, the sources file to localhost)
    Short answer = Yes.

    I'm assuming that you are using the "01Proxy" file in /etc/apt/apt.conf.d/ instead of modifying the sources.list on the client machines. As such:

    Code:
    Acquire::http::Proxy "http://192.ip.of.aptcacher:3142";
    I have the following file on my apt-cacher server(C20) as /etc/apt/apt.conf.d/01proxy:
    Code:
    Acquire::http::Proxy "http://localhost:3142";
    Last edited by Skip Da Shu; November 14th, 2008 at 12:38 AM. Reason: add full path
    - da shu @ HeliOS,
    "A child's exposure to technology should never be predicated on an ability to afford it."

  8. #68
    Join Date
    Jul 2007
    Location
    USA
    Beans
    194
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: HOWTO: Share updates across multiple machines

    I know this thread is rather old, but figured this might be helpful. On the Apt community wiki page I found that you can temporarily set a variable for your proxy for use with a laptop with the command:
    Code:
    export http_proxy=http://
    Works well for me as a temporary apt detour. I'm to the breaking point with updating three computers for Jaunty, so I will try this out later tonight. Thanks for posting the tutorial.
    Last edited by ace214; March 20th, 2009 at 02:29 AM.

  9. #69
    Join Date
    Oct 2006
    Location
    Second star to the right
    Beans
    607
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Share updates across multiple machines

    Thanks for that.

    I'm not sure if it'd be useful as a complete solution, since it looks like it'll only work on the command line. Still, I'll put it up as a useful tip
    I don't really mind, and it's starting to get to me.

  10. #70
    Join Date
    Jul 2007
    Location
    USA
    Beans
    194
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: HOWTO: Share updates across multiple machines

    Quote Originally Posted by coolen View Post
    Thanks for that.

    I'm not sure if it'd be useful as a complete solution, since it looks like it'll only work on the command line. Still, I'll put it up as a useful tip
    Yes, you're right you have to use the terminal apt-get commands.
    Last edited by ace214; March 20th, 2009 at 06:37 PM.

Page 7 of 9 FirstFirst ... 56789 LastLast

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
  •