Closed og900aero closed 1 week ago
This sounds like a problem in the packaging in Debian. Please open a bug at the Debian BTS if you are using their official packages.
This sounds like a problem in the packaging in Debian. Please open a bug at the Debian BTS if you are using their official packages.
No, I don't use repo version, I did the following:
then you have to install the dependencies yourself
Only the po-debconf package is missing. I installed it now, but the error message remained. The Find.pm module is missing (from Perl?). But I don't know how to install it.
Thx. I tried it, and it turned out that a couple of such modules were still missing, which I now added in this way, so it works well now. It is interesting that at the beginning when you did the repair so that it would work fine with the xanmod kernel, then I did not have such a problem. I suspect that apt autoremove detected that these modules are not needed, since the needrestart in the repo is not installed, so it removed it. After that, I will monitor what the apt program will indicate. Thank you for your help!
I'm on Debian 12.7. When I run needrestart, or needrestart -v, needrestart --help, I get error message:
_Can't locate Module/Find.pm in @INC (you may need to install the Module::Find module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/siteperl) at /usr/share/perl5/NeedRestart.pm line 29. BEGIN failed--compilation aborted at /usr/share/perl5/NeedRestart.pm line 29. Compilation failed in require at /usr/sbin/needrestart line 31. BEGIN failed--compilation aborted at /usr/sbin/needrestart line 31.