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

System Python cannot be installed on Ubuntu 24.04 #711

Open
akomakom opened this issue Dec 19, 2024 · 0 comments
Open

System Python cannot be installed on Ubuntu 24.04 #711

akomakom opened this issue Dec 19, 2024 · 0 comments

Comments

@akomakom
Copy link

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 8
  • Ruby: 3.2.5
  • Distribution: Ubuntu 24.04
  • Module version: mod 'puppet-python', '7.4.0'

How to reproduce (e.g Puppet code you use)

Use the example from the README:

  class { 'python':
    version    => 'system',
    pip        => 'present',
    dev        => 'present',
    gunicorn   => 'present',
  }

What are you seeing

Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install python' returned 100: Reading package lists...                                                       
Building dependency tree...                                                                                                                                                                 
Reading state information...                                                                                                                                                                
Package python 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:                                                                                                                                                  
  2to3 python-is-python3     

What behaviour did you expect instead

Python should be installed (possibly via apt install python-is-python-3)

Output log

Any additional information you'd like to impart

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

1 participant