weird behaviour of slackpkg (slackpkgplus?) compared to slapt-get
While I was trying the package slapt-get and tested it, I was surprised to see that:
- slapt-get showed me python-docutils to upgrade from 0.16 to 0.17 version - I looked at /var/log/packages to see if python-docutils was really 0.16, and it was - "slackpkg upgrade-all" didn't show me python-docutils to upgrade I have no package of that sort in blacklist of greylist of slackpkg. I have the same mirror for slackpkg and SOURCE for slapt-get. Can someone make the same test as me? Is it a corner case? |
Some mirrors still seem to have 0.16 so could be that slapt-get checked another mirror first.
|
Here is my slackpkg (w/slackpkg+) result. I don't use slapt-get.
Code:
slackpkg search python-docutils I am using a mirror of slackware.mirrors.tds.net locally. |
for slackpkg in mirrors I selected: http://slackware.uk/slackware/slackware64-current/
for slapt-get in slapt-getrc I chose: SOURCE=http://slackware.uk/slackware/slackware64-current/:OFFICIAL they are with the same mirror, and python-docutils-0.17 is dated "Sat Apr 3 18:28:05 UTC 2021" which is not yesterday. |
I just manually checked the directory on the mirror, and the version of that package which is on the server is the .17.
Did you run 'slackpkg update' before you did the 'upgrade-all'? |
I always exec: "slackpkg update && slackpkg upgrade-all"
|
Hello,
Quote:
Code:
$ grep python-docutils /var/lib/slackpkg/pkglist SeB |
slackware64 python-docutils 0.17 x86_64 1 python-docutils-0.17-x86_64-1 ./slackware64/l txz
I re-explain what I did: I always use "slackpkg update && slackpkg upgrade-all", so I was suprised when I used "slapt-get --upgrade" to see there was a package which was not updated. So I re-ran "slackpkg update && slackpkg upgrade-all" and nothing was to upgrade. Then I listed the packages installed: # ls /var/log/packages/python-docutils* it was version 0.16 of the package: - so "slapt-get --upgrade" was right - "slackpkg upgrade-all" was wrong. |
Quote:
I just considered the idea to enhance "slackpkg update" for a function to check all available mirrors for the most recent version, and then create the update list from that mirror, BUT I don't think it would be a great idea, because (1) Whenever the original Slackware server gets some updates it would be overrun, because it always will take the mirrors a while to get sync'ed (2) The first mirrors updated will share that fate, and mirror operators won't be too happy about that (3) It would take a while to scan all the mirrors, so I would expect a noticeable decrease of slackpkg performance So if, and only if, slackpkg would be extended in that way, it should be possible to invoke it with that function alone, independent of update, upgrade-all etc., and it would have to be possible to exclude the original Slackware server and some authoritative mirrors from the list of mirrors to be scanned in order to ensure smooth and scalable mirror operation. Just my 0.02 EUR. |
the mirror site is exactliy the same, and before upgrade I checked on the mirror the presence of the package: it was there!
- "slackpkg upgrade-all" didn't see it - "slapt-get --upgrade" saw it Your hypothesis of a non synced mirror is wrong. |
When you run "slackpkg update" have you tried answering "y" to this prompt?
Code:
No changes in ChangeLog.txt between your last update and now. Quote:
What does 'SLACKPKGPLUS=off slackpkg search python-docutils' produce? What does 'ls -l /var/lib/pkgtools/packages/python-docutils*' produce? |
Do you really want to download all other files (y/N)? : Y
Now I have upgraded that package with "slapt-get --upgrade". I can try to downgrade to 0.16 and see if I have the same result. |
You know what?
|
2 Attachment(s)
Exactly the same result after downgrade:
- slackpkg upgrade-all: nothing - slapt-get --upgrade : python-docutils I enclosed my slackpkgplus.conf and slapt-getrc files, if someone can do the same thing I did: downgrade to 0.16 from cumulative mirror (http://slackware.uk/cumulative/slack.../slackware64/l) and use the same mirror. Tell me what's the result on your side. |
root@XXXXX:~/Downloads# SLACKPKGPLUS=off slackpkg search python-docutils
Looking for python-docutils in package list. Please wait... DONE The list below shows all packages with name matching "python-docutils". [ upgrade ] - python-docutils-0.16-x86_64-6 --> python-docutils-0.17-x86_64-1 You can search specific files using "slackpkg file-search file". --------------------------------------- Either the problem is in slackpkgplus or in my slackpkgplus.conf? Any idea? |
Quote:
Did a slackpkg update and slackpkg upgrade-all. It includes python-docutils-0.17. :confused: Code:
alienbob python-dateutil-1.5-x86_64-1alien.tgz Code:
[inst] slackpkgplus : slackpkg+-1.7.5-noarch-1mt |
The output of 'SLACKPKGPLUS=off slackpkg search python-docutils' shows that slackpkg is recognizing that you have python-docutils 0.16 installed and that is need to be upgraded.
What does 'slackpkg search python-docutils' produce? I don't see anything is your slackpkgplus.conf file that would cause this. That said, I don't think the ':*' is needed at all. You have 'kernel:testing' in there twice. I cannot comment on the slap-getrc since I don't use it. |
You could try to rebuild the slackpkg database.
Code:
rm -rf /var/lib/slackpkg |
rm -rf /var/lib/slackpkg
rm -rf /var/cache/packages slackpkg update gpg slackpkg update Didn't change anything. ----------------- root@XXXXXX:~/Downloads# slackpkg search python-docutils Looking for python-docutils in package list. Please wait... DONE The list below shows all packages with name matching "python-docutils". [upgr] slackware64 : python-docutils-0.16-x86_64-6 --> python-docutils-0.17-x86_64-1 You can search specific files using "slackpkg file-search file". ----------------- only: SLACKPKGPLUS=off slackpkg upgrade-all allows to update python-docutils to version 0.17 ----------------- on my side: [inst] slackware64 : slackpkg-15.0.1-noarch-1 [inst] slackpkgplus : slackpkg+-1.7.5-noarch-1mt ----------------- Can you post your slackpkgplus.conf? |
Quote:
Here is my slackpkgplug.conf. Code:
SLACKPKGPLUS=on |
All times are GMT -5. The time now is 04:34 PM. |