[SOLVED]nVidia package install fails - bad SHA256 signature

[SOLVED]nVidia package install fails - bad SHA256 signature

Postby Myles » Dec 8th, '21, 05:59

Hello all,
I saw some other people were having problems with nVidia driver previously but didn't see this problem. Is it only me?
A week or so ago I had 5 updates come through for the nVidia driver. It was trying to install 470.86. But the installation fails with 2 mismatching SHA256 signatures (see screenshot) on the doc-html and the nVidia driver.
nVidia updates failing with bad SHA256 signature on doc-html and driver-current - Screenshot_20211207_143908.png
nVidia updates failing with bad SHA256 signature on doc-html and driver-current - Screenshot_20211207_143908.png (31.73 KiB) Viewed 3705 times


I obviously need to do something to rectify this but I don't know what.

Any help greatly appreciated.
Last edited by Myles on Dec 10th, '21, 09:26, edited 1 time in total.
Myles,
Canberra, Australia
User avatar
Myles
 
Posts: 276
Joined: Apr 29th, '12, 10:05

Re: nVidia package install fails - bad SHA256 signature

Postby sturmvogel » Dec 8th, '21, 08:05

It has nothing to do with Nvidia. It's a failed download/bad synced mirror. Remove your mirror set and add a new set. After that issue following command to clean your rpm cache:
Code: Select all
urpmi --clean

Try to update again.

It's now also in the errata:
https://wiki.mageia.org/en/Mageia_8_Errata#Downloading_software
sturmvogel
 
Posts: 743
Joined: Jul 30th, '12, 00:39

Re: nVidia package install fails - bad SHA256 signature

Postby Myles » Dec 9th, '21, 03:28

sturmvogel,
How do you go about removing your mirror set? I thought you just selected a new one and it would replace the previous one (a big assume). Is it possible to have multiple media mirror sets installed? If so, how do you find out which ones you have installed/defined, and go about removing unneeded ones?

I ask this because, after I saw your reply, I followed what you said (but I just selected a different mirror set) and re-ran the update of the packages; but it failed again with the same errors.

This morning I don't even have the packages identified in my taskbar to update, strange as they have been there for over a week to update.
Myles,
Canberra, Australia
User avatar
Myles
 
Posts: 276
Joined: Apr 29th, '12, 10:05

Re: nVidia package install fails - bad SHA256 signature

Postby benmc » Dec 9th, '21, 05:06

Myles wrote:Is it possible to have multiple media mirror sets installed?

yes, but ideally just one "set" enabled

Myles wrote:If so, how do you find out which ones you have installed/defined


run the foLlowing:
Code: Select all
urpmq --list-media active --list-url


Myles wrote:and go about removing unneeded ones?


Via GUI: have a look here => https://doc.mageia.org/mcc/4/en/content ... media.html
highlight the unwanted ones ("ctrl" or "shift" +left mouse click) and then "remove".

regards the persisting bad SHA256 signature, it is possible, that, an error was introduced by a mirror higher up the chain that both the mirrors you use feed from.
benmc
 
Posts: 1215
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: nVidia package install fails - bad SHA256 signature

Postby Myles » Dec 9th, '21, 07:18

benmc,
Good to hear from you again. Are you still across "the ditch" (me being in OZ).

Anyway, I found that it does indeed just keep adding media sources - I had about 5 separate ones. So I deleted all of those.
Ran the "urpmi --clean" command that sturmvogel suggested. Then reran the nVidia package update......only to fail again with the same errors.

The only media source I have defined now is the Mirror List (see screen shot)

Mirror List in Media definitions after removing all of the extra ones I had added - Screenshot_20211209_160808.png
Mirror List in Media definitions after removing all of the extra ones I had added - Screenshot_20211209_160808.png (70.52 KiB) Viewed 3658 times


So I still have no idea what is going on.

Any ideas. Should I have to run another command or something?
Myles,
Canberra, Australia
User avatar
Myles
 
Posts: 276
Joined: Apr 29th, '12, 10:05

Re: nVidia package install fails - bad SHA256 signature

Postby benmc » Dec 9th, '21, 07:38

ok. so you need to remove those ones again.

what $mirrorlist does is, by geo-location, picks the nearest mirror to you, in all likelihood aarnet, same as for me, so the same faulty one again!
How-ever aarnet seems to have, for me anyway, regularly those bad SHA256 signatures.

top left of the image you provided there is a "File" entry.
click on there and choose "Add a Specific Medium Mirror."

approve the popup about mirror list.

choose a mirror from the provided list.
if you just type "au" it will highlight the australia mirrors entry. pop the mouse pointer onto it and "left mouse click" the arrow and it will show all AU entries.
choose the internode one - it seems to be more reliable (for me anyway)

...............................

Hi Myles

yes, still here on the right side of the ditch. ;)
pandemic responses around the world imply that here is a good place to be. :D

Good to see you are still with Mageia, I find it to be pretty much install and forget.
a recent "top" indicated this machine had been on for 82 days, without issues.
A power cut the other day drained the UPS so a new run begins.

cool, 1000 posts, hopefully some were useful :lol:
benmc
 
Posts: 1215
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: nVidia package install fails - bad SHA256 signature

Postby sturmvogel » Dec 9th, '21, 07:43

The mirror list picks one of the mirrors that is next to you (the one with the fastest connection). Please pick a specific mirror as it is described here: https://wiki.mageia.org/en/Installing_and_removing_software#Setting_up_the_online_sources ecspecially here https://wiki.mageia.org/en/Installing_and_removing_software#Adding_a_specific_Media_Mirror. Make sure that you pick one that is up to date: https://mirrors.mageia.org/status

And also set the download program to 'wget' as it is described here
https://wiki.mageia.org/en/Mageia_8_Errata#Downloading_software
sturmvogel
 
Posts: 743
Joined: Jul 30th, '12, 00:39

Re: nVidia package install fails - bad SHA256 signature

Postby Myles » Dec 9th, '21, 12:19

benmc,
Thanks for that. I've done that. I usually choose Internode as my NBN (snail-paced "FAST" internet connection [25Mb/s!] - BIG JOKE in OZ) - is actually with Internode so my downloads shouldn't count against my Gb monthly allowance!

Okay, removed everything. Added Internode as a Specific mirror. Ran the clean command; tried to update the packages again.........same errors!!!!! :evil:

/Side Chat
I'm still here on the correct side of the ditch ;)
As you say "pandemic responses around the world imply that here is a good place to be. :D" as is OZ. Although the new Omicron strain has invaded and started to spread! :cry:
I had my 3rd vaccination 2 days ago (I am immunosupressed), due for a booster in 6 months. Hopefully we can keep this bugger at bay on both sides of "the ditch!"

sturmvogel,
thanks for that, I have made those changes as proposed by you. As I've said to benmc, I've set it to Internode (my service provider anyway) - Current status "2021-12-08 02:37".

But the updates still fail with the same messages.
Myles,
Canberra, Australia
User avatar
Myles
 
Posts: 276
Joined: Apr 29th, '12, 10:05

Re: nVidia package install fails - bad SHA256 signature

Postby sturmvogel » Dec 9th, '21, 16:02

According to the mirror list, Internode is not completely up to date. I don't know your internet plan and your contract details and so on. And i don't know how expensive internet/telecommunication contracts/GB per month at your location is. But it seems that the Internode mirror is the problem and you should probably try an other mirror.
sturmvogel
 
Posts: 743
Joined: Jul 30th, '12, 00:39

Re: nVidia package install fails - bad SHA256 signature

Postby Myles » Dec 10th, '21, 09:26

sturmvogel,
Thanks for that, It was pretty much UTD yesterday (2021-12-09 14:10) when I tried to re-install the packages.
Anyway, nothing is working to get around this! :evil: I have removed Internode, Tried aarnet (another OZ mirror) both with no success. I tried TW and JP - got quite a few failures getting metadata for the Tainted Libraries and something else - so also a no go.
I have now got the nju CN mirror, tried to re-install - FAILURE AGAIN! Each time I have been running the urpmi --clean cmd.
I thought this was working, but after I actually read the output I now had my doubts.
An example:
Code: Select all
[myles@Bilbo log]$ urpmi --clean
cannot unlink file for /var/cache/urpmi/partial/media.cfg: Permission denied at /usr/share/perl5/vendor_perl/urpm/s
ys.pm line 360.
cannot restore permissions to 0100644 for /var/cache/urpmi/partial/media.cfg: Permission denied at /usr/share/perl5
/vendor_perl/urpm/sys.pm line 360.
cannot unlink file for /var/cache/urpmi/partial/MD5SUM: Permission denied at /usr/share/perl5/vendor_perl/urpm/sys.
pm line 360.

It was then that I realised I should have been issuing the cmd as root! D'OH!!! :oops: So added sudo before the cmd, voilà, it worked!
Not only that, I was finally able to install the failing nVidia packages!!!!! :D

So sturmvogel and benmc,
Thankyou for all your invaluable help, greatly appreciated.

benmc maybe we'll "chat" again sometime. Stay safe!
Myles,
Canberra, Australia
User avatar
Myles
 
Posts: 276
Joined: Apr 29th, '12, 10:05


Return to Video

Who is online

Users browsing this forum: No registered users and 1 guest