apt-mirror error

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
I try to create a local apt source (IP: 10.21.42.160) using the following steps:
apt-get install apt-mirror
using the default mirror.list.
after
# apt-mirror
(in 10.21.42.160, it can access the internet)
root@paasaptvlk:/etc/apt# apt-cache search libcurl4
libcurl3-dbg - debugging symbols for libcurl (OpenSSL, GnuTLS and NSS flavours)
libcurl4-doc - documentation for libcurl
libcurl4-gnutls-dev - development files and documentation for libcurl (GnuTLS flavour)
libcurl4-nss-dev - development files and documentation for libcurl (NSS flavour)
libcurl4-openssl-dev - development files and documentation for libcurl (OpenSSL flavour)
python-pycurl - Python bindings to libcurl
python-pycurl-dbg - Python bindings to libcurl (debug extension)
python-pycurl-doc - Python bindings to libcurl (documentation)
python3-pycurl - Python bindings to libcurl (Python 3)
python3-pycurl-dbg - Python bindings to libcurl (debug extension, Python 3)
libwww-curl-perl - Perl bindings to libcurl
tclcurl - Tcl bindings to libcurl
but in this host(using 10.21.42.160 as apt source):
root@yzpaasco02vlk:/etc/apt# apt-cache search libcurl4
python3-pycurl - Python bindings to libcurl (Python 3)
what's wrong with my steps?
root@paasaptvlk:/etc/apt# cat mirror.list
############# config ##################
#
set base_path /var/spool/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 ##############
deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
clean http://archive.ubuntu.com/ubuntu
root@yzpaasco02vlk:/etc/apt# cat sources.list
deb http://10.21.42.160/ubuntu/ xenial main restricted
deb http://10.21.42.160/ubuntu/ xenial-updates main restricted
deb http://10.21.42.160/ubuntu/ xenial universe
deb http://10.21.42.160/ubuntu/ xenial-updates universe
deb http://10.21.42.160/ubuntu/ xenial multiverse
deb http://10.21.42.160/ubuntu/ xenial-updates multiverse
deb http://10.21.42.160/ubuntu xenial-security main restricted
deb http://10.21.42.160/ubuntu xenial-security universe
deb http://10.21.42.160/ubuntu xenial-security multiverse
the mirror.list is the default one.
I wonder how to check whether the apt-mirror is completely finished.
apt-mirror
add a comment |Â
up vote
0
down vote
favorite
I try to create a local apt source (IP: 10.21.42.160) using the following steps:
apt-get install apt-mirror
using the default mirror.list.
after
# apt-mirror
(in 10.21.42.160, it can access the internet)
root@paasaptvlk:/etc/apt# apt-cache search libcurl4
libcurl3-dbg - debugging symbols for libcurl (OpenSSL, GnuTLS and NSS flavours)
libcurl4-doc - documentation for libcurl
libcurl4-gnutls-dev - development files and documentation for libcurl (GnuTLS flavour)
libcurl4-nss-dev - development files and documentation for libcurl (NSS flavour)
libcurl4-openssl-dev - development files and documentation for libcurl (OpenSSL flavour)
python-pycurl - Python bindings to libcurl
python-pycurl-dbg - Python bindings to libcurl (debug extension)
python-pycurl-doc - Python bindings to libcurl (documentation)
python3-pycurl - Python bindings to libcurl (Python 3)
python3-pycurl-dbg - Python bindings to libcurl (debug extension, Python 3)
libwww-curl-perl - Perl bindings to libcurl
tclcurl - Tcl bindings to libcurl
but in this host(using 10.21.42.160 as apt source):
root@yzpaasco02vlk:/etc/apt# apt-cache search libcurl4
python3-pycurl - Python bindings to libcurl (Python 3)
what's wrong with my steps?
root@paasaptvlk:/etc/apt# cat mirror.list
############# config ##################
#
set base_path /var/spool/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 ##############
deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
clean http://archive.ubuntu.com/ubuntu
root@yzpaasco02vlk:/etc/apt# cat sources.list
deb http://10.21.42.160/ubuntu/ xenial main restricted
deb http://10.21.42.160/ubuntu/ xenial-updates main restricted
deb http://10.21.42.160/ubuntu/ xenial universe
deb http://10.21.42.160/ubuntu/ xenial-updates universe
deb http://10.21.42.160/ubuntu/ xenial multiverse
deb http://10.21.42.160/ubuntu/ xenial-updates multiverse
deb http://10.21.42.160/ubuntu xenial-security main restricted
deb http://10.21.42.160/ubuntu xenial-security universe
deb http://10.21.42.160/ubuntu xenial-security multiverse
the mirror.list is the default one.
I wonder how to check whether the apt-mirror is completely finished.
apt-mirror
Have you runapt updateon the client after setting up the mirror?
â Melebius
Jun 12 at 8:12
Yes, I did. It makes no different.
â pei yuping
Jun 12 at 8:42
1
Please edit your answer and add your mirror script and the sources.list from both computers.
â Organic Marble
Jun 12 at 12:04
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I try to create a local apt source (IP: 10.21.42.160) using the following steps:
apt-get install apt-mirror
using the default mirror.list.
after
# apt-mirror
(in 10.21.42.160, it can access the internet)
root@paasaptvlk:/etc/apt# apt-cache search libcurl4
libcurl3-dbg - debugging symbols for libcurl (OpenSSL, GnuTLS and NSS flavours)
libcurl4-doc - documentation for libcurl
libcurl4-gnutls-dev - development files and documentation for libcurl (GnuTLS flavour)
libcurl4-nss-dev - development files and documentation for libcurl (NSS flavour)
libcurl4-openssl-dev - development files and documentation for libcurl (OpenSSL flavour)
python-pycurl - Python bindings to libcurl
python-pycurl-dbg - Python bindings to libcurl (debug extension)
python-pycurl-doc - Python bindings to libcurl (documentation)
python3-pycurl - Python bindings to libcurl (Python 3)
python3-pycurl-dbg - Python bindings to libcurl (debug extension, Python 3)
libwww-curl-perl - Perl bindings to libcurl
tclcurl - Tcl bindings to libcurl
but in this host(using 10.21.42.160 as apt source):
root@yzpaasco02vlk:/etc/apt# apt-cache search libcurl4
python3-pycurl - Python bindings to libcurl (Python 3)
what's wrong with my steps?
root@paasaptvlk:/etc/apt# cat mirror.list
############# config ##################
#
set base_path /var/spool/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 ##############
deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
clean http://archive.ubuntu.com/ubuntu
root@yzpaasco02vlk:/etc/apt# cat sources.list
deb http://10.21.42.160/ubuntu/ xenial main restricted
deb http://10.21.42.160/ubuntu/ xenial-updates main restricted
deb http://10.21.42.160/ubuntu/ xenial universe
deb http://10.21.42.160/ubuntu/ xenial-updates universe
deb http://10.21.42.160/ubuntu/ xenial multiverse
deb http://10.21.42.160/ubuntu/ xenial-updates multiverse
deb http://10.21.42.160/ubuntu xenial-security main restricted
deb http://10.21.42.160/ubuntu xenial-security universe
deb http://10.21.42.160/ubuntu xenial-security multiverse
the mirror.list is the default one.
I wonder how to check whether the apt-mirror is completely finished.
apt-mirror
I try to create a local apt source (IP: 10.21.42.160) using the following steps:
apt-get install apt-mirror
using the default mirror.list.
after
# apt-mirror
(in 10.21.42.160, it can access the internet)
root@paasaptvlk:/etc/apt# apt-cache search libcurl4
libcurl3-dbg - debugging symbols for libcurl (OpenSSL, GnuTLS and NSS flavours)
libcurl4-doc - documentation for libcurl
libcurl4-gnutls-dev - development files and documentation for libcurl (GnuTLS flavour)
libcurl4-nss-dev - development files and documentation for libcurl (NSS flavour)
libcurl4-openssl-dev - development files and documentation for libcurl (OpenSSL flavour)
python-pycurl - Python bindings to libcurl
python-pycurl-dbg - Python bindings to libcurl (debug extension)
python-pycurl-doc - Python bindings to libcurl (documentation)
python3-pycurl - Python bindings to libcurl (Python 3)
python3-pycurl-dbg - Python bindings to libcurl (debug extension, Python 3)
libwww-curl-perl - Perl bindings to libcurl
tclcurl - Tcl bindings to libcurl
but in this host(using 10.21.42.160 as apt source):
root@yzpaasco02vlk:/etc/apt# apt-cache search libcurl4
python3-pycurl - Python bindings to libcurl (Python 3)
what's wrong with my steps?
root@paasaptvlk:/etc/apt# cat mirror.list
############# config ##################
#
set base_path /var/spool/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 ##############
deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
clean http://archive.ubuntu.com/ubuntu
root@yzpaasco02vlk:/etc/apt# cat sources.list
deb http://10.21.42.160/ubuntu/ xenial main restricted
deb http://10.21.42.160/ubuntu/ xenial-updates main restricted
deb http://10.21.42.160/ubuntu/ xenial universe
deb http://10.21.42.160/ubuntu/ xenial-updates universe
deb http://10.21.42.160/ubuntu/ xenial multiverse
deb http://10.21.42.160/ubuntu/ xenial-updates multiverse
deb http://10.21.42.160/ubuntu xenial-security main restricted
deb http://10.21.42.160/ubuntu xenial-security universe
deb http://10.21.42.160/ubuntu xenial-security multiverse
the mirror.list is the default one.
I wonder how to check whether the apt-mirror is completely finished.
apt-mirror
edited Jun 13 at 8:20
asked Jun 12 at 7:52
pei yuping
12
12
Have you runapt updateon the client after setting up the mirror?
â Melebius
Jun 12 at 8:12
Yes, I did. It makes no different.
â pei yuping
Jun 12 at 8:42
1
Please edit your answer and add your mirror script and the sources.list from both computers.
â Organic Marble
Jun 12 at 12:04
add a comment |Â
Have you runapt updateon the client after setting up the mirror?
â Melebius
Jun 12 at 8:12
Yes, I did. It makes no different.
â pei yuping
Jun 12 at 8:42
1
Please edit your answer and add your mirror script and the sources.list from both computers.
â Organic Marble
Jun 12 at 12:04
Have you run
apt update on the client after setting up the mirror?â Melebius
Jun 12 at 8:12
Have you run
apt update on the client after setting up the mirror?â Melebius
Jun 12 at 8:12
Yes, I did. It makes no different.
â pei yuping
Jun 12 at 8:42
Yes, I did. It makes no different.
â pei yuping
Jun 12 at 8:42
1
1
Please edit your answer and add your mirror script and the sources.list from both computers.
â Organic Marble
Jun 12 at 12:04
Please edit your answer and add your mirror script and the sources.list from both computers.
â Organic Marble
Jun 12 at 12:04
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1045824%2fapt-mirror-error%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Have you run
apt updateon the client after setting up the mirror?â Melebius
Jun 12 at 8:12
Yes, I did. It makes no different.
â pei yuping
Jun 12 at 8:42
1
Please edit your answer and add your mirror script and the sources.list from both computers.
â Organic Marble
Jun 12 at 12:04