[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debian-Depot (repository) mit debarchiver erstellen



Hallo beisammen!

Ich habe heute den Vorschlag von Daniel Leidert aufgegriffen und versucht mir 
ein eigenes Debian-Depot zu erzeugen. An Werkzeugen habe ich neben 
debarchiver auch auf die beiden 
Seiten "http://www.debian.org/doc/manuals/repository-howto/repository-howto"; 
und "http://debian.wgdd.de/howto/howto-aptrep.de.html"; zurückgegriffen.

Leider stehe ich derzeit noch etwas an.

Wie man von früheren E-Mails wissen kann geht es zunächst um koffice 
Binärpakete, die ich aus den debian unstable Quellen erzeugt habe. Was habe 
ich bisher gemacht?

1.) koffice Binärpakete erzeugt
2.) debarchiver installiert
3.) HTML-Seiten (siehe oben) gelesen
4.) "/etc/debarchiver.conf" angepasst:

# This is a sample configuration file.

$destdir = "/var/lib/debarchiver/dists";
$inputdir = "/var/lib/debarchiver/incoming";
$copycmd = "cp -af";
$movecmd = "mv";
$rmcmd = "rm -f";
$vrfycmd = "dscverify";
$cinstall = "installed";
# $distinputcriteria = "^kernel.*\\.deb\$";
$distinputcriteria = "^.*\\.deb\$";

# Choose to enable or disable signature verification for packages uploaded
# into $inputdir (not %distinputdirs).
# $verifysignatures = 0;

# Choose to enable or disable signature verification for packages uploaded
# into %distinputdirs. This works indepentently from $verifysignatures.
# $verifysignaturesdistinput = 0;

# Generate bzip2 files or not (1 will generate and 0 will not do so).
# $bzip = 0;

# This one is used for debarchives that matches distinput criteria.
 %distinputdirs =
        (
        stable => 'stable',
        testing => 'testing',
        unstable => 'unstable'
        );

# What distributions that should exist.
 @distributions = ('stable', 'testing', 'unstable');

# Default major section to install to, if not defined in the uploaded files.
# $majordefault = "main";

# Mapping of aliases.
# OBS! If you create a mapping that will only be created if you have
#  added the key to @distributions above. If you want the symlink to be 
created
#  in a proper way you MUST add them at the same time. Else you will have
#  two directories that are independent (and not mapped).
 %distmapping =
        (
        stable => 'sarge',
        testing => 'etch',
        unstable => 'sid'
        );

# What architectures that should exist (automatically created).
# All and source will exist anyway.
 @architectures = ('i386');

# What sections that should exist.
 @sections = ('main', 'contrib', 'non-free');

# What changes file fields that should be used for determine where to send
# mail. If there is an '@' character is found here it will be used directly
# without consulting the .changes-file. Default is to mail no one. If there
# is an '@' character in the beginning, the user owning the file will be
# prepended.
# @mailtos = ('Maintainer',          The Maintainer field in control file
#             'Uploaders',           The Uploaders field in control file
#             '@bar.com',            User id @bar.com that own the changes 
file
#             'installer@foo.com',   An explicit email address
#             'Changed-By');         The email in the changelog file

# If you want additional information in the generated Release files you have
# to set this hash-value.  Supported keys are origin, label, and description.

# %release = (  'origin' => "",
#               'label' => "",
#               'description' => "");

# Where to put the apt-ftparchive cache files if --index is used.  Default
# is /var/cache/debarchiver.  Must be a directory.
# $cachedir = '/var/cache/debarchiver';

# GnuPG key to use to sign the archive.
# $gpgkey = "";

# File to provide password to GnuPG.
# If you use a key with an empty passphrase, set this variable to 0 or "".
# If the file does not exist, debarchiver will also fall back to "".
# $gpgpassfile = "$ENV{HOME}/.gnupg/passphrase";

5.) diverse Debian Paekete (z.B. karbon_1.5.1-1_i386.deb) 
nach "/var/lib/debarchiver/incoming/testing/" kopiert.
6.) "/etc/apt/sources.list" angepasst

# Mein persönliches Debian Archiv.
deb file:/var/lib/debarchiver/dists/ testing main

7.) "aptitude update" ausgeführt

2B wurden in 1s heruntergeladen (2B/s)
Paketlisten werden gelesen... Fertig
W: Kann nicht auf die Liste file: testing/main Packages 
(/var/lib/apt/lists/_var_lib_debarchiver_dists_dists_testing_main_binary-i386_Packages) 
der Quellpakete zugreifen. - stat (2 Datei oder Verzeichnis nicht gefunden)
W: Sie wollen vielleicht die Paketlisten aktualisieren um die fehlenden 
Dateien zu ergänzen
W: Kann nicht auf die Liste file: testing/main Packages 
(/var/lib/apt/lists/_var_lib_debarchiver_dists_dists_testing_main_binary-i386_Packages) 
der Quellpakete zugreifen. - stat (2 Datei oder Verzeichnis nicht gefunden)
W: Sie möchten vielleicht »apt-get update« aufrufen, um diese Probleme zu 
lösen

8.) Der 
Befehl "view /var/lib/debarchiver/dists/testing/main/binary-i386/Packages.gz" 
bringt mir eine leere Datei zur Ansicht.

Stehe momentan etwas auf der Leitung. Ich dachte, dass mir "debarchiver" alles 
erzeugt. Ich bitte daher um etwas Hilfe. :-)

LG,
Leonhard.



Reply to: