-
-
Notifications
You must be signed in to change notification settings - Fork 374
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
Error decoding mirror: msgpack decode error #791
Comments
I reverted the installation, i.e. removed the new package and reinstalled the old one. |
Yep, aptly was built without provided You can use builds from https://www.aptly.info/download/ |
This is quite annoying. |
There's only one way - drop the database ( |
What is even worse - DB would be incompatible with aptly builds from repo.aptly.info. |
The best thing I can do is to provide fixed version of aptly which will enforce older encoding with new version of the codec but Debian package should be update |
Workaround is described in ugorji/go#269 |
Wouldn't it make sense to have migration code from old versions of the DB time encoding to new versions? aptly will have to move to the new version of the dependency eventually, especially since we are talking serialization/deserialization libraries and those (in general) tend to be notorious for security issues. |
FYI, I opened an issue on the Debian tracker 911924 |
@taladar I'm talking about moving to new version of the library but configuring it in a way to read and write data in the same format as the vendored version today in aptly |
Looks like new version of ugorji/codec is even more broken then I might have assumed. It skips fields tagged as |
So far I'm still stuck on that, with little time on my side to spend on aptly unfortunately. I'm trying to get a migration from old version to new more stable msgpack library, but that doesn't work out as I would have expected so far. |
this was fixed with updated ugorji/go/codec |
Since the last update on a Debian testing, 1.3.0+ds1-1 from 1.3.0-6, nothing works anymore.
For example:
There are mirrors, two of them.
I tried an
aptly db recover
, to no avail.The text was updated successfully, but these errors were encountered: