aandrew-me / tgpt

AI Chatbots in terminal without needing API keys

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to update. Error: exit status 1

Free-Radical opened this issue · comments

Was trying to update , but getting following contradictory info-

>tgpt -v
tgpt 1.7.5

❯ tgpt -u
Updating...
Download location: /usr/local/bin/tgpt
Operating System: linux
Processor Architecture: amd64

Downloading...

######################################################################## 100.0%
mv: cannot move '/tmp/tgpt' to '/usr/local/bin/tgpt': Permission denied
Failed to update. Error: exit status 1
Successfully updated.

Tried sudo just in case-


❯ sudo tgpt -u
[sudo] password for khan: 
Updating...
Download location: /usr/local/bin/tgpt
Operating System: linux
Processor Architecture: amd64

Downloading...

Warning: Failed to open the file /tmp/tgpt: Permission denied                 
curl: (23) Failure writing output to destination

Failed to update. Error: exit status 23
Successfully updated.

Should i simply reinstall?

Yes better reinstall. Few people have encountered such problems. I dont know why, but it has nothing to do with the program

Great, thanks! keep up the great work.