Hata: veritabanı (archlinuxfr) kaydedilemedi (veritabanı zaten kayıtlı)

sudo pacman-mirrors -f5 && sudo pacman -Syyu

evet dediğini yaptım

::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: https://repo.manjaro.org/status.json
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
0.578 Global : Index of /manjaro/
0.743 France : Index of /mirrors/repo.manjaro.org/repos
2.947 India : Index of /manjaro-mirror/
2.165 Canada : Index of /mirror/manjaro/
1.125 Germany : Index of /pub/linux/manjaro/
::INFO Writing mirror list
::Global : Index of /manjaro/stable/
::France : Index of /mirrors/repo.manjaro.org/repos/stable
::Germany : Index of /pub/linux/manjaro/stable/
::Canada : Index of /mirror/manjaro/stable/
::India : Index of /manjaro-mirror/stable/
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
hata: veritabanı (archlinuxfr) kaydedilemedi (veritabanı zaten kayıtlı)
:: Paket veritabanları senkronize ediliyor…
core 163,0 KiB 352 KiB/s 00:00 [######################] 100%
extra 1834,1 KiB 2,42 MiB/s 00:01 [######################] 100%
community 7,4 MiB 2,17 MiB/s 00:03 [######################] 100%
multilib 175,4 KiB 1426 KiB/s 00:00 [######################] 100%
archlinuxfr 9,5 KiB 51,2 KiB/s 00:00 [######################] 100%
:: Sistem güncellemesi başlatılıyor…
yapılacak bir şey yok

gene veri tabanı hatsını aldım

sudo pacman -Su

hata: veritabanı (archlinuxfr) kaydedilemedi (veritabanı zaten kayıtlı)
:: Sistem güncellemesi başlatılıyor…
yapılacak bir şey yok

how ı can fix this error

Please don’t create duplicate posts! See Forum Rules - Manjaro

You added yourself a custom repository inside /etc/pacman.conf ?
Please provide:
cat /etc/pacman.conf

You want to use
sudo pacman -Syu
See Pacman Overview - Manjaro

okey thank for warning me ı wont do again

cat /etc/pacman.conf

#
# /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 -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

#IgnorePkg   =
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#NoProgressBar
# We cannot check disk space from within a chroot environment
CheckSpace
#VerbosePkgLists
#ParallelDownloads = 5

# 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

[archlinuxfr]
SigLevel = Never
Server =  http://repo.archlinux.fr/x86_64

[archlinuxfr]
SigLevel = Never
Server =  http://repo.archlinux.fr/i686


There you have them … We do not provide neither such repositories, not support for them. You either are on your own to deal with them, or delete them from there and do the update again as mentioned:

sudo pacman-mirrors -f5 && sudo pacman -Syyu

thank you soo much ı fixed

and ı have more proplem when ı update fro app its said that
unable to lock to database
database could not be accessed

and then ı said make it ı got that
invalid or corrupt database

how ı can fiz this problem


Moderator edit: Removed useless screenshots

If one instance of the update is working, then another instance can’t run.
If you run the update from terminal, then working with the Add/Remove Software is not going to work in the same time. Wait till one is finished, reboot and then continue in Pamac UI aka Add/Remove Software. If you still have the error of:
unable to lock to database
Run from terminal:
sudo rm /var/lib/pacman/db.lck

I already waited to finish update from terminal and then ı tried to update add/remove software

sudo rm /var/lib/pacman/db.lck

and ı did before its saıd ıts could’nt delete there is a no this file or like that

rm: '/var/lib/pacman/db.lck' silinemedi: Böyle bir dosya ya da dizin yok

its said that in turkish

You need to reboot the system after a big update.

ı reboot my system and again ı tried update from add/remove software and again i get same results
and ı really dont know what ı can do more

when ı do that

sudo pamac update 

ı am getting that

Uyarı: Dinamik kullanıcı olarak paketler oluşturma
Uyarı: Yapı dizini /var/cache/pamac olarak ayarlanıyor
Hazırlanıyor...
Paket veritabanları yenileniyor...
veritabanı kilitlenemiyor
Veritabanları eşitlenemedi
Yapılacak Bir Şey Yok.
Işlem Başarılı.

its mean that

Warning: Creating packages as dynamic user
Warning: The build directory is set to /var/cache/pamac
Preparing...
Refreshing package databases...
database cannot be locked
Databases could not be synchronized
there is nothing.
Successful.
yay
:: Paket veritabanları senkronize ediliyor...
core güncel
extra güncel
community güncel
multilib güncel
archlinuxfr güncel
:: Sistem güncellemesi başlatılıyor...
 yapılacak bir şey yok
:: Veritabanlarında güncellemeler aranıyor...
:: AUR güncellemeleri aranıyor...
 -> Eksik AUR Paketleri:  manjaro-documentation-en  manjaro-firmware  yaourt
yapılacak bir şey yok

it said that
Missing AUR Packages: manjaro-documentation-en manjaro-firmware yaourt
Nothing to do

how ı can fix that too

You can remove those packages, they got dropped from repositories and are not in AUR.

You can use
pamac update
Because IMO is better to use the polkit … so it will ask for password

You can then try to run
sudo rm /var/tmp/pamac/dbs/db.lck && sudo rm /var/lib/pacman/db.lck

Are you on unstable or testing branch?
A few changes got made to libpamac so that users can use sudo with pamac, aka run:
sudo pamac update
So, it seems the db.lck is created in two places …

ı did and it worse now ı got this

Uyarı: Dinamik kullanıcı olarak paketler oluşturma
Uyarı: Yapı dizini /var/cache/pamac olarak ayarlanıyor
Hazırlanıyor...
Paket veritabanları yenileniyor...
veritabanı kilitlenemiyor
Veritabanları eşitlenemedi
Yapılacak Bir Şey Yok.
Işlem Başarılı.

Warning: Creating packages as dynamic user
Warning: The build directory is set to /var/cache/pamac
Preparing...
Refreshing package databases...
database cannot be locked
Databases could not be synchronized
Nothing to do.
Transaction Successful.

pamac remove manjaro-documentation-en manjaro-firmware yaourt

thank you soo much ı did and now ı get that

yay
hata: GPGME hatası: Veri yok
hata: GPGME hatası: Veri yok
hata: GPGME hatası: Veri yok
hata: GPGME hatası: Veri yok
:: Paket veritabanları senkronize ediliyor...
 core                  163,0 KiB   373 KiB/s 00:00 [######################] 100%
 extra                1834,1 KiB  2,87 MiB/s 00:01 [######################] 100%
 community               7,4 MiB  2,92 MiB/s 00:03 [######################] 100%
 multilib              174,6 KiB  1587 KiB/s 00:00 [######################] 100%
archlinuxfr güncel
hata: GPGME hatası: Veri yok
hata: GPGME hatası: Veri yok
hata: GPGME hatası: Veri yok
hata: GPGME hatası: Veri yok
hata: tüm veritabanları eşitlenemedi (geçersiz veya bozuk veritabanı (PGP imzası))
 -> depo paketleri indirilirken hata

error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...
 core 163.0 KiB 373 KiB/s 00:00 [######################] 100%
 extra 1834.1 KiB 2.87 MiB/s 00:01 [######################] 100%
 community 7.4 MiB 2.92 MiB/s 00:03 [######################] 100%
 multilib 174.6 KiB 1587 KiB/s 00:00 [######################] 100%
archlinuxfr up to date
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: unable to sync all databases (invalid or corrupt database (PGP signature))
 -> error while downloading repository packages

okey i did that

sudo rm -r /var/lib/pacman/sync/ 

now its working

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