voxpupuli / voxpupuli/puppet-python

System Python cannot be installed on Ubuntu 24.04

Open
#711 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
196
Forks
372
Avg merge
1d 18m
Merged PRs (30d)
4

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the README example using version => 'system' and reproduce it on Ubuntu 24.04, observing the apt-get failure for the unavailable python package. Trace how the module selects the system package and verify that the expected Python package can be installed successfully without breaking pip, dev, or gunicorn support.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, ruby
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.