Is the -current slackpkg out of date?
by tauon from LinuxQuestions.org on (#557FS)
Hello all!
I'm wondering if slackpkg is still up to date. I looked through slackpkg scripts installed into my -current and found that it still uses /var/log/packages (mostly in /usr/libexec/slackpkg/core-functions.sh, but also in functions.d/). Well, of course one can create a symlink to /var/lib/pkgtools/packages, and it perfectly works, but personally I don't think this is a good way to resolve the problem, it must be in some way consistent with pkgtools. I see that the latest update of the stable version of slackpkg was in 2018, and even according to the beta changelog the /var/log path is mentioned only once since the last stable release:
>- Fix for /var/log/packages/ possibly being a symlink to elsewhere
so it still relies on the "old" path.
P.S. I tried to change the core-functions.sh script by `%s/\/var\/log\/packages/${PKGDIR}/g`, but it was too simple to resolve the problem.
P.P.S. I use Slackware just for one week and really enjoy it despite troubles I needed to fix.


I'm wondering if slackpkg is still up to date. I looked through slackpkg scripts installed into my -current and found that it still uses /var/log/packages (mostly in /usr/libexec/slackpkg/core-functions.sh, but also in functions.d/). Well, of course one can create a symlink to /var/lib/pkgtools/packages, and it perfectly works, but personally I don't think this is a good way to resolve the problem, it must be in some way consistent with pkgtools. I see that the latest update of the stable version of slackpkg was in 2018, and even according to the beta changelog the /var/log path is mentioned only once since the last stable release:
>- Fix for /var/log/packages/ possibly being a symlink to elsewhere
so it still relies on the "old" path.
P.S. I tried to change the core-functions.sh script by `%s/\/var\/log\/packages/${PKGDIR}/g`, but it was too simple to resolve the problem.
P.P.S. I use Slackware just for one week and really enjoy it despite troubles I needed to fix.