Hello,
Following the guidelines from https://www.debian.org/Bugs/Reporting <https://www.debian.org/Bugs/Reporting> I'm requesting advice on what package to file my bug against. The bug relates to whether Perl
should˙be a package dependency of linux-base. Package linux-base
provides˙/usr/bin/linux-version which can be invoked by many things that interact with initramfs / firmware generation,˙kernel level build stuff.
If perl is not installed the invocation will fail. If this occurs when creating a chroot (eg via mmdebstrap as we are), this breaks the build.
A workaround is to specify perl in the list of packages that get
installed in the chroot.
While package linux-base does not require perl, it installs a script
that if invoked will fail to run if perl is not installed. This problem
goes unnoticed if installing a system from minbase or friends (because
perl is pulled by something), but it shows up if doing a custom
chroot˙build where a specific list of packages is used (and therefore expected to be installed in) the chroot.
Should I raise this as a bug against linux-base? It seems reasonable. If not, which package would be appropriate?
Many thanks,
--˙ Matt
Should I raise this as a bug against linux-base? It seems reasonable. If
not, which package would be appropriate?
On Mon, Jan 26, 2026 at 12:28:46PM +0000, Matthew Lear wrote:
Should I raise this as a bug against linux-base? It seems reasonable. If
not, which package would be appropriate?
I think it's reasonable to ask the maintainers of linux-base (by way of
a bug report) if there should be an explicit dependency there, but
perl-base is of "required" priority so it's normally expected to be
there.
I am not sure what Debian policy is in this regard ? perhaps someone
more knowledgeable will chime in ? but possibly packages are not
expected to declare such dependencies and you may be told that you are
doing something out of the ordinary (wontfix/notabug).
Andy wrote:
I think it's reasonable to ask the maintainers of linux-base (by way of
a bug report) if there should be an explicit dependency there, but >perl-base is of "required" priority so it's normally expected to be
there.
I am not sure what Debian policy is in this regard ? perhaps someone
more knowledgeable will chime in ? but possibly packages are not
expected to declare such dependencies and you may be told that you are >doing something out of the ordinary (wontfix/notabug).
Exactly. Priority: required packages are deliberately left out of
explicit dependencies, that's the whole point.
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 5 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 19:03:25 |
| Calls: | 117 |
| Calls today: | 117 |
| Files: | 367 |
| D/L today: |
540 files (253M bytes) |
| Messages: | 70,845 |
| Posted today: | 26 |