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

python-m2crypto in wok-3.0.0-0.ubuntu.noarch.deb #309

Open
piengeng opened this issue Oct 30, 2020 · 3 comments
Open

python-m2crypto in wok-3.0.0-0.ubuntu.noarch.deb #309

piengeng opened this issue Oct 30, 2020 · 3 comments
Labels

Comments

@piengeng
Copy link

piengeng commented Oct 30, 2020

Describe the bug
dpkg -I wok-3.0.0-0.ubuntu.noarch.deb shows typo python-m2crypto instead of python3-m2crypto

To Reproduce
As above

Expected behavior
shows python3-m2crypto when run dpkg -I so that wok could be installed on Ubuntu 20.10

just sharing my workaround, in case anyone faced the same issue.

#dpkg -I wok-3.0.0-0.ubuntu.noarch.deb
dpkg-deb -x wok-3.0.0-0.ubuntu.noarch.deb wok3a
dpkg-deb --control wok-3.0.0-0.ubuntu.noarch.deb wok3a/DEBIAN
sed -i "s/python-m2crypto/python3-m2crypto/" wok3a/DEBIAN/control
dpkg -b wok3a wok-3.0.0-1.ubuntu.noarch.deb
rm -rf wok3a
sudo apt install -y ./wok-3.0.0-1.ubuntu.noarch.deb
@piengeng piengeng added the bug label Oct 30, 2020
@NZLostboy
Copy link

I started on this a while back #302

The issue is that to continue including support for Ubuntu < 20 I am not sure how to do it.

It needs to use python-m2crypto for anything older and python3-m2crypto for Ubuntu 20 >

Feel free to drop a line on that pull request if you understand how it should be implemented, I don't have a good answer.

@Pomdre
Copy link

Pomdre commented Jan 5, 2021

Duplicate of #300

@rediz
Copy link

rediz commented Feb 23, 2024

Describe the bug dpkg -I wok-3.0.0-0.ubuntu.noarch.deb shows typo python-m2crypto instead of python3-m2crypto

To Reproduce As above

Expected behavior shows python3-m2crypto when run dpkg -I so that wok could be installed on Ubuntu 20.10

just sharing my workaround, in case anyone faced the same issue.

#dpkg -I wok-3.0.0-0.ubuntu.noarch.deb
dpkg-deb -x wok-3.0.0-0.ubuntu.noarch.deb wok3a
dpkg-deb --control wok-3.0.0-0.ubuntu.noarch.deb wok3a/DEBIAN
sed -i "s/python-m2crypto/python3-m2crypto/" wok3a/DEBIAN/control
dpkg -b wok3a wok-3.0.0-1.ubuntu.noarch.deb
rm -rf wok3a
sudo apt install -y ./wok-3.0.0-1.ubuntu.noarch.deb

Had to use same workaround for debian install. Debian 6.1.67-1 (2023-12-12)

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

No branches or pull requests

4 participants