[Bug 2091361] Re: New perl dependency in UCF increases minimal image by >10%
Matthieu Clemenceau
2091361 at bugs.launchpad.net
Wed Jan 15 13:58:49 UTC 2025
** Tags added: rls-pp-incoming
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ucf in Ubuntu.
https://bugs.launchpad.net/bugs/2091361
Title:
New perl dependency in UCF increases minimal image by >10%
Status in ucf package in Ubuntu:
New
Bug description:
As far as I found the changelog https://launchpad.net/ubuntu/+source/ucf/3.0044 this might be required as all I can find there is:
- add missing Depends: procps, ${perl:Depends}
So if there is a real dependency it can't just be dropped.
But maybe whatever depends on it can be isolated and separated?
Because as-is what I see is that minimal images change from
Old:
root at o-min:~# dpkg -l | grep perl
ii liblocale-gettext-perl 1.07-7 amd64 module using libc functions for internationalization in Perl
ii perl-base 5.38.2-5 amd64 minimal Perl system
New
root at p-min:~# dpkg -l | grep perl
ii liblocale-gettext-perl 1.07-7build1 amd64 module using libc functions for internationalization in Perl
ii libperl5.40:amd64 5.40.0-8 amd64 shared Perl library
ii perl 5.40.0-8 amd64 Larry Wall's Practical Extraction and Report Language
ii perl-base 5.40.0-8 amd64 minimal Perl system
ii perl-modules-5.40 5.40.0-8 all Core Perl modules
And due to that gain extra content due to perl being installed.
Biggest chunks I've found are:
- /usr/lib/x86_64-linux-gnu/perl with 26 mb
- /usr/share/perl/5.40.0 with 23 mb
Nothing changed other than the former missing dependency.
In particular I see one binary in old and nw:
file $(dpkg -L ucf | xargs) | grep -i perl
/usr/bin/ucfq: Perl script text executable
But afaics in a trivial test this works fine in Oracular which only
has
ii perl-base 5.38.2-5
amd64 minimal Perl system
root at o-min:~# ucfq /usr/bin/file
Configuration file Package Exists Changed
/usr/bin/file Yes
root at o-min:~# ucfq --help
Usage: ucfq [options]
Author: Manoj Srivastava <srivasta at debian.org>
where options are:
--help This message.
--debug Turn on debugging mode.
--verbose Make the script more verbose.
--with-colons A compact, machine readable version of the output.
--state-dir </path/> Set the state directory to /path/ instead of the
default /var/lib/ucf.
Could we maybe make it depend on | perl-base or any such?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ucf/+bug/2091361/+subscriptions
More information about the foundations-bugs
mailing list