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

Package *python-dev* not available in Debian suite *sid*/*unstable* #373

Open
paulmenzel opened this issue May 27, 2024 · 3 comments
Open

Comments

@paulmenzel
Copy link

Trying to install the dependencies for, for example,

an error is show, that the package cannot be installed. I guess it should be python3-dev?

@rli9
Copy link

rli9 commented May 27, 2024

Thanks, there's a step like map_packages during lkp install, which would convert python-dev name to python3-dev when detecting the debian os is debian 11 or higher. If you want to directly install the packages in depends file, could you give a try with

tools/test-packages.sh programs/perf/pkg/depends

@paulmenzel
Copy link
Author

Thank you for the prompt response. The mapping does not work then:

$ lkp split-job jobs/ycsb.yaml
jobs/ycsb.yaml => ./ycsb-1-uniform-cs-localhost-1SSD-ext4-127.0.0.1-true-1-1-0-10000000-1-80878041-0-0-2-32-1-0-0-debian-11-x86_64.cgz.yaml
$ sudo lkp install ./ycsb-1-uniform-cs-localhost-1SSD-ext4-127.0.0.1-true-1-1-0-10000000-1-80878041-0-0-2-32-1-0-0-debian-11-x86_64.cgz.yaml
distro=debian
version=trixie_sid
[…]
Use: /home/pmenzel/src/lkp-tests/distro/installer/debian install curl libgssapi-krb5-2 libkrb5-dbg libldap-2.5-0 liblzma5 libpcap0.8 libsasl2-2 openssl snmp libcurl4-openssl-dev liblzma-dev libssl-dev lld python-dev python-pip python-venv scons
Hit:1 http://debian.charite.de/debian sid InRelease
Hit:2 http://debian.charite.de/debian experimental InRelease                                                                                                                                                      
Hit:3 http://deb.debian.org/debian sid InRelease                                                                                                                                                                  
Hit:4 http://deb.debian.org/debian-debug unstable-debug InRelease                                                                                                                                                 
Hit:5 https://download.docker.com/linux/debian bullseye InRelease                                                                                                                                
Hit:6 http://deb.debian.org/debian-debug experimental-debug InRelease                                                                                                  
Hit:7 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                                          
Hit:8 https://prod-cdn.packages.k8s.io/repositories/isv:/kubernetes:/core:/stable:/v1.30/deb  InRelease                   
Get:9 https://packages.microsoft.com/repos/code stable InRelease [3,590 B]
Fetched 3,590 B in 2s (1,573 B/s)    
Reading package lists... Done
Reading package lists...
Building dependency tree...
Reading state information...
Package python-pip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  python3-pip

Package python-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  python-dev-is-python3

E: Package 'python-dev' has no installation candidate
E: Package 'python-pip' has no installation candidate
E: Unable to locate package python-venv
Cannot install some packages of mongodb depends

rli9 added a commit that referenced this issue May 27, 2024
@rli9
Copy link

rli9 commented May 27, 2024

Sorry, this is a bug that doesn't do the map of python to python3 when it is debian trixie_sid. I just add a fix, can you try the latest code?

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

No branches or pull requests

2 participants