Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mirror update repeats download exists file #651

Closed
MSI77 opened this issue Oct 3, 2017 · 5 comments
Closed

Mirror update repeats download exists file #651

MSI77 opened this issue Oct 3, 2017 · 5 comments

Comments

@MSI77
Copy link

MSI77 commented Oct 3, 2017

Detailed Description

Always repeats download exist files after download error.

Context

aptly mirror create -architectures="i386,amd64" -with-udebs=true xenial-main https://mirror.yandex.ru/ubuntu/ xenial main
aptly mirror update xenial-main

ERROR: unable to update: download errors:
https://mirror.yandex.ru/ubuntu/pool/main/l/language-pack-gnome-mn/language-pack-gnome-mn_16.04+20160320_all.deb: unexpected EOF
https://mirror.yandex.ru/ubuntu/pool/main/liba/libabw/libabw-0.1-1v5_0.1.1-2ubuntu2_i386.deb: unexpected EOF
https://mirror.yandex.ru/ubuntu/pool/main/t/taglib/libtag1v5-vanilla_1.9.1-2.4ubuntu1_amd64.deb: unexpected EOF
https://mirror.yandex.ru/ubuntu/pool/main/w/whoopsie-preferences/libwhoopsie-preferences-dev_0.18_i386.deb: Get https:/ubuntu/pool/main/w/whoopsie-preferences/libwhoopsie-preferences-dev_0.18_i386.deb: dial tcp 213.180.204.183:443: i/o timeout
https://mirror.yandex.ru/ubuntu/pool/main/p/psycopg2/python-psycopg2-dbg_2.6.1-1build2_i386.deb: unexpected EOF
https://mirror.yandex.ru/ubuntu/pool/main/liba/libassuan/libassuan-dev_2.4.2-2_amd64.deb: unexpected EOF

Always download full repo.

@MSI77 MSI77 changed the title Mirror update repeatsrepeats download exists file Mirror update repeats download exists file Oct 4, 2017
@erickeller
Copy link

I suspect this is a duplicate of #641

@exaos
Copy link

exaos commented Nov 8, 2017

The same error here. After downloading ~80GB packages, aptly mirror update stopped with an "I/O timeout" error. Then, I restart the mirror updating and hope it will continue to finish the remaining downloading. Unfortunately, aptly starts to download from the scratch. After failure twice, my mirror keeps this status ("Last update: never") but with a pool around 160GB which I don't know how to use.
(Aptly 1.1.1 on Archlinux.)
Are there any way to just download the only missing packages while the mirror updating is interrupted and restarted?

@smira smira added the 1.2.0 label Nov 8, 2017
@smira
Copy link
Contributor

smira commented Nov 8, 2017

Yep, I believe it's same as #641. I'll try to get it fixed for the next version

@dpvpro
Copy link

dpvpro commented Nov 15, 2017

I confirm this case.

@smira
Copy link
Contributor

smira commented Nov 30, 2017

Should be available now in nightly aptly_1.1.1+75+g9cb2a30

@smira smira closed this as completed Nov 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants