Diferencia entre revisiones de «Arch Linux»

De TechShareRoom wiki
Ir a la navegación Ir a la búsqueda
Sin resumen de edición
Línea 25: Línea 25:


=== Failed to commit transaction  ===
=== Failed to commit transaction  ===
<nowiki>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</nowiki>
<syntaxhighlight lang="bash">
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
</syntaxhighlight>


or
or


<nowiki>error: failed to commit transaction (conflicting files)
<syntaxhighlight lang="bash">
node-gyp: /usr/lib/node_modules/node-gyp/node_modules/tar/node_modules/minipass/index.mjs exists in filesystem</nowiki>
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
</syntaxhighlight>


Solución 1:
Solución 1:


<nowiki>sudo pacman -S npm --overwrite '/usr/lib/node_modules/npm/*'</nowiki>
<syntaxhighlight lang="bash">
sudo pacman -S npm --overwrite '/usr/lib/node_modules/npm/*'
</syntaxhighlight>


Solución 2:
Solución 2:


<nowiki>sudo rm /usr/lib/python3.10/site-packages/commonmark-0.9.1.dist-info/LICENSE</nowiki>
<syntaxhighlight lang="bash">
sudo rm /usr/lib/python3.10/site-packages/commonmark-0.9.1.dist-info/LICENSE
</syntaxhighlight>


or
or


<nowiki>sudo rm /usr/lib/node_modules/node-gyp/node_modules/tar/node_modules/minipass/index.mjs</nowiki>
<syntaxhighlight lang="bash">
sudo rm /usr/lib/node_modules/node-gyp/node_modules/tar/node_modules/minipass/index.mjs
</syntaxhighlight>


=== Failed to prepare transaction (could not satisfy dependencies)  ===
=== Failed to prepare transaction (could not satisfy dependencies)  ===
For example you have this message:
For example you have this message:


<syntaxhighlight lang="bash">
installing kio5 (5.111.0-1) breaks dependency 'kio' required by kfiredragonhelper
installing kio5 (5.111.0-1) breaks dependency 'kio' required by kfiredragonhelper
</syntaxhighlight>


You have to:
You have to:


<nowiki>sudo pacman -R kfiredragonhelper</nowiki>
<syntaxhighlight lang="bash">
sudo pacman -R kfiredragonhelper
</syntaxhighlight>


Then, update your system normally and remove each time required packages if you don´t use them.
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 ===
<nowiki>Failed to write file "/sys/module/pcie_aspm/parameters/policy": Operation not permitted
 
error: command failed to execute correctly</nowiki>
<syntaxhighlight lang="bash">
Failed to write file "/sys/module/pcie_aspm/parameters/policy": Operation not permitted
error: command failed to execute correctly
</syntaxhighlight>


Solución:
Solución:
Línea 65: Línea 83:


=== Possibly missing firmware ===
=== Possibly missing firmware ===
<nowiki>WARNING: Possibly missing firmware for module</nowiki>
 
<syntaxhighlight lang="bash">
WARNING: Possibly missing firmware for module
</syntaxhighlight>


Solución: Pendiente
Solución: Pendiente

Revisión del 01:36 2 may 2024

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