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

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
877N
Posts: 1
Joined: Tue Dec 21, 2021 2:11 am

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

Post 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#

Last edited by Flash on Tue Dec 21, 2021 3:56 am, edited 1 time in total.
Reason: Added ? to title
User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

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

Post 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.

User avatar
JASpup
Posts: 1653
Joined: Sun Oct 04, 2020 10:52 am
Location: U.S.A.
Has thanked: 70 times
Been thanked: 89 times

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

Post by JASpup »

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

On the Whiz-Neophyte Bridge
Linux Über Alles
Disclaimer: You may not be reading my words as posted.

User avatar
gychang
Posts: 583
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 205 times
Been thanked: 62 times

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

Post by gychang »

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

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

Post Reply

Return to “Beginners Help”