You are not logged in.
Pages: 1
Hey,
Is there any tutorial or guide to mirror the Q4OS repositories for local link usage?
Offline
'Apt-mirror' is the right tool, first install it:
$ sudo apt-get install apt-mirror
now create config file '/tmp/q4os_mirror/mirror.list'
set base_path /tmp/q4os_mirror
set nthreads 20
set _tilde 0
deb-amd64 http://q4os.org/q4repo q4os-1-0-cn main
deb-i386 http://q4os.org/q4repo q4os-1-0-cn main
# deb-armhf http://q4os.org/q4repo q4os-1-0-cn main
clean http://q4os.org/q4repo q4os-1-0-cn
continue in terminal:
$ cd /tmp/q4os_mirror
$ touch postmirror.sh
$ apt-mirror mirror.list
Repositories will be mirrored locally in '/tmp/q4os_mirror/'
Offline
I have added
deb-amd64 http://q4os.org/q4repo q4os-1-0-cn main
deb-amd64 http://q4os.org/q4repo q4os-2-0-cn main
deb-amd64 http://q4os.org/qtderepo jessie main
deb-amd64 http://q4os.org/qtderepo stretch main
deb-i386 http://q4os.org/q4repo q4os-1-0-cn main
deb-i386 http://q4os.org/q4repo q4os-2-0-cn main
deb-i386 http://q4os.org/qtderepo jessie main
deb-i386 http://q4os.org/qtderepo stretch main
clean http://q4os.org/q4repo
clean http://q4os.org/qtderepo
Offline
Begin time: Mon Oct 10 18:00:34 2022
[0]...
End time: Mon Oct 10 18:00:34 2022
Processing indexes: [PP]
52.2 MiB will be downloaded into archive.
Downloading 39 archive files using 20 threads...
Begin time: Mon Oct 10 18:00:34 2022
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Mon Oct 10 18:01:02 2022
0 bytes in 0 files and 0 directories can be freed.
Run /tmp/q4os_mirror/var/clean.sh for this purpose.
Running the Post Mirror script ...
(/tmp/q4os_mirror/var/postmirror.sh)
/bin/sh: 0: cannot open /tmp/q4os_mirror/var/postmirror.sh: No such file
Post Mirror script has completed. See above output for any possible errors.
Offline
@prototorpex
You may need to create an empty post mirror script.
$ nano /tmp/q4os_mirror/var/postmirror.sh
and run
$ apt-mirror mirror.list
again to suppress the error message
The original instructions have been updated, thanks for reporting.
Offline
Pages: 1