You are not logged in.

#1 2016-04-23 23:14:35

kanarok
Member
Registered: 2015-04-27
Posts: 6

pacman works when called with absolute path but not otherwise

Hello fellow Arch users,

a couple of days ago I had an update issue with pacman & package query saying I could not update because pacman needs to be <4.3

After this I sort of f**d up pacman.
I tried to compile and run pacman.

Then I followed the wiki page to reinstall pacman (when broken beyond repair)
after this pacman told me there were not usable repositories configured.

But I noted I could use pacman with an absolute path (/usr/bin/pacman)
The bummer is that I can not use pacman without a path (throws the repo error again)

Maybe anyone got any ideas?
I reinstalled pacman (also with /usr/bin/pacman -S $(/usr/bin/pactree -u pacman)

I just finished the update and am on recent 64bit system if that is relevant.
Also I deinstalled yaourt and package-query

Offline

#2 2016-04-23 23:17:57

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,559

Re: pacman works when called with absolute path but not otherwise

What does `which pacman` tell you?

Offline

#3 2016-04-23 23:26:35

kanarok
Member
Registered: 2015-04-27
Posts: 6

Re: pacman works when called with absolute path but not otherwise

Tells me that you are a genius and I had the wrong files in this directory.
Better said: pacman was executed from /usr/local/bin/ (Dunno why)
I just did a quick delete and copy and everything is back to normal.

Thanks!!

Last edited by kanarok (2016-04-23 23:27:28)

Offline

#4 2016-04-24 00:49:14

nstgc
Member
Registered: 2014-03-17
Posts: 393

Re: pacman works when called with absolute path but not otherwise

Please mark this thread as [solved] if you have found your solution

Offline

Board footer

Powered by FluxBB