Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

distro.codename is sid instead of xenial on Ubuntu xenial

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

Start by reproducing the Ubuntu Xenial example through aptsources.distro.get_distro(), then trace how the distro codename is detected. Done means the same code reports xenial rather than sid on Ubuntu Xenial; the issue does not name a source file or test to run.

Written by the indexing model from the issue text.

Description

Hello,

When executing this code on Ubuntu Xenial:


import aptsources.distro as aptsources_distro
distro = aptsources_distro.get_distro()

distro.codename evaluates to sid when it should be xenial.

Dominant language
C++
Stars
67
Forks
42
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from excid3/python-apt

All issues in excid3/python-apt

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.