Public bug reported:

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@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@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@o-min:~# ucfq /usr/bin/file
Configuration file                            Package             Exists Changed
/usr/bin/file                                                     Yes
root@o-min:~# ucfq --help
Usage: ucfq [options]
Author: Manoj Srivastava <[email protected]>
  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?

** Affects: ucf (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2091361

Title:
  New perl dependency in UCF increases minimal image by >10%

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ucf/+bug/2091361/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to