wok
wok copied to clipboard
python-m2crypto in wok-3.0.0-0.ubuntu.noarch.deb
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
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.
Duplicate of #300
Describe the bug
dpkg -I wok-3.0.0-0.ubuntu.noarch.deb
shows typopython-m2crypto
instead ofpython3-m2crypto
To Reproduce As above
Expected behavior shows
python3-m2crypto
when rundpkg -I
so that wok could be installed on Ubuntu 20.10just 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)