pkgrepo@kali:~/reprepro$
reprepro export
Exporting indices...
pkgrepo@kali:~/reprepro$
find .
.
./db
./db/version
./db/references.db
./db/contents.cache.db
./db/checksums.db
./db/packages.db
./db/release.caches.db
./conf
./conf/distributions
./dists
./dists/offsec-internal
./dists/offsec-internal/Release.gpg
./dists/offsec-internal/Release
./dists/offsec-internal/main
./dists/offsec-internal/main/source
./dists/offsec-internal/main/source/Release
./dists/offsec-internal/main/source/Sources.gz
./dists/offsec-internal/main/binary-amd64
./dists/offsec-internal/main/binary-amd64/Packages
./dists/offsec-internal/main/binary-amd64/Release
./dists/offsec-internal/main/binary-amd64/Packages.gz
./dists/offsec-internal/main/binary-i386
./dists/offsec-internal/main/binary-i386/Packages
./dists/offsec-internal/main/binary-i386/Release
./dists/offsec-internal/main/binary-i386/Packages.gz
./dists/offsec-internal/InRelease
As you can see,
reprepro
created the repository meta-information in a
dists
sub-directory. It
also initialized an internal database in a
db
sub-directory.
It is now time to add your first package.
First, copy the files generated by the build
of the offsec-defaults package (
offsec-defaults_1.0.dsc
,
offsec-defaults_1.0.tar.xz
,
offsec-defaults_1.0_all.deb
, and
offsec-defaults_1.0_amd64.changes
) into
/tmp
on the
server hosting the package repository and ask
reprepro
to include the package:
pkgrepo@kali:~/reprepro$
reprepro include offsec-internal /tmp/offsec-defaults_1.0
å