Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@DetachHead
Copy link
Contributor

@fredcw
Copy link
Contributor

fredcw commented Jul 29, 2025

There are many library packages that begin with "libre", perhaps 150+ e.g. libregexp-common-perl, libretro-core-info

@DetachHead
Copy link
Contributor Author

Perhaps it's better to make a setting to toggle this filtering then

@fredcw
Copy link
Contributor

fredcw commented Jul 29, 2025

why not just add it to the existing strings:

if name.startswith("lib") and not name.startswith(("libreoffice", "librecad", "libk3b7", "libimage-exiftool-perl", "librewolf")):

@DetachHead
Copy link
Contributor Author

as i mentioned in linuxmint/mintinstall#470 i don't think it's a good idea to special-case package names like that, because it leads to confusing behavior when false positives like this occur. i suspect there are many more user-facing packages that start with "libre", so as long as there's the possibility for more false positives i think a better solution is to give users the option to either toggle or customize this filtering. but i guess i can just go with your suggestion for now

@fredcw
Copy link
Contributor

fredcw commented Jul 30, 2025

I only found libreoffice and librecad that looked like applications. Should be fine.

@DetachHead DetachHead changed the title don't filter out any packages starting with "libre" don't filter out librewolf Jul 30, 2025
@mtwebster mtwebster merged commit 6034824 into linuxmint:master Jul 30, 2025
@mtwebster
Copy link
Member

This isn't great, but it works well enough in practice (this list hadn't been updated since 2018)...

  • So many packages start with lib- this is a performance concern for the software manager, not just an attempt to hide useless packages from normal users.
  • We've tried to get away from making options for things like this that are technical in nature, and prefer to try to 'do the best we can' in a situation instead.

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

Successfully merging this pull request may close these issues.

"librewolf" apt package does not display in software manager

3 participants