Erro ao atualizar o Manjaro

1. Erro ao atualizar o Manjaro

Lucas Gossenheimer
LucasGossen

(usa Ubuntu)

Enviado em 13/02/2024 - 11:00h

Olá. Uso manjaro e estou tendo o seguinte erro ao tentar atualizar o sistema:

"atenção: falha em carregar completamente os metadados para o pacote foomatic-db-ppds-3:20230402-1
erro: falha ao preparar a transação (pacote inválido ou corrompido)"

Já havia tido erro de pacote inválido ou corrompido anteriormente, sempre consegui consertar ao atualizar chaves, limpar o cache e editar mirrorlist
# pacman-key --init
# pacman-key --refresh-keys
# pacman -Scc

Porém dessa vez tentei todas essas alternativas e não tive sucesso.
Fiz uma pesquisa aqui pelo fórum e em outros locais e encontrei soluções falando sobre descomentar a linha #SigLevel = Never de [chaotic-aur] em /etc/pacman.conf.
Fui tentar ver isso, mas não existe [chaotic-aur] no meu /etc/pacman.conf. Vou colar o output aqui para me ajudarem.

sudo pacman -Syyuu                                     1 ✘  24s  
:: Sincronizando a base de dados de pacotes...
 core                  145,4 KiB   115 KiB/s 00:01 [######################] 100%
 extra                   8,6 MiB  5,12 MiB/s 00:02 [######################] 100%
 community              29,0   B   166   B/s 00:00 [######################] 100%
 multilib              143,6 KiB   756 KiB/s 00:00 [######################] 100%
:: Iniciando atualização completa do sistema...
:: Substituir amtk por extra/libgedit-amtk? [S/n] s
erro: não foi possível abrir o arquivo /var/lib/pacman/local/foomatic-db-ppds-3:20230402-1/desc: Arquivo ou diretório inexistente
:: Substituir gnome-shell-extension-arcmenu por extra/gnome-shell-extension-arc-menu? [S/n] s
:: Substituir kauth por extra/kauth5? [S/n] s
:: Substituir kcoreaddons por extra/kcoreaddons5? [S/n] s
:: Substituir kitemmodels por extra/kitemmodels5? [S/n] s
resolvendo dependências...
:: Há 2 provedores disponíveis para dbus-units:
:: Repositório core
   1) dbus-broker-units  2) dbus-daemon-units

Digite um número (padrão=1): 1
procurando pacotes conflitantes...
atenção: falha em carregar completamente os metadados para o pacote foomatic-db-ppds-3:20230402-1
erro: falha ao preparar a transação (pacote inválido ou corrompido) 


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 




  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts