Arch Linux

De TechShareRoom wiki
KDE

Recursos

Repositorios recomendados

Mantenimiento

Reparación

Solución a problemas

Downgrade a package

Failed to commit transaction

error: failed to commit transaction (conflicting files)
python-commonmark: /usr/lib/python3.10/site-packages/commonmark-0.9.1.dist-info/LICENSE exists in filesystem

or

error: failed to commit transaction (conflicting files)
node-gyp: /usr/lib/node_modules/node-gyp/node_modules/tar/node_modules/minipass/index.mjs exists in filesystem

Solución 1:

sudo pacman -S npm --overwrite '/usr/lib/node_modules/npm/*'

Solución 2:

sudo rm /usr/lib/python3.10/site-packages/commonmark-0.9.1.dist-info/LICENSE

or

sudo rm /usr/lib/node_modules/node-gyp/node_modules/tar/node_modules/minipass/index.mjs

Failed to prepare transaction (could not satisfy dependencies)

For example you have this message:

installing kio5 (5.111.0-1) breaks dependency 'kio' required by kfiredragonhelper

You have to:

sudo pacman -R kfiredragonhelper

Then, update your system normally and remove each time required packages if you don´t use them.

Failed to write file

Failed to write file "/sys/module/pcie_aspm/parameters/policy": Operation not permitted
error: command failed to execute correctly

Solución:

You have to use pcie_aspm=force as boot parameter if support, or use pcie_aspm=off if not support.

Possibly missing firmware

WARNING: Possibly missing firmware for module

Solución: Pendiente

Comandos

#Install a package
pacman -S packagename