slackpkg no log?
Does slackpkg not have logging of what its done?
Seems a shortcoming if not, be rather handy to see what it did and when, if it does, I certainly can't locate where it stores this |
Quote:
in /var/log there are packages and removed_packages directories(and more) where you can see which packages have been installed or removed with 'ls -l' you can see the dates too If you want to see all of this in a log file I don't think it is exist but you can generate one with a script if you want. |
See some logs in /var/lib/slackpkg/install.log
|
Hello,
Quote:
-- SeB |
Quote:
|
Quote:
Which reminds me, PACKAGES.TXT has weird data in it, php 5.6 2019 and so on, ummm I'm on a fresh install from a week ago, so no idea where it gets that crud from :) |
Quote:
I know this is more of a slackware problem, since slackpkg just runs pkgtools in the end, but I've been round long enough to know that I don't have a snowflakes chance in hell of convincing Pat to fix that hehe |
I haven't tried it, but I should think you could create your own logs using tee to capture the output of slackpkg.
|
Quote:
Code:
~# ls -lah /var/lib/pkgtools/packages > /tmp/pkg.log Code:
~# exec &> >(tee >(gawk '{ print strftime("[%Y%m%d-%H%M%S]"), $0 }' >> /tmp/slackpkg.log ) 2>&1) && slackpkg [** install/reinstall/update/check-updates **] |
All times are GMT -5. The time now is 04:14 PM. |