You are not logged in.

#1 2022-03-03 20:58:06

xyhlon
Member
Registered: 2021-11-29
Posts: 24

Why do I have two versions of the same package installed?

Stupid question but why do I have neovim installed in /usr/bin/nvim and in /home/bob/.local/bin/nvim?
And why is /usr/bin/nvim up to date and /home/bob/.local/bin/nvim not?

Offline

#2 2022-03-03 21:06:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,292

Re: Why do I have two versions of the same package installed?

No package touches your home dir so that second version must be something you did at some point.

Offline

#3 2022-03-03 21:09:28

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: Why do I have two versions of the same package installed?

Guessing not but does any package you installed own that file?

pacman -Qo /home/bob/.local/bin/nvim

Likely you or something you ran created that.

Offline

#4 2022-03-03 21:13:41

xyhlon
Member
Registered: 2021-11-29
Posts: 24

Re: Why do I have two versions of the same package installed?

@graysky
the command returned
error: No package owns /home/bob/.local/bin/nvim

quick other question how do change the settings to prefer /usr/bin/nvim instead of /home/bob/.local/bin/nvim

Offline

#5 2022-03-03 21:19:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,292

Re: Why do I have two versions of the same package installed?

Which settings? generally remove/put /home/bob/.local/bin at the end of your PATH rather than the beginning and probably just remove the random local installation if you have no idea why and how it got there

Offline

#6 2022-03-03 21:22:34

xyhlon
Member
Registered: 2021-11-29
Posts: 24

Re: Why do I have two versions of the same package installed?

Ok thanks

Offline

Board footer

Powered by FluxBB