Hi, I have a notification by 493 updates, and when a try it, the system says, "Fallo al preparar la transacción, base de datos no valida o dañada"

No puede actualizarse mi sistema manjaro kde,
Fallo al preparar la transacción, base de datos no valida o dañada"
No se pudo bloquear la base de datos,
Fallo al sincronizar las bases de datos

try with this:
LANG=C pamac update --force-refresh
if it doesnt work post output

this is the msg:
Cloning jdk-doc build files…
warning: You appear to have cloned an empty repository.
Generating jdk-doc information…
==> ERROR: PKGBUILD does not exist.
Error: Failed to prepare transaction: Failed to clone jdk-doc build files

and the operation fail…

so the update worked, but it got stuck for this one package…
so you can set it to ignore, and then try to update it individually, or you can remove it:
pamac remove jdk-doc
and install this package from official repos, instead of AUR:
pamac install openjdk-doc

1 Like

it’s a headache, to update manjaro kde,

the problem persist

Hola, me ha pasado ese error en el pasado con KDE lo que hago para solucionarlo es abrir el gestor de paquetes/actualizaciones, presionar las 3 barras (yo les dire asi, pero talvez las conozcas como el simbolo de configuracion del gestor de paquetes) que estan en la parte superior derecha antes de los iconos de minimizar , etc… y selecciono refrescar bases de datos. Con eso se soluciona el problema en mi caso, espero te sirva.

try what @Elyte is suggesting… if it doesnt work try these commands:
sudo rm /var/lib/pacman/db.lck
If you get: cannot remove ‘/var/lib/pacman/db.lck’: No such file or directory; use this:
sudo rm /var/tmp/pamac/dbs/db.lck
rerun update again:
LANG=C sudo pacman -Syyu
if it doesnt work, provide output

Gracias Elyte por tu sugerencia, he tratado como indicas, refrescar base de datos y el ejecutarse el proceso, finaliza con el siguiente error: Falló al generar información de ceph-libs

the output after run sudo rm /var/tmp/pamac/dbs/db.lck

rm: no se puede borrar ‘/var/tmp/pamac/dbs/db.lck’: No existe el fichero o el directorio

remove the ceph-libs, this package was dropped from repositories and causes only troulbe so remove it:
pamac remove ceph-libs
rerun update again:
pamac update --force-refresh

:bangbang: Tip:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

For more information, please see:

Error: Objetivo no encontrado: ceph-libs