From b768ff7a84aee5378c15a366adfd984c6fe32960 Mon Sep 17 00:00:00 2001 From: Slack Coder Date: Tue, 18 Mar 2025 15:18:23 -0500 Subject: todo --- cpan bug.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 cpan bug.md (limited to 'cpan bug.md') diff --git a/cpan bug.md b/cpan bug.md new file mode 100644 index 0000000..983c0e0 --- /dev/null +++ b/cpan bug.md @@ -0,0 +1,23 @@ +# CPAN bug + +Sbotool's appears to consider packages installed via both CPAN and via +Slackware package management system. There is a bug where CPAN packages are +being misreported. + +The get_installed_cpans() subroutine in Pkgs.pm has been reporting removed CPAN +modules as still being installed, and the check was missing from sboupgrade +altogether. As a solution, check the contents of .packlist for file or symlink +existence. + +Basic fixes in sbotools version 3: + + - Don't report the CPAN module as installed unless all files are present + https://github.com/pghvlaans/sbotools/commit/667757f33ab166d7676f670db6d2c9b3c5ca7c48 + + - Report partially-installed CPAN modules (but don't block installation) for + more informative output. + https://github.com/pghvlaans/sbotools/commit/0b9000b7c70b942245472c82064e98f4a484326c + +Thanks to pghvlaans for submitting the issue. + +This is low priority, because this feature does not appear to be common or well used. -- cgit v1.2.3