Ximi1970 / systray-x

SysTray-X: A system tray extension for Thunderbird. Needs both the addon AND the companion app installed to work. Will not work with TB flatpaks or snaps.
Mozilla Public License 2.0
214 stars 14 forks source link

invalid or corrupted package (PGP signature): #124

Closed shadyslim2018 closed 2 years ago

shadyslim2018 commented 2 years ago

Is there an updated pgp signature?

Error: systray-x-gnome: signature from "home:Ximi1970 OBS Project <home:Ximi1970@build.opensuse.org>" is invalid
Preparing...
Synchronizing package databases...
Refreshing home_Ximi1970_Mozilla_Add-ons_Arch_Arch.db...
Resolving dependencies...
Checking inter-conflicts...
Download of systray-x-gnome (1:0.9.1-0) started
Download of systray-x-gnome (1:0.9.1-0) finished
Checking keyring...
Checking integrity...
Error: systray-x-gnome: signature from "home:Ximi1970 OBS Project <home:Ximi1970@build.opensuse.org>" is invalid
Removing invalid files and retrying...
Resolving dependencies...
Checking inter-conflicts...
Download of systray-x-gnome (1:0.9.1-0) started
Download of systray-x-gnome (1:0.9.1-0) finished
Checking keyring...
Checking integrity...
Error: systray-x-gnome: signature from "home:Ximi1970 OBS Project <home:Ximi1970@build.opensuse.org>" is invalid
Failed to commit transaction:
invalid or corrupted package (PGP signature):
Ximi1970 commented 2 years ago

Did you install the "latest" key? The current one should be valid till 2023-12-05

wget -q https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons:/Arch/Arch/x86_64/home_Ximi1970_Mozilla_Add-ons_Arch_Arch.key
sudo pacman-key --add home_Ximi1970_Mozilla_Add-ons_Arch_Arch.key
sudo pacman-key --lsign-key BEEF5C3607D86FE9
Ximi1970 commented 2 years ago

gpg --show-keys home_Ximi1970_Mozilla_Add-ons_Arch_Arch.key pub rsa2048 2017-01-19 [SC] [expires: 2023-12-05] 01A5D4EFE73D0F34F8253112BEEF5C3607D86FE9 uid home:Ximi1970 OBS Project home:Ximi1970@build.opensuse.org

shadyslim2018 commented 2 years ago
gpg --show-keys home_Ximi1970_Mozilla_Add-ons_Arch_Arch.key                                                              
pub   rsa2048 2017-01-19 [SC] [expires: 2023-12-05]
         01A5D4EFE73D0F34F8253112BEEF5C3607D86FE9
uid    home:Ximi1970 OBS Project <home:Ximi1970@build.opensuse.org>

I'm still getting the same error, even though the key is correct.

shadyslim2018 commented 2 years ago

If I use

sudo pacman -S systray-x-gnome

then i get a different error

resolving dependencies...
looking for conflicting packages...

Packages (1) systray-x-gnome-1:0.9.1-0

Total Download Size:   0.36 MiB
Total Installed Size:  0.53 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 systray-x-gnome-1:0.9.1-0-x86_64.pkg.tar.zst failed to download
error: failed retrieving file 'systray-x-gnome-1:0.9.1-0-x86_64.pkg.tar.zst' from download.opensuse.org : Maximum file size exceeded
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
shadyslim2018 commented 2 years ago

I just download the git file and installed it that way

Ximi1970 commented 2 years ago

Tried everything to rebuild the repo but nothing seems to help. Still investigating.

Ximi1970 commented 2 years ago

I removed the current repo and created a new one called "Arch2". Will wait a bit in the hope the caches will be cleared and the old setup forgotten.

shadyslim2018 commented 2 years ago

It's working now, however, I had to move the extension to the right location

from

/lib/thunderbird/distribution/extensions/systray-x@Ximi1970.xpi

to

/home/user/.thunderbird/#####.default-release/extensions/systray-x@Ximi1970.xpi

I'm using Thunderbird Version 102.0.2

Ximi1970 commented 2 years ago

The first location is the system install location normally. Unless they decided to change the location....
Be aware that using the user location goes always first.
So the user addon will get out of sync with the installed one unless you update manually again.
Try to keep the addon and companion app on the same version to prevent surprises. Current version is 0.9.2.

Ximi1970 commented 2 years ago

The opensuse build service restored my Arch repo and now it is fine again.