GPG NO_PUBKEY // FreeOffice [SOLVED]

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
SHUred
Level 2
Level 2
Posts: 60
Joined: Mon Jul 20, 2020 1:50 pm

GPG NO_PUBKEY // FreeOffice [SOLVED]

Post by SHUred »

Hello,
i really searched hard on this before i posted this thread!

But it seems like this is a very specific topic.
I installed a free Microsoft Office alternative: FreeOffice

How to install and information about adding the repository for automatic updates
https://www.freeoffice.com/en/tips-and- ... ubuntumint

To get the updates i executed

Code: Select all

sudo /usr/share/freeoffice2018/add_apt_repo.sh
which executes the bash (I renamed it to .txt and attached it to this post)

As many others (for different applications) have claimed, i now get the error-message when refreshing the available updates:

Code: Select all

GPG-Fehler: http://shop.softmaker.com/repo/apt wheezy InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 3413DA98AA3E7F5EDas Depot »http://shop.softmaker.com/repo/apt wheezy InRelease« ist nicht signiert.
If im right, this problem can be solved by adding the Public Key from the error-message (3413DA98AA3E7F5E) somehow to the key-/repository-server?
(?? http://shop.softmaker.com/repo/apt wheezy ??)

I already tried:

Code: Select all

sudo apt-key adv --keyserver "http://shop.softmaker.com/repo/apt wheezy InRelease" --recv-keys 3413DA98AA3E7F5E

Code: Select all

sudo apt-key adv --keyserver http://shop.softmaker.com/repo/apt --recv-keys 3413DA98AA3E7F5E
I do not see any GPG-Keys in the Linux-Mint GUI

If i try to import the .key-file via GUI nothing happens (Screenshot of import-dialog also attached)

The feedback of gpg --list-key is

Code: Select all

/home/XXXXXXX/.gnupg/pubring.kbx
----------------------------------
pub   rsa2048 2018-01-04 [SC]
      CC7D2EDF4808EFFA0E00FC723413DA98AA3E7F5E
uid        [ unbekannt] SoftMaker repository (GPG key for signing files) <info@softmaker.com>
I don't know what to do and why this is getting so complicated ...

Maybe someone has experience at dealing with PUBKEYS

Thank you a lot
Attachments
Bildschirmfoto vom 2020-08-20 05-11-21.png
add_apt_repo.txt
(1.76 KiB) Downloaded 17 times
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
sleeper12
Level 21
Level 21
Posts: 14609
Joined: Thu May 25, 2017 3:22 pm

Re: GPG NO_PUBKEY // FreeOffice

Post by sleeper12 »

Try:

Code: Select all

 sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3413DA98AA3E7F5E 

Code: Select all

 sudo apt update 
SHUred
Level 2
Level 2
Posts: 60
Joined: Mon Jul 20, 2020 1:50 pm

Re: GPG NO_PUBKEY // FreeOffice

Post by SHUred »

After Execution of the apt-key command

Code: Select all

Executing: /tmp/apt-key-gpghome.fqnTAIJ0Mj/gpg.1.sh --recv-keys --keyserver keyserver.ubuntu.com 3413DA98AA3E7F5E
gpg: Schlüssel 3413DA98AA3E7F5E: Öffentlicher Schlüssel "SoftMaker repository (GPG key for signing files) <info@softmaker.com>" importiert
gpg: Anzahl insgesamt bearbeiteter Schlüssel: 1
gpg:               importiert: 1
gpg: invalid key resource URL '/etc/apt/trusted.gpg.d/home:tumic:GPXSee.gpg'
gpg: Schlüsselblockhilfsmittel`(null)': Allgemeiner Fehler
gpg: key 18D244F4B89A4627: 1 Beglaubigung wegen fehlendem Schlüssel nicht geprüft
gpg: key A6616109451BBBF2: 12 Beglaubigungen wegen fehlender Schlüssel nicht geprüft
gpg: key 3B4FE6ACC0B21F32: 3 Beglaubigungen wegen fehlender Schlüssel nicht geprüft
gpg: key D94AA3F0EFE21092: 3 Beglaubigungen wegen fehlender Schlüssel nicht geprüft
gpg: key C8CAB6595FDFF622: 2 Beglaubigungen wegen fehlender Schlüssel nicht geprüft
gpg: key 871920D1991BC93C: 1 Beglaubigung wegen fehlendem Schlüssel nicht geprüft
gpg: Anzahl insgesamt bearbeiteter Schlüssel: 10
gpg:       ignorierte neue Schlüssel: 10
After execution of update

Code: Select all

W: GPG-Fehler: http://shop.softmaker.com/repo/apt wheezy InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 3413DA98AA3E7F5E
E: Das Depot »http://shop.softmaker.com/repo/apt wheezy InRelease« ist nicht signiert.
N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
Still seems to be present!

What i already recognized:
This is all about FreeOffice and legitimizing the repository of it!
But there is always a line saying "key resource URL" is '/etc/apt/trusted.gpg.d/home:tumic:GPXSee.gpg'
But GPXSee is another application i have installed which has absolutely nothing to do with the Office-stuff

--> Is there something going wrong, which i have to reroute to the correct "key resource URL" or something?

Thank you already for your help sleeper12!
sleeper12
Level 21
Level 21
Posts: 14609
Joined: Thu May 25, 2017 3:22 pm

Re: GPG NO_PUBKEY // FreeOffice

Post by sleeper12 »

Sorry that was no help. I don't know what else to do, maybe someone else will.
hydrurga
Level 5
Level 5
Posts: 746
Joined: Sun Nov 15, 2015 4:08 pm

Re: GPG NO_PUBKEY // FreeOffice

Post by hydrurga »

Try deleting /etc/apt/trusted.gpg.d/home:tumic:GPXSee.gpg, temporarily disabling the repositories for that software and FreeOffice, and running apt update - that should hopefully get you back to a no-error situation which you can then build from (that's the theory anyway).
sleeper12
Level 21
Level 21
Posts: 14609
Joined: Thu May 25, 2017 3:22 pm

Re: GPG NO_PUBKEY // FreeOffice

Post by sleeper12 »

See if the solution here helps:
https://forum.softmaker.com/viewtopic.php?f=392&p=66513

Basically, I think it's just sudo apt update then agree to all.
SHUred
Level 2
Level 2
Posts: 60
Joined: Mon Jul 20, 2020 1:50 pm

Re: GPG NO_PUBKEY // FreeOffice

Post by SHUred »

sleeper12 wrote: Thu Aug 20, 2020 4:22 pm See if the solution here helps:
https://forum.softmaker.com/viewtopic.php?f=392&p=66513

Basically, I think it's just sudo apt update then agree to all.
This would be nice, but i don't get any message to agree
--> The Post in this forum describes the switching from "FreeOffice 2018" to the paid version "FreeMake Office 2021" what then changes the key for the other office version

Thank you
SHUred
Level 2
Level 2
Posts: 60
Joined: Mon Jul 20, 2020 1:50 pm

Re: GPG NO_PUBKEY // FreeOffice

Post by SHUred »

sleeper12 wrote: Thu Aug 20, 2020 4:05 pm Sorry that was no help. I don't know what else to do, maybe someone else will.
Thank you anyway :P
SHUred
Level 2
Level 2
Posts: 60
Joined: Mon Jul 20, 2020 1:50 pm

Re: GPG NO_PUBKEY // FreeOffice

Post by SHUred »

About the Text which is posted when i execute

Code: Select all

sudo apt-get update
:

Code: Select all

E: Das Depot »http://shop.softmaker.com/repo/apt wheezy InRelease« ist nicht signiert.
N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
I interpret it this way
Error: Depot is not signed
Notification: Such a Depot can not safely be updates, thats why it is deactivated by standard
Notification: More details to package-depots and user-configuration in Manual-page "apt-secure(8)

So i try to find something about that ...
Somehow i have to activate updating of not signed depots?!
hydrurga
Level 5
Level 5
Posts: 746
Joined: Sun Nov 15, 2015 4:08 pm

Re: GPG NO_PUBKEY // FreeOffice

Post by hydrurga »

Did you try what I suggested above?
SHUred
Level 2
Level 2
Posts: 60
Joined: Mon Jul 20, 2020 1:50 pm

Re: GPG NO_PUBKEY // FreeOffice [SOLVED]

Post by SHUred »

hydrurga wrote: Fri Aug 21, 2020 5:57 am Did you try what I suggested above?
Yes!
Right at the moment i tried it and it seems, that i finally got it working! --> Thanks to you!

1.
- I deleted GPXsee (which threw some errors which were maybe there all the time but i didnt mention it!?!)
- I deleted all teh FreeOffice & GPXsee files in the folders "/etc/apt/sources.list.d" and "/etc/apt/trusted.gpg.d"

This brought me back to a state where i could "sudo apt-get update" without any errors

2.
- I then once more executed the bash "add_apt_repo.sh" from the freeoffice 2018-folder via terminal and "sudo bash add*"
This time (i have no idea why and where the difference to the first time was) it seems to work:

return:

Code: Select all

OK:1 http://mirror.eu-fr.kamatera.com/ubuntu focal InRelease
Ign:2 http://ftp-stud.hs-esslingen.de/pub/Mirrors/packages.linuxmint.com ulyana InRelease                                     
OK:3 http://mirror.eu-fr.kamatera.com/ubuntu focal-updates InRelease                                                          
OK:4 http://shop.softmaker.com/repo/apt wheezy InRelease                                                                      
OK:5 http://mirror.eu-fr.kamatera.com/ubuntu focal-backports InRelease                                                        
OK:6 http://security.ubuntu.com/ubuntu focal-security InRelease                                                               
OK:7 http://ftp-stud.hs-esslingen.de/pub/Mirrors/packages.linuxmint.com ulyana Release                                        
OK:8 http://archive.canonical.com/ubuntu focal InRelease                                                                      
OK:9 https://brave-browser-apt-release.s3.brave.com stable InRelease                                                          
Ign:10 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64  InRelease                                   
OK:11 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64  Release
Paketlisten werden gelesen... Fertig
and i now can also find in the gui: Update-center > Edit > Package-sources > keys > SoftMaker repository with key etc. <<< this was not available before

3. (Maybe this can help some other guys having a similar problem)
If this would not have solved my problem, in the next step i would have tried to inore signature-stuff only for the SoftMaker repository by adding [trusted=yes] into the SoftMaker file in sources.list.d so it would look like this:

Code: Select all

deb [trusted=yes] http://shop.softmaker.com/repo/apt wheezy InRelease
Thanks to everyone helping me out again!
Locked

Return to “Software & Applications”