The local Contents-amd64.gz (downloaded using apt-mirror), does not match with the Contents-amd64.gz on...
I have been trying to set up a local repository for Ubuntu 18.04, using apache2
and apt-mirror
.
I noted that the size of /ubuntu/dists/bionic*/Contents-amd64.gz
does not match with the corresponding file on in.archive.ubuntu.com
.
My mirror.list
file is as follows:
############# 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://in.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
clean http://in.archive.ubuntu.com/ubuntu
For instance, the downloaded ubuntu/dists/bionic/Contents-amd64.gz
is 11.9 MB, and the Archive Manager says there's a large 3.7GB file inside it, which cannot be extracted - seems to be a case of corruption. However, the one on the in.archive.ubuntu.com/ubuntu/dists/bionic/Contents-amd64.gz is 37.7 MB and extracts successfully.
Even after I delete the downloaded file, and run sudo apt-mirror
, the downloaded file is the same as before. Why is this the case?
Downloaded ubuntu/dists/bionic/
has the following:
ubuntu/dists/bionic/
- main/
- multiverse/
- restricted/
- universe/
- Contents-amd64.gz
- InRelease
- Release
- Release.gpg
I understand that I have not configured apt-mirror
to download i386
, but shouldn't the Contents-amd64.gz
be the same?
apt-mirror localrepository
add a comment |
I have been trying to set up a local repository for Ubuntu 18.04, using apache2
and apt-mirror
.
I noted that the size of /ubuntu/dists/bionic*/Contents-amd64.gz
does not match with the corresponding file on in.archive.ubuntu.com
.
My mirror.list
file is as follows:
############# 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://in.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
clean http://in.archive.ubuntu.com/ubuntu
For instance, the downloaded ubuntu/dists/bionic/Contents-amd64.gz
is 11.9 MB, and the Archive Manager says there's a large 3.7GB file inside it, which cannot be extracted - seems to be a case of corruption. However, the one on the in.archive.ubuntu.com/ubuntu/dists/bionic/Contents-amd64.gz is 37.7 MB and extracts successfully.
Even after I delete the downloaded file, and run sudo apt-mirror
, the downloaded file is the same as before. Why is this the case?
Downloaded ubuntu/dists/bionic/
has the following:
ubuntu/dists/bionic/
- main/
- multiverse/
- restricted/
- universe/
- Contents-amd64.gz
- InRelease
- Release
- Release.gpg
I understand that I have not configured apt-mirror
to download i386
, but shouldn't the Contents-amd64.gz
be the same?
apt-mirror localrepository
add a comment |
I have been trying to set up a local repository for Ubuntu 18.04, using apache2
and apt-mirror
.
I noted that the size of /ubuntu/dists/bionic*/Contents-amd64.gz
does not match with the corresponding file on in.archive.ubuntu.com
.
My mirror.list
file is as follows:
############# 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://in.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
clean http://in.archive.ubuntu.com/ubuntu
For instance, the downloaded ubuntu/dists/bionic/Contents-amd64.gz
is 11.9 MB, and the Archive Manager says there's a large 3.7GB file inside it, which cannot be extracted - seems to be a case of corruption. However, the one on the in.archive.ubuntu.com/ubuntu/dists/bionic/Contents-amd64.gz is 37.7 MB and extracts successfully.
Even after I delete the downloaded file, and run sudo apt-mirror
, the downloaded file is the same as before. Why is this the case?
Downloaded ubuntu/dists/bionic/
has the following:
ubuntu/dists/bionic/
- main/
- multiverse/
- restricted/
- universe/
- Contents-amd64.gz
- InRelease
- Release
- Release.gpg
I understand that I have not configured apt-mirror
to download i386
, but shouldn't the Contents-amd64.gz
be the same?
apt-mirror localrepository
I have been trying to set up a local repository for Ubuntu 18.04, using apache2
and apt-mirror
.
I noted that the size of /ubuntu/dists/bionic*/Contents-amd64.gz
does not match with the corresponding file on in.archive.ubuntu.com
.
My mirror.list
file is as follows:
############# 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://in.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
clean http://in.archive.ubuntu.com/ubuntu
For instance, the downloaded ubuntu/dists/bionic/Contents-amd64.gz
is 11.9 MB, and the Archive Manager says there's a large 3.7GB file inside it, which cannot be extracted - seems to be a case of corruption. However, the one on the in.archive.ubuntu.com/ubuntu/dists/bionic/Contents-amd64.gz is 37.7 MB and extracts successfully.
Even after I delete the downloaded file, and run sudo apt-mirror
, the downloaded file is the same as before. Why is this the case?
Downloaded ubuntu/dists/bionic/
has the following:
ubuntu/dists/bionic/
- main/
- multiverse/
- restricted/
- universe/
- Contents-amd64.gz
- InRelease
- Release
- Release.gpg
I understand that I have not configured apt-mirror
to download i386
, but shouldn't the Contents-amd64.gz
be the same?
apt-mirror localrepository
apt-mirror localrepository
asked Mar 14 at 6:06
Shubham1999Shubham1999
213
213
add a comment |
add a comment |
0
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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1125510%2fthe-local-contents-amd64-gz-downloaded-using-apt-mirror-does-not-match-with-t%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1125510%2fthe-local-contents-amd64-gz-downloaded-using-apt-mirror-does-not-match-with-t%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown