LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   Update slarm64 md5/gpg issues? (https://www.linuxquestions.org/questions/slackware-arm-108/update-slarm64-md5-gpg-issues-4175689428/)

pchristy 01-28-2021 10:53 AM

Update slarm64 md5/gpg issues?
 
Is anyone else having problems installing the latest (27 Jan) updates of slarm64?

About half the packages fail to install with md5sum errors. I've tried the uk.slackware repository, the dl. repository and my own local one. If I turn off md5 checking, the same packages fail with gpg errors (yes, I did update gpg after switching mirrors).

--
Pete

sndwvs 01-28-2021 01:30 PM

on the night of the 27th all packages were updated after rebuilding and gpg signing of files, today I updated from dl.slarm64.org there were no such messages. please try again.

larrybpsu 01-28-2021 06:18 PM

I'm seeing the same issues with these packages using dl.slarm64.org:

Code:

NetworkManager-1.28.0-aarch64-4.txz:        md5sum
bind-9.16.11-aarch64-1.txz:        md5sum
binutils-2.36-aarch64-2.txz:        md5sum
gparted-1.2.0-aarch64-1.txz:        md5sum
gtk+2-2.24.33-aarch64-1.txz:        gpg
ibus-libpinyin-1.12.0-aarch64-1.txz:        md5sum
ibus-table-1.12.4-aarch64-1.txz:        md5sum
libgcrypt-1.9.0-aarch64-1.txz:        md5sum
libmbim-1.24.6-aarch64-1.txz:        md5sum
libpinyin-2.6.0-aarch64-1.txz:        md5sum
mozilla-nss-3.61-aarch64-1.txz:        md5sum
pango-1.48.1-aarch64-1.txz:        md5sum
pipewire-0.3.20-aarch64-1.txz:        md5sum
s-nail-14.9.21-aarch64-1.txz:        md5sum
talloc-2.3.2-aarch64-1.txz:        md5sum
util-macros-1.19.3-noarch-1.txz:        md5sum
vte-0.62.2-aarch64-1.txz:        md5sum
xsnow-3.2.2-aarch64-1.txz:        md5sum
NetworkManager-1.28.0-aarch64-4.txz:        md5sum
bind-9.16.11-aarch64-1.txz:        md5sum
binutils-2.36-aarch64-2.txz:        md5sum
gparted-1.2.0-aarch64-1.txz:        md5sum
gtk+2-2.24.33-aarch64-1.txz:        gpg
ibus-libpinyin-1.12.0-aarch64-1.txz:        md5sum
ibus-table-1.12.4-aarch64-1.txz:        md5sum
libgcrypt-1.9.0-aarch64-1.txz:        md5sum
libmbim-1.24.6-aarch64-1.txz:        md5sum
libpinyin-2.6.0-aarch64-1.txz:        md5sum
mozilla-nss-3.61-aarch64-1.txz:        md5sum
pango-1.48.1-aarch64-1.txz:        md5sum
pipewire-0.3.20-aarch64-1.txz:        md5sum
s-nail-14.9.21-aarch64-1.txz:        md5sum
talloc-2.3.2-aarch64-1.txz:        md5sum
util-macros-1.19.3-noarch-1.txz:        md5sum
vte-0.62.2-aarch64-1.txz:        md5sum
xsnow-3.2.2-aarch64-1.txz:        md5sum
NetworkManager-1.28.0-aarch64-4.txz:        md5sum
bind-9.16.11-aarch64-1.txz:        md5sum
binutils-2.36-aarch64-2.txz:        md5sum
gparted-1.2.0-aarch64-1.txz:        md5sum
gtk+2-2.24.33-aarch64-1.txz:        gpg
ibus-libpinyin-1.12.0-aarch64-1.txz:        md5sum
ibus-table-1.12.4-aarch64-1.txz:        md5sum
libgcrypt-1.9.0-aarch64-1.txz:        md5sum
libmbim-1.24.6-aarch64-1.txz:        md5sum
libpinyin-2.6.0-aarch64-1.txz:        md5sum
mozilla-nss-3.61-aarch64-1.txz:        md5sum
pango-1.48.1-aarch64-1.txz:        md5sum
pipewire-0.3.20-aarch64-1.txz:        md5sum
s-nail-14.9.21-aarch64-1.txz:        md5sum
talloc-2.3.2-aarch64-1.txz:        md5sum
util-macros-1.19.3-noarch-1.txz:        md5sum
vte-0.62.2-aarch64-1.txz:        md5sum
xsnow-3.2.2-aarch64-1.txz:        md5sum

FYI: The squeakycode.net mirror (in the US) hasn't been updated since Oct 2020. :(

pchristy 01-29-2021 02:58 AM

Yes, that's pretty much what I'm getting too!

I had a look at all the gpg packages installed and found gpgme and libassuan were missing. I've installed those, but no change. I've tried:

http://slackware.uk/slarm64/slarm64-current/
https://slackware.uk/slarm64/slarm64-current/
ftp://slackware.uk/slarm64/slarm64-current/
and finally: http://dl.slarm64.org/slarm64/slarm64-current/

all with the same result.

Procedure:

slackpkg update gpg
slackpkg update (and answer "yes")
slackpkg install-new (nothing new to install)
slackpkg upgrade-all

Code:

==============================================================================
WARNING!        WARNING!        WARNING!        WARNING!        WARNING!
==============================================================================
One or more errors occurred while slackpkg was running:                     

NetworkManager-1.28.0-aarch64-4.txz:    md5sum
bind-9.16.11-aarch64-1.txz:    md5sum
binutils-2.36-aarch64-2.txz:    md5sum
gparted-1.2.0-aarch64-1.txz:    md5sum
gtk+2-2.24.33-aarch64-1.txz:    gpg
ibus-libpinyin-1.12.0-aarch64-1.txz:    md5sum
ibus-table-1.12.4-aarch64-1.txz:        md5sum
libgcrypt-1.9.0-aarch64-1.txz:  md5sum
libmbim-1.24.6-aarch64-1.txz:  md5sum
libpinyin-2.6.0-aarch64-1.txz:  md5sum
libvisual-plugins-0.4.0-aarch64-6.txz:  md5sum
mozilla-nss-3.61-aarch64-1.txz: md5sum
pango-1.48.1-aarch64-1.txz:    md5sum
pipewire-0.3.20-aarch64-1.txz:  md5sum
s-nail-14.9.21-aarch64-1.txz:  md5sum
talloc-2.3.2-aarch64-1.txz:    md5sum
util-macros-1.19.3-noarch-1.txz:        md5sum
vte-0.62.2-aarch64-1.txz:      md5sum
xfce4-whiskermenu-plugin-2.5.3-aarch64-1.txz:  md5sum
xsnow-3.2.2-aarch64-1.txz:      md5sum
NetworkManager-1.28.0-aarch64-4.txz:    md5sum
bind-9.16.11-aarch64-1.txz:    md5sum
binutils-2.36-aarch64-2.txz:    md5sum
gparted-1.2.0-aarch64-1.txz:    md5sum
gtk+2-2.24.33-aarch64-1.txz:    gpg
ibus-libpinyin-1.12.0-aarch64-1.txz:    md5sum
ibus-table-1.12.4-aarch64-1.txz:        md5sum
libgcrypt-1.9.0-aarch64-1.txz:  md5sum
libmbim-1.24.6-aarch64-1.txz:  md5sum
libpinyin-2.6.0-aarch64-1.txz:  md5sum
libvisual-plugins-0.4.0-aarch64-6.txz:  md5sum
mozilla-nss-3.61-aarch64-1.txz: md5sum
pango-1.48.1-aarch64-1.txz:    md5sum
pipewire-0.3.20-aarch64-1.txz:  md5sum
s-nail-14.9.21-aarch64-1.txz:  md5sum
talloc-2.3.2-aarch64-1.txz:    md5sum
util-macros-1.19.3-noarch-1.txz:        md5sum
vte-0.62.2-aarch64-1.txz:      md5sum
xfce4-whiskermenu-plugin-2.5.3-aarch64-1.txz:  md5sum
xsnow-3.2.2-aarch64-1.txz:      md5sum
NetworkManager-1.28.0-aarch64-4.txz:    md5sum
bind-9.16.11-aarch64-1.txz:    md5sum
binutils-2.36-aarch64-2.txz:    md5sum
gparted-1.2.0-aarch64-1.txz:    md5sum
gtk+2-2.24.33-aarch64-1.txz:    gpg
ibus-libpinyin-1.12.0-aarch64-1.txz:    md5sum
ibus-table-1.12.4-aarch64-1.txz:        md5sum
libgcrypt-1.9.0-aarch64-1.txz:  md5sum
libmbim-1.24.6-aarch64-1.txz:  md5sum
libpinyin-2.6.0-aarch64-1.txz:  md5sum
libvisual-plugins-0.4.0-aarch64-6.txz:  md5sum
mozilla-nss-3.61-aarch64-1.txz: md5sum
pango-1.48.1-aarch64-1.txz:    md5sum
pipewire-0.3.20-aarch64-1.txz:  md5sum
s-nail-14.9.21-aarch64-1.txz:  md5sum
talloc-2.3.2-aarch64-1.txz:    md5sum
util-macros-1.19.3-noarch-1.txz:        md5sum
vte-0.62.2-aarch64-1.txz:      md5sum
xfce4-whiskermenu-plugin-2.5.3-aarch64-1.txz:  md5sum
xsnow-3.2.2-aarch64-1.txz:      md5sum

==============================================================================

Note: When downloading the packages, it seems to do so multiple times. It also seems to try and install them multiple times (see above list).

Yes, only one mirror is selected.

On the first run, about half of the packages updated successfully. The remainder threw up the errors seen above, and continue to do so.

I have run out of ideas!

--
Pete

sndwvs 01-29-2021 03:36 AM

thanks everyone, updated md5, gpg.

pchristy 01-29-2021 04:34 AM

YES! That's fixed it!

Many thanks!

--
Pete

pchristy 02-21-2021 05:17 AM

Problem is back again! Unable to update via slackpkg due to md5sum errors ...

--
Pete

sndwvs 02-21-2021 06:12 AM

this is because of glibc, update glibc first.

pchristy 02-21-2021 08:15 AM

OK, upgraded to glibc-2.33 (and glibc-i18n) using upgradepkg, then re-ran slackpkg update gpg, slackpkg update and finally slackpkg upgrade-all. Still just get md5sum errors on all packages - at least I assume so! I stopped after two screenfulls!

Also tried upgrading slackpkg on its own, and got md5sum error. Maybe I should have used upgradepkg for slackpkg first? Will give that a try later this afternoon (have to go out for an hour, now).

--
Pete

sndwvs 02-21-2021 08:19 AM

check manually what gives:

Code:

gpg --verify  aaa_base-14.2-aarch64-7.txz.asc GPG-KEY

pchristy 02-21-2021 09:36 AM

Doesn't the filename have to have the path inluded? ie: /path/to/aaa_base... and that GPG-KEY seems to be a link, so again, I assume I need the full path?

Code:

gpg --verify http://dl.slarm64.org/slackware/slarm64-current/slarm64/a/aaa_base-14.2-aarch64-7.txz.asc http://dl.slarm64.org/slackware/slarm64-current/GPG-KEY
gpg: can't open `http://dl.slarm64.org/slackware/slarm64-current/slarm64/a/aaa_base-14.2-aarch64-7.txz.asc'
gpg: verify signatures failed: file open error

Code:

gpg --verify http://slackware.uk/slarm64/slarm64-current/slarm64/a/aaa_base-14.2-aarch64-7.txz.asc http://slackware.uk/slarm64/slarm64-current/GPG-KEY
gpg: can't open `http://slackware.uk/slarm64/slarm64-current/slarm64/a/aaa_base-14.2-aarch64-7.txz.asc'
gpg: verify signatures failed: file open error

I don't use gpg much - normally rely on slackpkg to take care of it for me, so apologies for any errors on my part!

--
Pete

sndwvs 02-21-2021 09:45 AM

download files aaa_base-14.2-aarch64-7.txz aaa_base-14.2-aarch64-7.txz.asc GPG-KEY

and then check
Code:

gpg --verify  aaa_base-14.2-aarch64-7.txz.asc GPG-KEY

pchristy 02-21-2021 09:57 AM

As user:
Code:

gpg --verify  aaa_base-14.2-aarch64-7.txz.asc GPG-KEY
gpg: Signature made Sun 21 Feb 2021 02:52:11 AM GMT using RSA key ID 4690E354
gpg: Can't check signature: public key not found

as root:
Code:

gpg --verify  aaa_base-14.2-aarch64-7.txz.asc GPG-KEY
gpg: Signature made Sun 21 Feb 2021 02:52:11 AM GMT using RSA key ID 4690E354
gpg: BAD signature from "slarm64 AArch64 <security@slarm64.org>"

--
Pete

sndwvs 02-21-2021 10:06 AM

with this order, now
Code:

slackpkg update gpg && slackpkg update && slackpkg upgrade-al

pchristy 02-21-2021 10:26 AM

OK, that will take a while! To try and speed things up I've just done:
Code:

slackpkg update gpg && slackpkg update && slackpkg upgrade slackpkg
which was previously failing with md5sum error.

This time it has downloaded and installed correctly, so hopefully problem solved!

It is going to take quite a long time to do the full upgrade. I'll let you know how it goes in an hour or two's time! ;)

At the moment, it looks promising!

Many thanks!

--
Pete

sndwvs 02-21-2021 10:46 AM

Quote:

Originally Posted by pchristy (Post 6222806)
OK, that will take a while! To try and speed things up I've just done:
Code:

slackpkg update gpg && slackpkg update && slackpkg upgrade slackpkg
which was previously failing with md5sum error.

This time it has downloaded and installed correctly, so hopefully problem solved!

It is going to take quite a long time to do the full upgrade. I'll let you know how it goes in an hour or two's time! ;)

At the moment, it looks promising!

Many thanks!

--
Pete

Good.
I have updated my systems myself the problem is just glibc and then checking gpg. an initial manual update to glibc solved this problem.

pchristy 02-21-2021 04:21 PM

The upgrade seems to have finally gone through OK, though my estimate of a couple of hours was some way off! It finally finished around 2100 (started at 1630!). I think it would have been quicker to re-install from scratch!

Funny thing is that I had previously upgraded glibc (at your suggestion), updated gpg and slackpkg and it still didn't work. This last time it did! One of life's mysteries, I guess!

Anyway, all sorted now! Many thanks for your help!

--
Pete


All times are GMT -5. The time now is 04:15 AM.