Repositorios Debian

50 %
50 %
Information about Repositorios Debian

Published on July 31, 2008

Author: amaneiro

Source: slideshare.net

Debian Software Repository

Index Introduction Server Index files Packages.gz Sources.gz Client

Introduction

Server

Index files

Packages.gz

Sources.gz

Client

Introduction Package Management System. Easy to install, to remove and to configure software and its dependences. Like a data base with Debian packages.

Package Management System.

Easy to install, to remove and to configure software and its dependences.

Like a data base with Debian packages.

Server Export a directory structure with files that have information about Debian packages. This structure could have a meaning (architecture, version, license). Very huge repositories have the Debian packages in other repository, pool.

Export a directory structure with files that have information about Debian packages.

This structure could have a meaning (architecture, version, license).

Very huge repositories have the Debian packages in other repository, pool.

Server To split index files and Debian packages avoid to have replicated files in different directories, for example, documentation packages. Index files and Debian packages have to be accessed by web.

To split index files and Debian packages avoid to have replicated files in different directories, for example, documentation packages.

Index files and Debian packages have to be accessed by web.

Server Trivial Repositories , more complex , directories with meaning about distribution , architecture , license. A “ dists ” directory over the root of the repository. Automatic repositories , quite simple, export directories over a root.

Trivial Repositories , more complex , directories with meaning about distribution , architecture , license. A “ dists ” directory over the root of the repository.

Automatic repositories , quite simple, export directories over a root.

Repositorio triviales Debian way and other distributions derived of Debian like Ubuntu, quite complex. Root -> dists -> distribution -> module -> architecture http://es.archive.ubuntu.com/ubuntu/ “ dists” directory over the root is mandatory.

Debian way and other distributions derived of Debian like Ubuntu, quite complex.

Root -> dists -> distribution -> module -> architecture

http://es.archive.ubuntu.com/ubuntu/

“ dists” directory over the root is mandatory.

Index Files dpkg-scanpackages to scan packages. dpkg-scansources to scan sources. Override file: information to override from packages: <package> <priority> <section> [<maintainerinfo>] It is useful, for example, to add specific information of a distribution.

dpkg-scanpackages to scan packages.

dpkg-scansources to scan sources.

Override file: information to override from packages:

<package> <priority> <section> [<maintainerinfo>]

It is useful, for example, to add specific information of a distribution.

Packages.gz Package: acpid Version: 1.0.4-5ubuntu9 Priority: optional Section: admin Maintainer: Ubuntu Core developers <ubuntu-devel-discuss@lists.ubuntu.com> Depends: libc6 (>= 2.4), lsb-base (>= 1.3-9ubuntu3), module-init-tools (>= 3.1-rel-2ubuntu2), sysv-rc (>= 2.86.ds1-14.1ubuntu2) Architecture: amd64 Filename: binary/acpid_1.0.4-5ubuntu9_amd64.deb Size: 30662 MD5sum: 5bee8d5ca583cea969c1e7a933242154 Description: Utilities for using ...... installed-size: 188

Sources.gz Format: 1.0 Package: evince Binary: evince, evince-dbg, evince-gtk, evince-gtk-dbg Architecture: any Version: 2.22.1.1-0ubuntu1 Maintainer: Ubuntu Desktop Team <ubuntu-desktop@lists.ubuntu.com> Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Sebastian Dröge <slomo@debian.org> Standards-Version: 3.7.2 Build-Depends: autotools-dev, cdbs, debhelper (>= 5), gnome-doc-utils (>= 0.3.2), gnome-icon-theme (>= 2.17.1), gnome-pkg-tools ...... Directory: sources Files: a392b3b775c0280e346b4a36f7bc5f70 1449 evince_2.22.1.1-0ubuntu1.dsc d263b1cb3968c65ccb3659bce9490dd5 2457208 evince_2.22.1.1.orig.tar.gz 5a20dedeb98a228ad8b4821f25dc17e8 57045 evince_2.22.1.1-0ubuntu1.diff.gz Original-Maintainer: Marc 'HE' Brockschmidt <he@debian.org>

Política Repositorio Debian Estructura de directorios

Estructura de directorios

Client /etc/apt/sources.list Trivial repositories : deb http://raiz-repos dist module1 module2 deb http://es.archive.ubuntu.com/ubuntu/ hardy main restricted http://es.archive.ubuntu.com/ubuntu/dists/hardy/main/binary-i386 http://es.archive.ubuntu.com/ubuntu/dists/hardy/restricted/binary-i386 deb-src search into sources directory instead of an architecture directory

/etc/apt/sources.list

Trivial repositories :

deb http://raiz-repos dist module1 module2

deb http://es.archive.ubuntu.com/ubuntu/ hardy main restricted

http://es.archive.ubuntu.com/ubuntu/dists/hardy/main/binary-i386

http://es.archive.ubuntu.com/ubuntu/dists/hardy/restricted/binary-i386

deb-src search into sources directory instead of an architecture directory

Cliente /etc/apt/sources.list Automatic repositories: deb http://repository/path/ directory/ Always finished by “/” http://repository/path/directory/Packages.gz An entry for each directory with index files

/etc/apt/sources.list

Automatic repositories:

deb http://repository/path/ directory/

Always finished by “/”

http://repository/path/directory/Packages.gz

An entry for each directory with index files

Client /var/lib/apt/lists/ Directory with the index files of the scanned repositories.

/var/lib/apt/lists/

Directory with the index files of the scanned repositories.

Exercise To create a Debian repository with your own package. Trivial repository.

To create a Debian repository with your own package.

Trivial repository.

Add a comment

Related presentations

Related pages

Debian -- Packages

View package lists View the packages in the stable distribution. This is the latest official release of the Debian distribution. This is stable and well ...
Read more

HowToSetupADebianRepository - Debian Wiki

It does not describe the format of a Debian repository. ... Goals: Local Debian package repository storing files in a pool/ directory. Pros:
Read more

UnofficialRepositories - Debian Wiki

Some software projects and some Debian developers provides extra repositories that you can use besides the official ones. There are various ...
Read more

Debian worldwide mirror sites - Debian -- The Universal ...

Debian worldwide mirror sites. Debian is distributed (mirrored) on hundreds of servers on the Internet. Using a nearby server will probably speed up your ...
Read more

5.8 Debian Repositories - Debian GNU/Linux Anwenderhandbuch

Ein Debian Repository ist eine Sammlung von Debian Paketen, die durch einige zusätzliche Dateien so organisiert sind, dass aus diesem ...
Read more

List of sections in "jessie" - Debian -- Packages

debian-installer udeb packages Special packages for building customized debian-installer variants. Do not install them on a normal system! Debug packages
Read more

Debian Sources List Generator

Usefull tool to make debian sources.list file! Debian Sources List Generator (Beta) About Add Repository Send Feedback.
Read more

Debian Backports

Debian Backports Main. Home; News; Instructions; Packages; ... Backports cannot be tested as extensively as Debian stable, and backports are provided on an ...
Read more

Sources.list – DebianforumWiki

Repository des Debian Mozilla Teams: Verschiedene Pakete/Versionen der Mozilla Produkte u.a. iceweasel und icedove. (Siehe auch Diskussion 128477.)
Read more

Repositories/Ubuntu - Community Help Wiki

What are Repositories? There are literally thousands of Ubuntu programs available to meet the needs of Ubuntu users. Many of these programs are ...
Read more