Origin: Kuliax Label: Kuliax Codename: lumpia Version: 7.0 Architectures: i386 source Components: main non-free UDebComponents: main Description: Kuliax 7.0 lumpia Log: lumpia
basedir /etc/reprepro/ outdir /media/kuliax/paket/ confdir /etc/reprepro/conf/ dbdir /etc/reprepro/db/ logdir /etc/reprepro/logs/
reprepro -Vb -b /etc/reprepro/ export DIST
reprepro -Vb /etc/reprepro/ -C komponen include DIST namapaket-versi.changes
reprepro -Vb /etc/reprepro/ -C komponen includedsc DIST namapaket-versi.dsc
reprepro -Vb /etc/reprepro/ -C komponen includedeb DIST namapaket-versi.deb
reprepro -Vb /etc/reprepro/kuliax remove lumpia nvidia-kernel-common
Berikut cara membuat repositori dengan apt-ftparchive secara sederhana.
apt-ftparchive packages . > Packages
gzip -9 Packages rm Packages
vim config.release
APT::FTPArchive::Release::Codename "lumpia"; APT::FTPArchive::Release::Origin "Kuliax"; APT::FTPArchive::Release::Components "main"; APT::FTPArchive::Release::Label "Kuliax packages"; APT::FTPArchive::Release::Architectures "i386 all"; APT::FTPArchive::Release::Suite "lumpia";
apt-ftparchive -c config.release release . > Release
gpg --output Release.gpg -ba Release
Untuk dapat membuat repo yang tidak memberikan pesan “NOT AUTHENTICATED” ketika pengguna akan memasang paket dari repo, kita harus:
gpg --output Packages.gpg -u maintainer[at]kuliax[.]org -ba Packages gpg --output Release.gpg -u maintainer[at]kuliax[.]org -ba Release
Ingat, urutan yang benar adalah hasilkan Packages dulu baru Release
gpg --export -a > kuliax.repo.gpg
Pengguna repo harus menambahkan pada daftar kunci publik APT dengan perintah
wget http://lokasi/kunci/kuliax.repo.gpg sudo apt-key add kuliax.repo.gpg
Kini sudah ada kunci publik Kuliax yang dapat diakses dengan memasang kuliax-archive-keyring