Bug 27372 - MCC: Link to our tool for removing unused localisations and translations, remove-unused-packages
Summary: MCC: Link to our tool for removing unused localisations and translations, rem...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard: MGA7TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-08 10:57 CEST by Morgan Leijström
Modified: 2020-10-13 20:01 CEST (History)
1 user (show)

See Also:
Source RPM: drakxtools
CVE:
Status comment:


Attachments

Description Morgan Leijström 2020-10-08 10:57:31 CEST
Live systems installed to USB stick now optimally have persistence.

That is great.
Amongst the good things about that is that the system can be updated.

A problem with updating it, is that it have so many localisations installed, and all available translations of Firefox, Libreoffice - including help... so when updating, a lot packages unused by this user vill get updated
§  Lots of unnesessary download
§  Lots of space in storage will be eaten by unused packages.
§  Takes longer time especially on slow connections and slow standard USB stick

Uninstalling all that manually is tedious.

We do have that functionality as part of installer, see
https://doc.mageia.org/draklive/6/en/content/unused.html
https://docteam.mageia.org.uk/PDF/draklive/DrakLive-cover-EN-PDF.pdf chapter 10

Could we have that as a separate tool?
And maybe link to it from within MCC, and mageiawelcome.

As persistance now is easy to achieve and marketed, i think this addition is a logical improvement for continued use.

(That said, for even greater flexibility user can install mageia in conventional way to a  stick like installing to internal disk, but as we have live persistance this is a logical follow up and improvement on that road.)
Comment 1 Lewis Smith 2020-10-11 14:53:40 CEST
I presume that the updateable system in question somehow avoids passing via the standard installer options for this, cited.

We have the code...
Assigning to the best judges, Tools group. CC'ing Martin for his view.

CC: (none) => lewyssmith, mageia
Assignee: bugsquad => mageiatools
Component: RPM Packages => New RPM package request
Summary: Tool to remove unused localisations and translations, especially for persistent live USB => Tool to remove unused localisations and translations, especially for persistent live USB; NEW PACKAGE REQUEST

Comment 2 Martin Whitaker 2020-10-13 11:25:27 CEST
The tool already exists: /usr/sbin/remove-unused-packages

It provides the option to remove unused hardware support as well as unused locale packages, exactly the same as when running draklive-install. The only difference is that draklive-install runs 'urpme --auto-orphans' afterwards, which cleans up a bit more.

So we just need to advertise it.
Comment 3 Morgan Leijström 2020-10-13 13:16:40 CEST
Great! :)

Could this be added to MCC panel, in the same group as add/remove programs etc?

"Remove unused localisation and hardware support"

Severity: enhancement => normal
Component: New RPM package request => RPM Packages
Source RPM: (none) => drakxtools
Summary: Tool to remove unused localisations and translations, especially for persistent live USB; NEW PACKAGE REQUEST => Advertise our tool to remove unused localisations and translations, remove-unused-packages

Lewis Smith 2020-10-13 16:09:27 CEST

CC: lewyssmith => (none)

Comment 4 Morgan Leijström 2020-10-13 17:03:12 CEST
Advertising on our wiki...

Added:
https://wiki.mageia.org/en/Removing_packages#Removing_unused_localisation_and_hardware_support

Rewrote:
https://wiki.mageia.org/en/Installation_Media#Persistence_with_memory_devices

Enhanced:
The "Live ISOs" paragraph at both
https://wiki.mageia.org/en/Mageia_7_Release_Notes#Available_installation_media
https://wiki.mageia.org/en/Mageia_8_Release_Notes#Available_installation_media

Whiteboard: (none) => MGA7TOO
Severity: normal => enhancement
Summary: Advertise our tool to remove unused localisations and translations, remove-unused-packages => MCC: Link to our tool for removing unused localisations and translations, remove-unused-packages

Morgan Leijström 2020-10-13 20:00:40 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=24708, https://bugs.mageia.org/show_bug.cgi?id=24709

Morgan Leijström 2020-10-13 20:01:29 CEST

See Also: https://bugs.mageia.org/show_bug.cgi?id=24708, https://bugs.mageia.org/show_bug.cgi?id=24709 => https://bugs.mageia.org/show_bug.cgi?id=27408, https://bugs.mageia.org/show_bug.cgi?id=27409


Note You need to log in before you can comment on or make changes to this bug.