meganz / MEGAsync

Easy automated syncing between your computers and your MEGA Cloud Drive
Other
1.64k stars 281 forks source link

Error running update on ArcoLinuxB i3wm/xfce/OpenBox #376

Open ghost opened 5 years ago

ghost commented 5 years ago

Hi, this is the error message.

error: config file /etc/pacman.d/arcolinux-mirrorlist###REPO for MEGA### could not be read: No such file or directory

I have another installation on a mechanical drive that does update yet it has essentially the same config. Is there other information required?

Thanks

polmr commented 5 years ago

Hi @poetician , could you share the contents of /etc/pacman.conf. It looks like there was no end-of-line at the end of the file when installing MEGAsync. inserting a newline right before ###REPO for MEGA### would probably solve it (you'd need to edit as root user)

ghost commented 5 years ago

Good day,

Here is the relevant portion of pacman.conf:

This is how it was when the updates didn't work. I commented it all out. Logged out, logged in, did an update. Problem solved.

Thanks much :)

kind regards

[arcolinux_repo_submicron] SigLevel = Required DatabaseOptional Include = /etc/pacman.d/arcolinux-mirrorlist###REPO for MEGA### [DEB_Arch_Extra] SigLevel = Required TrustedOnly Server = https://mega.nz/linux/MEGAsync/Arch_Extra/$arch

END REPO for MEGA

On Tue, Nov 12, 2019 at 10:15 AM polmr notifications@github.com wrote:

Hi @poetician https://github.com/poetician , could you share the contents of /etc/pacman.conf. It looks like there was no end-of-line at the end of the file when installing MEGAsync. inserting a newline right before ###REPO for MEGA### would probably solve it (you'd need to edit as root user)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/meganz/MEGAsync/issues/376?email_source=notifications&email_token=AMYM3JNK3222NOLZIHFRNTTQTLCB7A5CNFSM4JMCXIZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOED2SN3Y#issuecomment-552937199, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMYM3JPZWL3XSP2PDXJUU4DQTLCB7ANCNFSM4JMCXIZQ .

--

All the world's problems can be fixed in a garden - Geoff Lawton

polmr commented 5 years ago

Rather than commenting it all, you should rather end up with a /etc/pacman.conf file like this:

[arcolinux_repo_submicron]
SigLevel = Required DatabaseOptional
Include = /etc/pacman.d/arcolinux-mirrorlist
###REPO for MEGA###
[DEB_Arch_Extra]
SigLevel = Required TrustedOnly
Server = https://mega.nz/linux/MEGAsync/Arch_Extra/$arch
###END REPO for MEGA###

otherwise you will be missing MEGAsync & system updates. We will include a fix to prevent this from happening again. Thanks for reporting that @poetician !

ghost commented 5 years ago

All taken care of. Thanks again and glad to be of service... :)

On Tue, Nov 12, 2019 at 1:02 PM polmr notifications@github.com wrote:

Rather than commenting it all, you should rather end up with a /etc/pacman.conf file like this:

[arcolinux_repo_submicron] SigLevel = Required DatabaseOptional Include = /etc/pacman.d/arcolinux-mirrorlist

REPO for MEGA

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

END REPO for MEGA

otherwise you will be missing MEGAsync & system updates. We will include a fix to prevent this from happening again. Thanks for reporting that @poetician https://github.com/poetician !

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/meganz/MEGAsync/issues/376?email_source=notifications&email_token=AMYM3JNVQOSVQCHPFEF2N33QTLVR5A5CNFSM4JMCXIZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOED3FYGQ#issuecomment-553016346, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMYM3JMSE4DHDQPQGIXQRE3QTLVR5ANCNFSM4JMCXIZQ .

--

All the world's problems can be fixed in a garden - Geoff Lawton

ghost commented 5 years ago

...till the next update. :) It's commented out till further instruction. TIA

error: DEB_Arch_Extra: signature from "MegaLimited support@mega.co.nz" is unknown trust :: Synchronizing package databases... core 132.4 KiB 1324 KiB/s 00:00 [------------------------------] 100% extra 1639.6 KiB 1197 KiB/s 00:01 [------------------------------] 100% community 4.8 MiB 1313 KiB/s 00:04 [------------------------------] 100% multilib 165.7 KiB 1104 KiB/s 00:00 [------------------------------] 100% arcolinux_repo 52.5 KiB 328 KiB/s 00:00 [------------------------------] 100% arcolinux_repo.sig 310.0 B 0.00 B/s 00:00 [------------------------------] 100% arcolinux_repo_3party 9.2 KiB 0.00 B/s 00:00 [------------------------------] 100% arcolinux_repo_3party.sig 310.0 B 0.00 B/s 00:00 [------------------------------] 100% arcolinux_repo_submicron 9.9 KiB 0.00 B/s 00:00 [------------------------------] 100% arcolinux_repo_submicro... 309.0 B 0.00 B/s 00:00 [------------------------------] 100% DEB_Arch_Extra 4.4 KiB 0.00 B/s 00:00 [------------------------------] 100% DEB_Arch_Extra.sig 152.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

sapkotajeevan commented 3 years ago

@polmr Mine is Manjaro linux and I seem to have same issue. How can I fix it??

#
# /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###

This is my pacman.conf. Sorry, I didn't know which exactly conf I should've posted besides DEB_Arch_Extra, so I posted entire conf. Could you suggest the fix to this issue?