mdsplus
mdsplus copied to clipboard
Depends: python-numpy but it is not installable
I was trying to install Mdsplus-python on Ubuntu 22.04, Jammy Jellyfish but an error was comming up
$ sudo apt install mdsplus-python
Reading package lists... Done Building dependency tree... Done Reading state information... Done mdsplus-python is already the newest version (7.131.6). You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: mdsplus-python : Depends: python-numpy but it is not installable
To fix this use the following commands:
sudo apt download mdsplus-python sudo dpkg -i --ignore-depends=python-numpy mdsplus-python*.deb
Thanks for reporting
We need to add new kits for both Ubuntu 20.04 and Ubuntu 22.04 and correctly depend on python3-numpy instead
Hi, I just wanted to chime in that I'm running into the same issue on debian testing ("bookworm"), python-numpy
is not available but python3-numpy
is.
looks like its time to switch to python3-numpy as default and python-numpy only for selected os'. now that the ratio has shifted towards a majority for python3.
Hello I got the same issue in Raspbian 11 (Bullseye), which doesn't have python-numpy anymore.
Is it not possible to allow user to install without mdsplus-python? Then I could at least work around it without building the whole thing?
pi@pi01:~ $ sudo apt install mdsplus-alpha
....
The following packages have unmet dependencies:
mdsplus-alpha-python : Depends: python-numpy but it is not installable
E: Unable to correct problems, you have held broken packages.
pi@pi01:~ $ grep PRETTY /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
Hi @cenkoloji,
It is possible to install individual packages instead of the entire alpha
bundle. Try installing just the kernel
and kernel_bin
packages (and any other packages you want). For more details, refer to the section titled MDSplus Packaging on the following page.
https://www.mdsplus.org/index.php/Latest_Ubuntu/Debian_Packages
Hi @cenkoloji,
I forgot to mention that you can now obtain the latest builds from the GitHub site (main page, Releases section, right side). https://github.com/MDSplus/mdsplus/releases/tag/alpha_release-7-139-66
After we finish a major maintenance project on our build server, you will also be able to obtain the releases as per usual from the package repo on the mdsplus.org web site.
Thanks, release page is nice! Do you plan to also include raspberry pi builds there?
Btw, solution I'm using in my ansible configuration right now - as ugly it is - is to install mdsplus_kernel via apt and rsync the contents of the python package (Otherwise the same dependency issue creates problems in the next apt upgrade
).
apt install mdsplus-alpha-kernel mdsplus-alpha-kernel-bin
mkdir -p /tmp/mds-py-debs
cd /tmp/mds-py-debs
apt download mdsplus-alpha-python
dpkg -x mdsplus-alpha-python*deb .
rsync -azv --owner=root --group=root usr/local/mdsplus/python/ /usr/local/mdsplus/python/
Hi @cenkoloji -- Yes, we will also include the Raspberry Pi builds on the GitHub release page. Building MDSplus for that platform is one of the last tasks in the maintenance work we are doing on the build server. (We hope to complete that project soon.)
Thanks also for the mentioning that the package dependencies are causing issues with your Ansible installation and subsequent apt upgrade
. Clearly is an issue for us to investigate.