- On your laptop install and configure
package_cloud
CLI (login to package_cloud) - Run in a container, using here the target distro
docker run-v $(pwd):/data -it --rm ubuntu:16.04
apt update
apt dist-upgrade -qy
apt install -qy software-properties-common
add-apt-repository ppa:adiscon/v8-stable
apt update
apt-get install -qy apt-mirror
mkdir -p /data/adiscon-v8-stable/apt-mirror
cat > /etc/apt/mirror.list <<EOF
############# config ##################
#
set base_path /data/adiscon-v8-stable/apt-mirror
#
# set mirror_path $base_path/mirror
# set skel_path $base_path/skel
# set var_path $base_path/var
# set cleanscript $var_path/clean.sh
# set defaultarch <running host architecture>
# set postmirror_script $var_path/postmirror.sh
# set run_postmirror 0
set nthreads 20
set _tilde 0
#
############# end config ##############
EOF
cat /etc/apt/sources.list.d/adiscon-ubuntu-v8-stable-xenial.list |tee -a /etc/apt/mirror.list
apt-mirror
find /data/ -type f -iname '*.deb' -print
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/a/adisconhelperlrdk/adisconhelperlrdk-dev_0.11.6.2-0adiscon3xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/a/adisconhelperlrdk/adisconhelperlrdk_0.11.6.2-0adiscon3xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/libe/libestr/libestr-dev_0.1.11-0adiscon1ixenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/libe/libestr/libestr0_0.1.11-0adiscon1ixenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/libf/libfastjson/libfastjson-dev_0.99.8-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/libf/libfastjson/libfastjson4_0.99.8-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/libk/libksi/libksi1-dev_3.4.0.7-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/libk/libksi/libksi1_3.4.0.7-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/libl/liblogging/liblogging-stdlog-dev_1.0.6-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/libl/liblogging/liblogging-stdlog1_1.0.6-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/libl/liblognorm/liblognorm-dev_2.0.6-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/libl/liblognorm/liblognorm5_2.0.6-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/libr/librelp/librelp-dev_1.8.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/libr/librelp/librelp0_1.8.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-doc_8.2010.0-0adiscon1xenial1_all.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-elasticsearch_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-fmhash_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-fmhttp_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-gnutls_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-imdocker_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-imkmsg_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-impcap_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-improg_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-imptcp_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-kafka_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-mmanon_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-mmfields_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-mmgrok_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-mmjsonparse_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-mmkubernetes_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-mmnormalize_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-mmrm1stspace_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-mmutf8fix_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-mongodb_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-mysql_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-omclickhouse_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-omrabbitmq_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-omstdout_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-openssl_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-pgsql_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-pmnormalize_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-redis_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-relp_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog-utils_8.2010.0-0adiscon1xenial1_amd64.deb
./ppa.launchpad.net/adiscon/v8-stable/ubuntu/pool/main/r/rsyslog/rsyslog_8.2010.0-0adiscon1xenial1_amd64.deb
Note: here some upload can fail on existing package, we are not checking for those error and skip to the next .deb.
find . -type f -iname '*.deb' -exec package_cloud push vend/rsyslog/ubuntu/xenial {} \;
- List distro to find the codename:
package_cloud distro list deb
- List our private repository with package_cloud
package_cloud repository list