Changes between Version 9 and Version 10 of MakeLocalUbuntuRepo
- Timestamp:
- 10/14/14 11:05:01 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MakeLocalUbuntuRepo
v9 v10 16 16 == The Directory == 17 17 18 Create a directory where you will keep your packages. For this example, we'll use / usr/local/mydebs.18 Create a directory where you will keep your packages. For this example, we'll use /home/gram/pkgs. 19 19 20 20 sudo mkdir -p /home/gram/pkgs … … 40 40 41 41 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. 42 43 Then you have to tar up the ./pkgs directory - tar cvzf gram_pkgs.tar.gz ./pkgs 42 44 43 45 == Sources.list ==