-
Notifications
You must be signed in to change notification settings - Fork 79
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 upgrading on Debian 11 #482
Comments
Friendly bump. Anyone else seeing Debian compatibility issues? |
Yeah, Twilio CLI is repeatedly blowing up my upgrades. Currently, same error as is reported here:
Seems this compression method was added by Ubuntu, and Debian may be grudgingly adding support also, but has not yet: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892664 Therefore Twilio should avoid using it, at least for deb, for now. Note: |
This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog. |
I'd be happy to submit a pull request, but I could use some help getting oriented. I searched the code base for |
This error upon unpacking CLI is because zstd decompression was supported in ubuntu but not in debian. This issue is fixed in latest version of dpkg, where both zstd compression and decompression is supported. The version 1.21.18 has the fix for this issue. (https://packages.debian.org/sid/all/dpkg-dev/download) |
Thanks for the update! I downloaded the unstable 1.21.18 version of dpkg, and attempted to install it, but I ran into a dependency error. It looks like it depends on libc6 >=2.34 and my machine has 2.31. As this is a production machine it seems risky to start upgrading core components like libc, so I'm kind of stuck at the moment. Any other ideas for workarounds we can try? Given the pace of Debian development, I'm guessing that dpkg 1.21.18 might take a while to reach stable. What can we do in the meantime? Is zstd compression a key feature? Can we just disable it until Debian catches up to Ubuntu? Install command output for reference:
|
Well, we'd need dpkg 1.21.18 to support zStandard compression & decompression. As you might've already seen zstd is not a direct dependency of twilio-cli, but is internally referenced in one of our pack & build commands, so it's not something we can disable or remove (for the sake of deb users). |
Thanks for the feedback. Could the pack & build commands be tweaked to not use zstd? Something changed a month or so ago in how the package was built. Could that change be reverted until Debian catches up to Ubuntu? Again, I'd be happy to take a stab at it, but I'm new to the code base. Maybe someone could point me to where the Debian build is configured? |
Dominic, the problem you're facing with dpkg's latest version is very specific to your environment. Please understand that we cannot afford not upgrading to the latest version unless it's an issue for a larger number of users. |
Thanks for the help, I really appreciate it. I'll start looking into Also, maybe I'm misunderstanding something, but from this page it appears that dpkg 1.21.18 is still only available in the testing version of Debian. Since I'm running a fully patched version of Bullseye (stable), it seems odd to me that my issue could be specific to my environment. If Debian is meant to be a supported OS, wouldn't the current stable release need to be supported? I don't mean to be confrontational; I'm just genuinely trying to understand if there's something weird about my setup that I'm not aware of. |
The default compression on deb packages seems to have changed to zstd. Unfortunately, Debian does not support zstd (yet), so this specifies a friendlier format. Fixes twilio#482
Just checking in on this. Is anyone available to review the PR is submitted? |
Hi @dominic-p Our team tested these changes and here's what we have got : Getting error: we have also updated the PR with this information. Can you please take a look? |
Thanks for the update. I pushed a change to the PR that should fix it, but again, I don't really have a good test system available for this. I apologize for the back and forth. I was kind of hoping the CI system would automatically run on the PR, so I could use its output to test my changes, but it looks like it needs approval to run. |
This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days. |
Not stale for me. :) I'm sorry the PR hasn't been especially smooth, but I think the most recent version should do it. Again, I'm not really setup to test this currently, but I think I finally have it right. |
I'm testing the code changes in this PR. Testing on amd64 arch of debian is completed and is working fine. Trying to figure out if this is working well on armel arch of debian. Will provide an update soon |
This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days. |
Not stale for me. Have you been able to test on ARM yet? |
This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days. |
Still not stale for me. :) Is there anything I can do to help move this forward at this point? |
This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days. |
Not stale for me. |
This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days. |
Still not stale for me. I would love to be able to upgrade twilio on my Debian 11 machines. |
This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days. |
Not stale for me. |
This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days. |
Still not stale for me. |
This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days. |
Still not stale for me. |
This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days. |
Still not stale for me. |
Issue Summary
When I attempt to upgrade the Twilio CLI package via apt on Debian I get the following error:
From this SE post, I gather that the package is using a compression format that Debian's version of
dpkg
doesn't understand.Steps to Reproduce
apt update && apt upgrade
on Debian 11 BullseyeTechnical details:
The text was updated successfully, but these errors were encountered: