Cannot update with slackpkg+
Hi,
I just reinstalled Slackware64 using this current ISO (https://slackware.uk/people/alien-cu...64-current-iso). So it's a fresh install, but unexpectedly slackpkg+ is not working. I'm using slackpkg+-1.7.6-noarch-5mt I set verbose at level 3 on slackpkgplus.conf If I run slackpkg update gpg, I got this: Code:
Getting key from https://www.slackware.com/infra/keys/GPG-KEY Code:
FATAL! No Slackware GPG-KEY imported. How can I solve? If I disable slackpkg+, slackpkg is running fine. Thank you in advance, Scorpion77 |
I'm sorry I have no answer because I didn't try upgrading my system in the last month, but I think your problem may be related to a recently reported vulnerability with gpg-keys:
https://www.linuxquestions.org/quest...ed-4175694561/ which lead to the Mon Jun 7 18:53:49 UTC 2021 change log entry: Code:
ap/slackpkg-15.0.5-noarch-1.txz: Upgraded. I hope this may give you at least some little help. |
Has you uncomment mirror file to choose ftp o http? I've use slackpkg under non current version by no problem.
Can you follow the official steps https://docs.slackware.com/slackware:slackpkg |
Quote:
|
It's possible the change to the official slackpkg update broke slackpkg+. Hopefully someone else running the latest versions can chime in to see if theirs is working or broken. If it's broken, I imagine it will be patched within a day or two.
|
Quote:
|
FWIW, here is what I have installed, and working fine.
Code:
ls -l /var/lib/pkgtools/packages | grep slackpkg |
Quote:
|
Same problem here : fresh install of current, slackpkg alone works great, the add of slackpkg+ lead to this strange behavior :
- no update of the gpg keys for alienbob and restricted area (uncommented as usual in the slackpkgplus.conf file), - only update of the slackware gpg key - but "slackpkg update" ask for the gpg key update... Thanks for your advices Séb |
Quote:
For -current64 you could use (for example): MIRRORPLUS['alienbob']=http://slackware.uk/people/alien/sbrepos/current/x86_64/ |
Thank you, but that doesn't work : even if the only mirror activated in slackpkg+ is the one for updating slackpkg+ itself, the behaviour I described is observed.
|
what are the results for the following:
Code:
find /etc -iname *.new |
I think the issue lies with get and import GPG keys. If your keys are up-to-date, no issue. But with a fresh Slackware-current install, as soon as you install slackpkgplus and declare additionnal mirrors (e.g. alienbob, etc ...), slackpkgplus is unable to grab the new GPG keys.
I'm not 100% sure, but I noticed that slackpkg-15.0.5-noarch-1 defines new functions named get_gpg_key and import_gpg_key which are not overrided in /usr/libexec/slackpkg/functions.d/slackpkgplus.sh |
Yep, slackpkg+ needs an upgrade due to the new gpg routines in slackpkg. As the OP reported, slackpkg update gpg works without slackpkg+. The output below is with the 'CHECKGPG=off' setting in slackpkg.conf:
Code:
root@laptop:/# slackpkg update gpg Code:
root@laptop:/# slackpkg update |
Yep, it's broke.
slackpkg - version 15.0.5 / slackpkg+ 1.7.6 Made a back up of /var/lib/slackpkg, then deleted it. Here is what happens: Code:
slackpkg update gpg Code:
slackpkg update gpg Code:
SLACKPKGPLUS=off slackpkg update gpg Code:
root@racermach:~# slackpkg update gpg Code:
:/var/lib/slackpkg# ls -l |
All times are GMT -5. The time now is 08:19 PM. |