Missing Perl Command Line Debugger

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | cat /boot/dietpi/.version
    G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=6
    G_DIETPI_VERSION_RC=1
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’

  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
    bookworm 0

  • Kernel version | uname --all
    Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux

  • Architecture | dpkg --print-architecture
    arm64

  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
    RPi 4 Model B (aarch64)

  • Power supply used | (EG: 5V 1A RAVpower)
    iUniker USB C

  • SD card used | (EG: SanDisk ultra)
    SanDisk ultra

Additional Information (if applicable)

  • Software title | (EG: Nextcloud)
    Perl 5
  • Was the software title installed freshly or updated/migrated?
    came with operating system
  • Can this issue be replicated on a fresh installation of DietPi?
    ← If you sent a “dietpi-bugreport”, please paste the ID here →
  • Bug report ID | echo $G_HW_UUID
    75e1a942-c63b-4d9e-80d9-366f29cc22fb

Steps to reproduce

  1. perl -de ‘1’

Expected behaviour

the Perl debugger prompt should appear

Actual behaviour

Can’t locate perl5db.pl in @INC (@INC contains: /etc/perl /usr/local/lib/aarch64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/aarch64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/aarch64-linux-gnu/perl-base /usr/lib/aarch64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl).
BEGIN failed–compilation aborted.

Extra details

Looks like the standard Perl distribution implementation is incomplete. It came as part of the Linux system.

simply install debug package perl-debug. We do not install such packages by default, as they are not needed by 99.9% of users. And our aim is to create systems that are as small as possible and have as few packages installed as possible. That’s why we call it Diet(Pi).

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.