Create & maintain local Kubuntu repository

Discussion in 'Technical' started by JoeAquilina, May 4, 2012.

  1. JoeAquilina

    JoeAquilina HowtoForge Supporter

    I am new to this forum so apologies in advance if this is posted in the wrong place.

    At my workplace, we have 2 servers running Debian 6 and have another 8 machines running Kubuntu, mostly 11.10 and about to upgrade to 12.04 LTS. Most are 64 bit machines but one is a 32 bit machine (it is infrequently used to control a scientific instrument, and is overdue for an upgrade).

    What I would like to be able to do is to setup a local repository for Kubuntu and upgrade all the Kbuntu machines from that. I have installed apt-mirror and started playing with that. However I am still quite new to Linux and am not confident of getting it right.

    Is there any how-to here at HowtoForge on just how to achieve the setup of a local repository on one of our machines, not necessarily using apt-mirror; perhaps there is some other suitable tool, and then reconfiguring all the other computers to us that local repository?

    Is it possible for the repository to include both the i-386 and amd64 architecture files or do I need two separate repositories for that? If the latter, how then do I use them both? I am guessing a more comprehensive sources.list file would do the trick.

    Also is it possible for a local repository to be only a subset of the full distro based on the software we use here or does it have to be the full distro? If so, how do I restrict the repository to just the subset I want?

    Thanks in advance to those more knowledgeable than me. Any advice is very welcome.

    Cheers.

    Joe Aquilina
     
  2. falko

    falko Super Moderator

  3. JoeAquilina

    JoeAquilina HowtoForge Supporter

    Thanks

    Thanks for the reply. I did do a search here but didn't go back far enough it seems.

    With the help of your article, I have now got my local repository setup and our updates are running smoothly from that.
     

Share This Page