How do repositories in Debian or Ubuntu?
System repositories in Debian Linux - Ubuntu
A repository is a directory with at least some DEB packages on it, and two special files that are the Packages.gz for binary packages and Sources.gz for packet sources.
Once your repository is listed correctly in the sources.list if binary packages are listed with the keyword deb at first, apt will search the index file Packages.gz, and whether the sources are listed with the keywords deb - src to the top, it will look into the file index Sources.gz.
This is because in the file Packages.gz will find all the information of all packages, such as name, version, size, long and short descriptions, the dependencies and some additional information that is not in our interest. All information is listed and used by the administrators packs of the system such as dselect or aptitude.
However, in the file Sources.gz are listed all the names, versions and development units (ie the need to compile packages) of all packages, whose information is used by apt-get source or similar tools.
Once you've established your repositories, you will be able to list and install all your packages to those who come along in the installation disks Debian, once you've added the repository need to perform on the console:
deathbian: ~ # sudo aptitude update This is in order to update the database of our APT and thus can "tell" which packages available with our new repository. The packages will be updated when you execute it in the console.
deathbian: ~ # sudo aptitude upgrade Popularity: 1% [?]
Trackback URI | Comments RSS






