Repository: BlankOn 9

From OnnoWiki
Revision as of 05:48, 17 November 2014 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Date: Sun, 28 Sep 2014 22:40:48 +0700 From: Utian Ayuba <utianayuba@gmail.com> To: Onno W. Purbo <onno@indo.net.id> Subject: Re: cara update repo?

Pak Onno,

1. Instal debmirror

aptitude update && aptitude install debmirror

2. Tambahkan keyring ke file trustedkey.gpg

gpg --keyring /usr/share/keyrings/blankon-archive-keyring.gpg --export \
| gpg --no-default-keyring --keyring trustedkeys.gpg --import

Jika update tidak menggunakan blankon, download dan ekstrak keyring blankon di sini:

http://arsip.blankonlinux.or.id/blankon/pool/main/b/blankon-keyring/blankon-keyring_2014.03.03_all.deb

atau lakukan

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B85EF00D2CCF12D8
mkdir -p /var/data/mirrorkeyring
gpg --no-default-keyring --keyring /var/data/mirrorkeyring/trustedkeys.gpg --import /usr/share/keyrings/ubuntu-archive-keyring.gpg
gpg --no-default-keyring --keyring /var/data/mirrorkeyring/trustedkeys.gpg --import /etc/apt/trusted.gpg

3. Jalankan debmirror

debmirror -p -v --nosource --rsync-extra=none -h \
arsip.blankonlinux.or.id --method=http -r blankon -d \
suroboyo,suroboyo-security,suroboyo-updates -s \
main,restricted,extras,extras-restricted -a i386,amd64 /media/blankon-repo/


atau

debmirror -p -v --nosource --rsync-extra=none -h \
152.118.24.30 --method=http -r blankon -d \
suroboyo,suroboyo-security,suroboyo-updates -s \
main,restricted,extras,extras-restricted -a i386,amd64 /var/data/repository/blankon-repo/

Pilihan lain,

kartolo.sby.datautama.net.id --method=http -r blankon -d \
arsip.blankonlinux.or.id --method=http -r blankon -d \
kambing.ui.edu --method=http -r blankon -d \


Untuk membuat script tambahkan

#!/bin/bash
export GNUPGHOME=/var/data/mirrorkeyring
debmirror -p -v --nosource --rsync-extra=none -h \
152.118.24.30 --method=http -r blankon -d \
suroboyo,suroboyo-security,suroboyo-updates -s \
main,restricted,extras,extras-restricted -a i386,amd64 /var/data/repository/blankon-repo/


(Sesuaikan direktori blankon-repo)

Demikian, Pak.