Page 1 of 1

How to Update Repositories? - sudo apt update command not found

Posted: Tue Dec 21, 2021 2:27 am
by 877N

When I type "sudo apt update" in a console window, I get the following errors.

root# sudo apt update
sudo: apt: command not found
root# apt
bash: apt: command not found
root# sudo apt update
sudo: apt: command not found
root# sudo apt upgrade
sudo: apt: command not found
root# ^C
root# ls
root# pwd
/root/.local/share
root#


Re: How to Update Repositories - sudo apt update command not found

Posted: Tue Dec 21, 2021 2:40 am
by OscarTalks

Always a good idea to specify which Puppy version you are running.
Generally speaking though, Puppy runs as root, so sudo is not used and apt is not used for package management.
Open Menu > SetUp > Puppy Package Manager and you should find a button that will allow you to update the repository databases.


Re: How to Update Repositories - sudo apt update command not found

Posted: Tue Dec 21, 2021 2:54 am
by JASpup

Run ppm gui, get used to it, and don't think about apt.


Re: How to Update Repositories? - sudo apt update command not found

Posted: Sat Dec 25, 2021 10:52 pm
by gychang

try pkg repo-update. pkg -h for more options.