wok icon indicating copy to clipboard operation
wok copied to clipboard

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

Open piengeng opened this issue 4 years ago • 3 comments

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 avatar Oct 30 '20 01:10 piengeng

I started on this a while back https://github.com/kimchi-project/wok/pull/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.

NZLostboy avatar Nov 29 '20 22:11 NZLostboy

Duplicate of #300

Pomdre avatar Jan 05 '21 14:01 Pomdre

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)

rediz avatar Feb 23 '24 06:02 rediz