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

Components-$arch.yml.xz files not picked up by apt-mirror #69

Closed
duk3luk3 opened this issue Jan 25, 2017 · 1 comment
Closed

Components-$arch.yml.xz files not picked up by apt-mirror #69

duk3luk3 opened this issue Jan 25, 2017 · 1 comment

Comments

@duk3luk3
Copy link

Hi,

these files are listed in the Release files but ignored by apt-mirror. I parse the Release files and do a md5sum-check on the files listed there, leading to this error:

md5sum: main/dep11/Components-amd64.yml.xz: No such file or directory

Here is one example in the ubuntu repos: http://de.archive.ubuntu.com/ubuntu/dists/devel/main/dep11/Components-amd64.yml.xz

@Kunzol
Copy link

Kunzol commented Feb 16, 2017

You only need one of the files in your repository. The developper decided to download only the ".gz" files.

Reasons could be:

  1. less files to download (save time and bandwith)
  2. icons- files are only available with ".gz", which makes the regex easier.

See line 669 in the code.
If you really need to download all, simply change the reges in this line.
...tar)\.gz$} )
to
...tar)\.(gz|xz)$} )

I have not tested this, use on your own risk.

@bdrung bdrung closed this as completed in a17949c May 29, 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

No branches or pull requests

2 participants