Endless loop in "Install multimedia codecs" report when background installation fails silently
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linuxmint/mintreport
-
Feature Request: Show desktop notification when kernel bell is triggered by a hardware/driver error Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
linuxmint/mintreport#135 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
linuxmint/mintreport#134 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
linuxmint/mintreport#133 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
linuxmint/mintreport#131 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
linuxmint/mintreport#130 ·
All issues in linuxmint/mintreport
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
anthropics/skills#1811 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
speaches-ai/speaches#678 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
datalayer/mcp-compose#42 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
conda-forge/spacy-feedstock#177 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
UKGovernmentBEIS/inspect_evals#2523 ·