aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlack Coder <slackcoder@server.ky>2025-03-18 15:18:23 -0500
committerSlack Coder <slackcoder@server.ky>2025-03-18 15:18:23 -0500
commitb768ff7a84aee5378c15a366adfd984c6fe32960 (patch)
treeb854bfca36303fdcb441d417795a419e1cfdfe37
parentcd07f0e6b4abc5e3a564ec133744a90ca57c94db (diff)
downloadsbotools2-b768ff7a84aee5378c15a366adfd984c6fe32960.tar.xz
todo
-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.