Issue with Signature from Mega. DEB_Arch_Extra fails to update

Hello guys,
I am having this issue with MegaSync. This issue occured once Manjaro asked to update keys, I guess. I didn’t quite pay attention and accepted the update. A bunch of hex keys were displayed and update was completed.

Now, when I try to update my system, I am getting following error

error: DEB_Arch_Extra: signature from "MegaLimited <support@mega.co.nz>" is unknown trust
:: Synchronizing package databases...
 core                                   169.2 KiB  89.4 KiB/s 00:02 [######################################] 100%
 extra is up to date
 community                                6.6 MiB  75.8 KiB/s 01:29 [######################################] 100%
 multilib is up to date
 DEB_Arch_Extra                           3.1 KiB  0.00   B/s 00:00 [######################################] 100%
 DEB_Arch_Extra.sig                     181.0   B  0.00   B/s 00:00 [######################################] 100%
error: DEB_Arch_Extra: signature from "MegaLimited <support@mega.co.nz>" is unknown trust
error: failed to update DEB_Arch_Extra (invalid or corrupted database (PGP signature))
error: failed to synchronize all databases

My pacman.conf config file

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
CacheDir = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg      = pacman glibc manjaro-system
# If upgrades are available for these packages they will be asked for first
SyncFirst    = manjaro-system archlinux-keyring manjaro-keyring
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

#IgnorePkg   = python-sentry_sdk python-aiohttp-gns3 python-yarl-gns3 python-multidict-gns3 python-async-timeout-gns3 python-aiohttp-cors-gns3
IgnorePkg = scrt-sfx
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
# We cannot check disk space from within a chroot environment
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Manjaro Linux
# packagers with `pacman-key --populate archlinux manjaro`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[community]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

[multilib]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

###REPO for MEGA###
[DEB_Arch_Extra]
SigLevel = Required TrustedOnly
Server = https://mega.nz/linux/MEGAsync/Arch_Extra/$arch
###END REPO for MEGA###

I only found solution to ArcoLinux which doesn’t match my case. Please help to resolve this issue. Thanks in advance.

1 Like

Have you tried searching the forum? :wink:

My solution on my side it was to comment out the lines in /etc/pacman.conf at the end:

#[DEB_Arch_Extra]
#SigLevel = Required TrustedOnly
#Server = https://mega.nz/linux/MEGAsync/Arch_Extra/$arch

And then installed “megasync- bin” from AUR

It didn’t help. When I comment those lines, I get the following issue while synchronizing. Dependency breaks even if I type y or n. Do you have any solution to this?? I don’t want to unistall Mega, and solve this issue.

Although the primary error is not displayed. The Error with signature. Seems like there were other packages depending on DEB_Arch_Extra.

:: Synchronizing package databases...
 core                                   169.2 KiB   210 KiB/s 00:01 [######################################] 100%
 extra                                 1905.9 KiB   252 KiB/s 00:08 [######################################] 100%
 community                                6.6 MiB   459 KiB/s 00:15 [######################################] 100%
 multilib                               178.2 KiB   441 KiB/s 00:00 [######################################] 100%
:: Starting full system upgrade...
:: Replace lib32-libcanberra-pulse with multilib/lib32-libcanberra? [Y/n] y
:: Replace libcanberra-pulse with extra/libcanberra? [Y/n] y
:: Replace qca with extra/qca-qt5? [Y/n] y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing lib32-libcanberra (0.30+2+gc0620e4-4) breaks dependency 'lib32-libcanberra=0.30+2+gc0620e4-3' required by lib32-libcanberra-gstreamer
:: installing libcanberra (0.30+2+gc0620e4-4) breaks dependency 'libcanberra=0.30+2+gc0620e4-3' required by libcanberra-gstreamer

Remove lib32-libcanberra-gstreamer and libcanberra-gstreamer

1 Like

Yes, I did. But the solution I found was either by unstalling Mega or by commenting DEB_Arch_Extra in pacman.conf. The later seems feasible to me but I encountered some other issues doing the later one. Please look at my thread below for details.

Okay. I didn’t know wiki posted that. Doing it right away.

1 Like

@servimo 's solution solved 90% of the issue and remaining 10% issue was solved from @Tomek 's solution. Seems I can’t mark both as solutions. So, I’ve marked @servimo 's solution. Thanks for the support

2 Likes

Yes, this is the solution to your post: “Issue with Signature from Mega. DEB_Arch_Extra fails to update”

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.