Changes between Version 2 and Version 3 of MakeLocalUbuntuRepo
- Timestamp:
- 09/03/14 12:18:31 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MakeLocalUbuntuRepo
v2 v3 6 6 4. Add a line to your sources.list pointing at your repository 7 7 8 Install dpkg-dev 8 == Install dpkg-dev == 9 9 10 10 Type in a terminal … … 22 22 Previously 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. 23 23 24 The Script update-mydebs 24 == The Script update-mydebs == 25 25 26 26 It's a simple three liner: … … 38 38 dpkg-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. 39 39 40 Sources.list 40 == Sources.list == 41 41 42 42 add the line … … 46 46 to your /etc/apt/sources.list, and you're done. 47 47 48 CD Option 48 == CD Option == 49 49 50 50 You 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 … … 52 52 sudo apt-cdrom add 53 53 54 Using the Repository 54 == Using the Repository == 55 55 56 56 Whenever you put a new deb in the mydebs directory, run