Repositorios Debian
Upcoming SlideShare
Loading in...5
×
 

Repositorios Debian

on

  • 4,014 views

 

Statistics

Views

Total Views
4,014
Views on SlideShare
4,008
Embed Views
6

Actions

Likes
0
Downloads
21
Comments
0

2 Embeds 6

http://www.slideshare.net 4
http://www.f2suporte.com 2

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Repositorios Debian Repositorios Debian Presentation Transcript

  • Debian Software Repository
  • Index
    • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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
  • 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
  • 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
  • Client
    • /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.