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

"File is already registered with different checksums!" during "reprepro update" #13

Open
andywolk opened this issue Oct 10, 2018 · 6 comments

Comments

@andywolk
Copy link

andywolk commented Oct 10, 2018

"reprepro update" does not success with:

File "pool/unstable/b/blah/blah_1.1.0~232~0ac2e9c.orig.tar.xz" is already registered with different checksums!
[...]
There have been errors!

Is there a way to ignore that?

@bdrung bdrung changed the title "File "pool/unstable/b/blah/blah_1.1.0~232~0ac2e9c.orig.tar.xz" is already registered with different checksums!" during "reprepro update". "File is already registered with different checksums!" during "reprepro update" Oct 10, 2018
@bdrung
Copy link
Contributor

bdrung commented Oct 10, 2018

I don't know a way to ignore the checksum mismatch.

@maxadamo
Copy link

IMO, it needs to be removed from checksums.db, when reprepro remove is used.

@bdrung
Copy link
Contributor

bdrung commented Jan 21, 2019

Can you provide a small test case to reproduce this error message?

@maxadamo
Copy link

I run:

reprepro -b . remove bionic <mypackage>

I add it again:

reprepro -b ${BASE_DIR}/ includedeb $CODENAME g10k-<version>.deb

and I get the same error mentioned by @andywolk

Maybe I should have used remove <package>=<version>

@bdrung
Copy link
Contributor

bdrung commented Jan 21, 2019

Do you get the same error message, when you create a fresh repository and add/remove/add the package?

@maxadamo
Copy link

maxadamo commented Jan 21, 2019

TBH, I am trying to edit checksums.db myself, but the the python library that I am using seems to have some limitation:

DBInvalidArgError: (22, 'Invalid argument -- BDB0590 files containing multiple databases may only be opened read-only')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants