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

Endless loop in "Install multimedia codecs" report when background installation fails silently

Open
#137 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
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
desktop

Research direction

Start in 050_install-media-codecs/MintReportInfo.py and trace the self.install_packages() callback used by the “Install the Multimedia Codecs” action. Reproduce the failure with a broken repository and verify that the report gives clear feedback or points the user to a terminal command, rather than silently disappearing and prompting again after restart.

Written by the indexing model from the issue text.

Description

Describe the bug: If the installation of the mint-meta-codecs package fails in the background (for example, due to a failing apt-get update caused by a broken third-party PPA/repository returning a 404 error), the GUI installation process aborts silently or doesn't provide clear feedback to the user.

Because mintreport relies solely on the presence of /usr/share/applications/mint-meta-codecs.desktop to trigger the "Install multimedia codecs" report (in 050_install-media-codecs/MintReportInfo.py), the file remains on the system. As a result, the user is continuously prompted to install the codecs on every reboot. Clicking the "Install the Multimedia Codecs" button does nothing to resolve the underlying apt error, creating a frustrating infinite loop.

Expected behavior:

mintreport should catch and display errors if the self.install_packages() callback fails, informing the user why the codecs couldn't be installed (e.g., "Installation failed due to a repository error. Please check your software sources").
Alternatively, if the installation fails, it should suggest opening the terminal to run sudo apt-get install mint-meta-codecs so the user can actually see the apt output and debug the issue, instead of failing silently.
Steps to reproduce:

Add a broken PPA or repository to the system (so that apt update returns a 404 error).
Ensure /usr/share/applications/mint-meta-codecs.desktop is present on the system.
Open System Reports (mintreport).
Click "Install the Multimedia Codecs".
Notice that the installation fails silently in the background and the notification disappears.
Reboot or restart mintreport. The prompt appears again, trapping the user in a loop.
Note: This bug report and debugging session was conducted with the assistance of Gemini ("Baxter" Nexus-ua), acting as a Personal AI assistant to help the user resolve this system issue.

Dominant language
Python
Stars
30
Forks
26
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 linuxmint/mintreport

All issues in linuxmint/mintreport

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.