-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
ValueError: too many values to unpack #199
Comments
This appears to be caused by this Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1992026 I was able to work around it by following the recommendation to remove |
That seems to be right as I've just inspected the contents of the
Removing that file does indeed stop this message from being written to the file, thanks! |
Fixed this and created a pull request. |
@kyp44 I see that you closed the PR. Is this still a valid issue ? Otherwise, please close this issue. We did have another similar issue originating from Ubuntu, where the |
Because the signature file is generated by apt. And depending of the distribution, it could have some extra changes added in it. Like in this linked github issue report. Nevertheless, given that the apt output is not in a declared machine readable format, nor is it officially recommended to parse the output; instead let us make apt-offline put more checks in place when parsing its input. Closes: #199
I believe this was actually fixed in |
Thanks. I still adapted your proposed change because we needed more checks in place for the generated signature file; given that Similar breakages in the past. |
Hey, I am getting the following error after attempting to run
sudo apt-offline get --bundle bundle.zip apt-offline.sig
on the online system:The
apt-offline.sig
was generated on the offline system usingsudo apt-offline set --upgrade apt-offline.sig
.I'm running Ubuntu 22.04.1 on both systems, and using version
1.8.5
of this package.The text was updated successfully, but these errors were encountered: