38
Package Management Tools
will add an entry to the available file if there is not an entry there already.
If the package has an entry, the entry will be updated with the information
about this version of the package.
update avail | merge avail
When the update avail option is used, the old information about the packages
in available is replaced by the package information contained in the
file>. This file is found in the top directory of a binary distribution, so Pack
ages files can be found in binary i386/, contrib/, and non free/.
Issuing the command:
dpkg update avail /home/ftp/stable/binary i386/Packages
will replace the old available file with the contents of the Packages file found
in /home/ftp/stable/binary i386. This option is intended for use when a new
release archive is being used.
The merge avail adds the Packages file from another binary tree to the list
of available packages. The new information gets combined with the old list,
adding information on new packages to the available file. The following com
mands:
dpkg clear avail
dpkg merge avail /home/ftp/stable/binary i386/Packages
dpkg merge avail /home/ftp/contrib/Packages
dpkg merge avail /home/ftp/non free/Packages
will create an available file that reflects all three of these areas of the distri
bution archives.
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved