apt-mirror error

The name of the pictureThe name of the pictureThe name of the pictureClash 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.







share|improve this question





















  • 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






  • 1




    Please edit your answer and add your mirror script and the sources.list from both computers.
    – Organic Marble
    Jun 12 at 12:04














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.







share|improve this question





















  • 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






  • 1




    Please edit your answer and add your mirror script and the sources.list from both computers.
    – Organic Marble
    Jun 12 at 12:04












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.







share|improve this question













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.









share|improve this question












share|improve this question




share|improve this question








edited Jun 13 at 8:20
























asked Jun 12 at 7:52









pei yuping

12




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






  • 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










  • 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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error