You are not logged in.

#1 2023-06-11 01:41:58

Soultrigger
Member
From: Brazil
Registered: 2021-11-04
Posts: 33

[Solved]Pacman -Syu stops, package conflict Python cchardet and nodejs

Hi all,

I looked at the Arch Linux main page to see if there was any mention of manual intervention on this and I couldnt find. I also tryed googling it, reading the pacman wiki and searching the forum. Sorry if it is something simple and I was too dumb here. (I saw that python 2 was removed (I dont use it, but maybe my arch is bugged because of it?) or I saw you moved repositories to git which might have broken my install? I did try to use the 'user' commands that are in the main arch linux page. (It is been a while I didnt log on Arch, and I know if I take too much time to update I might run into issues, I am sorry about it)

The pacman says:

:: Sincronizando a base de dados de pacotes...
 core está atualizado
 extra está atualizado
 community está atualizado
 multilib está atualizado
:: Iniciando atualização completa do sistema...
resolvendo dependências...
procurando pacotes conflitantes...
:: python-faust-cchardet e python-cchardet estão em conflito. Remover python-cchardet? [s/N] s
:: nodejs e nodejs-lts-fermium estão em conflito. Remover nodejs-lts-fermium? [s/N] s
erro: falha ao preparar a transação (não foi possível satisfazer as dependências)
:: a remoção de nodejs-lts-fermium quebra a dependência "nodejs-lts-fermium" necessária por npm6

(I am sorry I use it in pt-br - but it is saying there are conflicts with python packages and even if I reply yes to remove it - pacman stops)

I did the following:

I tried to forcefully remove the python package with -Rdd

I even deleted python folder on /usr/lib

I installed python package again

I installed pip to try to reinstall cchardet and nodejs trough it

I also updated pacman keyring and databases

Can you point me in the right direction how to solve this? I am really lost

Last edited by Soultrigger (2023-06-11 02:05:37)

Offline

#2 2023-06-11 01:44:32

Scimmia
Fellow
Registered: 2012-09-01
Posts: 10,431

Re: [Solved]Pacman -Syu stops, package conflict Python cchardet and nodejs

Your problem is that nodejs-lts-fermium is required by npm6, it has nothing to do with python. Stop screwing up your python installation.

remove npm6 and you should be fine.

Offline

#3 2023-06-11 02:05:11

Soultrigger
Member
From: Brazil
Registered: 2021-11-04
Posts: 33

Re: [Solved]Pacman -Syu stops, package conflict Python cchardet and nodejs

Scimmia wrote:

Your problem is that nodejs-lts-fermium is required by npm6, it has nothing to do with python. Stop screwing up your python installation.

remove npm6 and you should be fine.

Thanks a lot, I screwed big time and it was so simple.

It updated flawlessly after removing npm6.

Thanks a lot.

Offline

Board footer

Powered by FluxBB