How to get raspberry pi to locate package raspberry pi config

February 13, 2025, 07:42

huskerthecat

so my board didnt come with raspi-config installed for some reason and ive been trying to download it useing "sudo apt-get update" and "sudo apt-get install raspi-config" but it just returns "Unable to locate package raspi-config" how do i get it to locate the file so it can download it? im very new to raspberry pi ive got no idea what im doing

k9t33n

It's not your board that comes installed with it it's your operating system, which one are you using?

k9t33n

No matter what it is
wget -p -O ./raspi-config_20250210_all.deb https://archive.raspberrypi.org/debian/pool/main/r/raspi-config/raspi-config_20250210_all.deb
sudo apt -y install libnewt0.52 whiptail parted triggerhappy lua5.1 alsa-utils
and
sudo dpkg -i ./raspi-config_20250210_all.deb
sudo reboot
should do it, make sure that the first command does not return any errors before running the second

k9t33n

If that doesn't work you could add the Debian repositories but just from my experience I don't want to add repositories, I always manage to mess it up

huskerthecat

that worked! Thank you so much ive been trying to figure this out for like 3 hours now

k9t33n

No problem

k9t33n

I'm guessing your using Ubuntu or something?

k9t33n

Just making sure you know, some things won't work the same as in raspberry pi os.

huskerthecat

its running Klipper. its acting as a control board for a 3d printer

k9t33n

Yeah that explains it

huskerthecat

<@1071178789939331253> you think you could help me again? took a break after that got fixed but i relized that after i try to enable SPI in the config tool it gives this error and doesnt enable SPI. do you know how to fix this?

thunder07337

ls /boot

thunder07337

Or
ls boot

huskerthecat


huskerthecat

if i run "sudo raspi-config" command in the /boot location it still gives the same error after exiting the gui

thunder07337

As you can see here, the directory
/boot/firmware/
does not exist. What kind of operating system is this?

k9t33n

Klipper

k9t33n

Seems to just be based on Debian lite I think

k9t33n

I'm pretty sure this is just a thing that happens when your not using raspberry pi os

k9t33n

Like I said some features are simply just missing

k9t33n

I'll give you a better solution one sec

k9t33n

That should be the easiest way