Changes between Version 2 and Version 3 of MakeLocalUbuntuRepo


Ignore:
Timestamp:
09/03/14 12:18:31 (10 years ago)
Author:
rrhain@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MakeLocalUbuntuRepo

    v2 v3  
    664. Add a line to your sources.list pointing at your repository
    77
    8 Install dpkg-dev
     8== Install dpkg-dev ==
    99
    1010Type in a terminal
     
    2222Previously downloaded Packages are generally stored on your system in the /var/cache/apt/archives directory. If you have installed apt-cacher you will have additional packages stored in its /packages directory.
    2323
    24 The Script update-mydebs
     24== The Script update-mydebs ==
    2525
    2626It's a simple three liner:
     
    3838dpkg-scanpackages looks at all the packages in mydebs, and the output is compressed and written to a file (Packages.gz) that apt-get update can read (see below for a reference that explains this in excruciating detail). /dev/null is an empty file; it is a substitute for an override file which holds some additional information about the packages, which in this case is not really needed. See deb-override(5) if you want to know about it.
    3939
    40 Sources.list
     40== Sources.list ==
    4141
    4242add the line
     
    4646to your /etc/apt/sources.list, and you're done.
    4747
    48 CD Option
     48== CD Option ==
    4949
    5050You can burn the directory containing the debs to a CD and use that as a repository as well (good for sharing between computers). To use the CD as a repository, simply run
     
    5252sudo apt-cdrom add
    5353
    54 Using the Repository
     54== Using the Repository  ==
    5555
    5656Whenever you put a new deb in the mydebs directory, run