This is also the result I got. This is a much cleaner look. Thanks!
Quote:
|
Is that what I am supposed to see? If so then something is definitely wrong here on my end. FYI, I like that listing a lot better than what I see.
My only download from the Internet is slackpkgplus, the rest are from "file:" so I guess being cached and not being cache are pretty much the same as for speed goes. ;) This is my listing: Code:
slackpkg update |
file:// do not need caching :), so it's a correct output.
|
I know I am being a pest, but why is your output above prettier that my output, was that an edited output for clarity. I switched all of my repositories to https: and excluded my own repository. This is what I get on the second update:
Code:
slackpkg update |
set VERBOSE=0
|
I tried that earlier, same output.
slackpkgplus.conf: Code:
SLACKPKGPLUS=on |
Quote:
1) `slackpkg update` always acts like there are updates, even when there's nothing to update. Specifically, on every run (with VERBOSE=3) I see something like this: Code:
Files //var/lib/slackpkg/CHECKSUMS.md5.asc and /tmp/slackpkg.9Nstx0/CHECKSUMS.md5.asc differ Code:
No changes in ChangeLog.txt between your last update and now. With the default slackpkg+ settings, `slackpkg check-updates` will download the entire ChangeLog from each repo to see if there are updates. That's pretty inefficient/slow, couldn't slackpkg+ just use the method of comparing cached vs upstream CHECKSUMS.md5.asc file on both 14.2 and -current? Or at a minimum, use that method if slackpkg-15 is detected? |
Any chance to have slackpkg+ "check-updates" return 1 if there are updates? (to bring it inline with slackpkg-15.0):
Code:
Mon Feb 8 05:13:26 UTC 2021 |
ehm. I think that there is a bug in slackpkg. It seems to return 0 always.
Code:
# SLACKPKGPLUS=off slackpkg check-updates |
That's odd, I tested slackpkg 15.0 a few days ago and it returned a 1 when there were updates. I'll wait until there are some updates and check it out.
|
with or without slackpkg+ ?
|
Without, if I recall correctly.
|
slackpkg exits 1 only if there is an error, so verify if you had an error.
@rworkman from the code: the function checkchangelog() returns 1 or 0 as described. However this works internally. the difference with slackpkg 2.8x is about the output: slackpkg 2.8x: No updated packages since last check. - in standard output Updated packages are available since last check - in standard output slackpkg 15: Slackpkg: No updated packages since last check. - in standard output Slackpkg: Updated packages are available since last check. - in standard error description on git log: Code:
* Modify check-updates to output need to update to stderr so cron |
Hello,
Quote:
Code:
... Code:
if checkchangelog 1>/dev/null 2>/dev/null ; then The fix for that seems simple: add an 'exit 1' after that echo. But in this case, cleanup() is not executed and slackpkg refuses to start on next run : Code:
$ slackpkg check-updates Code:
--- /media/sf_sandbox_tmp/TEST/slackpkg15/usr/libexec/slackpkg/core-functions.sh 2021-02-21 06:52:29.000000000 +0100 -- SeB |
Never mind. Didn't read the rest of the thread before posting.
|
All times are GMT -5. The time now is 06:19 AM. |