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
Warnings on repositories without MD5sums #66
Comments
Would seeing messages like this:
Be related to your issue? Did you see any of the above when troubleshooting? Thanks |
That seems like it could be related, yes. Don't recall seeing that warning, and I don't have logs handy at the moment, but I guess it could depend on the version of apt-mirror or Perl? In my case, the repository I was mirroring had SHA sums, so I appended the if check above to line 787 and hope for a fix before next update. |
If anybody need a apt repo without MD5 to test. |
I still see these messages for Ubuntu 18.04 at least.
Version is |
The README says "New maintainer(s) wanted". So unless you are willing to become the maintainer, your issue is not going to be solved. |
Oh, I see. Thanks. |
I'm using apt-mirror on Ubuntu 16.04, and some of the repositories I'm mirroring does not contain MD5sums in the Packages files. This results in warnings like this:
Global symbol "$package" requires explicit package name (did you forget to declare "my $package"?) at /usr/bin/apt-mirror line 787
Line 787 in Ubuntu 16.04 corresponds to line 798 in version 0.5.2.
Appending
if defined $lines{"MD5sum:"}
to the line silences the error. However, you probably shouldn't silence all these possibly missing checksums. Maybe you could add some logic to warn if there isn't at least one checksum in the file?The text was updated successfully, but these errors were encountered: