aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpan bug.md23
1 files changed, 23 insertions, 0 deletions
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.