prefalch
Posts: 5
Joined: Sun May 05, 2013 3:57 pm

missing raspi-config

Sun May 05, 2013 8:03 pm

I cant find the raspi-config. It is not in /usr/bin/ , can it be elswhere or can I replace it

kindly

DirkS
Posts: 10625
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: missing raspi-config

Mon May 06, 2013 12:10 am

That's odd. Are you sure you're using one of the Raspbian distros?

I think you should be able to install it with

Code: Select all

sudo apt-get update
sudo apt-get install raspi-config
HTH
Dirk

klricks
Posts: 7738
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: missing raspi-config

Mon May 06, 2013 12:19 am

Try the find command:
sudo find / -name 'raspi-config'
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

prefalch
Posts: 5
Joined: Sun May 05, 2013 3:57 pm

Re: missing raspi-config

Mon May 06, 2013 5:13 am

DirkS wrote:That's odd. Are you sure you're using one of the Raspbian distros?

I think you should be able to install it with

Code: Select all

sudo apt-get update
sudo apt-get install raspi-config
HTH
Dirk
Yes I use, raspibmc distro.
I have tryed
sudo apt-get update
sudo apt-get install raspi-config
but I get an error, that raspi-config cant be found

kindly
Preben

User avatar
malakai
Posts: 1382
Joined: Sat Sep 15, 2012 10:35 am
Contact: Website

Re: missing raspi-config

Mon May 06, 2013 6:35 am

Unfortunately the way other distros work raspi-config is not compatible in many instances. That's why it can't be installed. Typically other settings will overwrite it if you did get it installed or it can break your installation. raspi-config if not installed by default is best to probably stay away from and find the way to change the settings on your setup. Raspbmc expands the disk by default it also sets ram split for a more optimized setup for xbmc the time is configured from setting within xbmc. With those examples your not missing anything by it not being installed.
http://www.raspians.com - always looking for content feel free to ask to have it posted. Or sign up and message me to become a contributor to the site. Raspians is not affiliated with the Raspberry Pi Foundation. (RPi's + You = Raspians)

prefalch
Posts: 5
Joined: Sun May 05, 2013 3:57 pm

Re: missing raspi-config

Mon May 06, 2013 3:14 pm

Unfortunately the way other distros work raspi-config is not compatible in many instances. That's why it can't be installed. Typically other settings will overwrite it if you did get it installed or it can break your installation. raspi-config if not installed by default is best to probably stay away from and find the way to change the settings on your setup. Raspbmc expands the disk by default it also sets ram split for a more optimized setup for xbmc the time is configured from setting within xbmc. With those examples your not missing anything by it not being installed.
My problen is that I cant find a way to install a danish keybord layout

DirkS
Posts: 10625
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: missing raspi-config

Mon May 06, 2013 7:22 pm

Is that the keyboard layout for xbmc or for when you log in using SSH?
Not sure if you can change the layout used *inside* XBMC.

When you're logged in using SSH you can use

Code: Select all

sudo dpkg-reconfigure locales
sudo dpkg-reconfigure keyboard-configuration
after this you need to reboot.

Gr.
Dirk.

xXAzazelXx
Posts: 137
Joined: Tue Sep 18, 2012 8:32 am
Location: Australia
Contact: Website

Re: missing raspi-config

Thu May 16, 2013 9:44 am

try

Code: Select all

wget http://archive.raspberrypi.org/debian/pool/main/r/raspi-config/raspi-config_20121028_all.deb
wget http://http.us.debian.org/debian/pool/main/l/lua5.1/lua5.1_5.1.5-4_armel.deb
wget http://http.us.debian.org/debian/pool/main/t/triggerhappy/triggerhappy_0.3.4-2_armel.deb
dpkg -i triggerhappy_0.3.4-2_armel.deb
dpkg -i lua5.1_5.1.5-4_armel.deb
dpkg -i raspi-config_20121028_all.deb

DirkS
Posts: 10625
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: missing raspi-config

Thu May 16, 2013 10:04 am

xXAzazelXx wrote:try

Code: Select all

wget http://archive.raspberrypi.org/debian/pool/main/r/raspi-config/raspi-config_20121028_all.deb
wget http://http.us.debian.org/debian/pool/main/l/lua5.1/lua5.1_5.1.5-4_armel.deb
wget http://http.us.debian.org/debian/pool/main/t/triggerhappy/triggerhappy_0.3.4-2_armel.deb
dpkg -i triggerhappy_0.3.4-2_armel.deb
dpkg -i lua5.1_5.1.5-4_armel.deb
dpkg -i raspi-config_20121028_all.deb
Can't see the relevance of this. AFAICT the OP is just trying to get his keyboard to behave for which you really don't need any additional software.
And why would you install armel software on a armhf distro? The software seems to be available in the repo anyway and as such can be installed with a 'normal' apt-get.

Gr.
Dirk.

zephura
Posts: 47
Joined: Mon Jul 15, 2013 9:53 am

Re: missing raspi-config

Mon Jul 15, 2013 12:45 pm

prefalch wrote:
DirkS wrote:That's odd. Are you sure you're using one of the Raspbian distros?

I think you should be able to install it with

Code: Select all

sudo apt-get update
sudo apt-get install raspi-config
HTH
Dirk
Yes I use, raspibmc distro.
I have tryed
sudo apt-get update
sudo apt-get install raspi-config
but I get an error, that raspi-config cant be found

kindly
Preben
"Old" post, however....
I've tried on raspbmc and OpenElec yesterday; 2 things :
- I've chosen Raspbmc and not OpenElec because it's my choice (no reason except I feel it this way)
- During install of raspbmc (1st boot), RPi will reboot at least 3 times : 1st reboot is for expand the root partition (it seems) (others are for locales, keyboard, timezone, ...)

(depending on how you feel with linux), you could manually :
resize the mmcblk0p2 partition
change the locales
do a lot of other things

However I guess that editing the /etc/apt/sources.list could be useful to make apt-get working
I'll look at it this evening
Last edited by zephura on Mon Jul 15, 2013 2:56 pm, edited 1 time in total.

User avatar
malakai
Posts: 1382
Joined: Sat Sep 15, 2012 10:35 am
Contact: Website

Re: missing raspi-config

Mon Jul 15, 2013 12:54 pm

Just one thing to consider if a distro seems to be missing something chances are it isn't there for a reason. How is apt-get not working?

raspi-config is a Raspbian tool it isn't much use inside of Raspbmc setting the keyboard layout for X won't help in XBMC files are missing and since it doesn't have an X Gui, etc..
http://www.raspians.com - always looking for content feel free to ask to have it posted. Or sign up and message me to become a contributor to the site. Raspians is not affiliated with the Raspberry Pi Foundation. (RPi's + You = Raspians)

zephura
Posts: 47
Joined: Mon Jul 15, 2013 9:53 am

Re: missing raspi-config

Mon Jul 15, 2013 2:58 pm

malakai wrote:Just one thing to consider if a distro seems to be missing something chances are it isn't there for a reason.
...
Yes, we have to keep this in mind.

And as I said, it is essential to remember a lot of thing (all, but all is not as easy as to change the keyboard layouts) could be configured, moded, tweaked by hand, I mean with a command-line

User avatar
malakai
Posts: 1382
Joined: Sat Sep 15, 2012 10:35 am
Contact: Website

Re: missing raspi-config

Mon Jul 15, 2013 3:07 pm

I think it comes down to there isn't always one setting to be changed. Keyboard and locale on the Pi seems a bit buggy at times many configs the first time around just don't want to save for some reason. And that has to be taken into consideration set save reboot. Hopefully the setting gets saved. If it isn't it's a glitch not really much you can do but try again, post and see if it gets resolved but if 1 in 10 have a glitch it can be hard to track down. Also there are many commands that can do it. This is a Debian issue not really a Raspbian issue though.

sudo dpkg-reconfigure locales


For example http://hexample.com/2012/02/05/fixing-l ... em-debian/ note this is not necessarily a current issue just an example.
http://www.raspians.com - always looking for content feel free to ask to have it posted. Or sign up and message me to become a contributor to the site. Raspians is not affiliated with the Raspberry Pi Foundation. (RPi's + You = Raspians)

victagayun
Posts: 129
Joined: Sun Apr 15, 2012 4:01 pm
Contact: Website

Re: missing raspi-config

Mon Jul 29, 2013 2:02 pm

as for raspbmc, you can only change locale (keys) and timezone, unlike in raspi-config for the official raspberry image

you can try this code:

Code: Select all

rm /home/pi/.configureduser
then reboot, then ssh...

as it is shown here >>> http://forum.stmlabs.com/showthread.php?tid=6278

snubbegbg
Posts: 1
Joined: Tue Dec 16, 2014 9:30 pm

Re: missing raspi-config

Tue Dec 16, 2014 9:32 pm

xXAzazelXx wrote:try

Code: Select all

wget http://archive.raspberrypi.org/debian/pool/main/r/raspi-config/raspi-config_20121028_all.deb
wget http://http.us.debian.org/debian/pool/main/l/lua5.1/lua5.1_5.1.5-4_armel.deb
wget http://http.us.debian.org/debian/pool/main/t/triggerhappy/triggerhappy_0.3.4-2_armel.deb
dpkg -i triggerhappy_0.3.4-2_armel.deb
dpkg -i lua5.1_5.1.5-4_armel.deb
dpkg -i raspi-config_20121028_all.deb
This does not longer work, this works:
https://github.com/snubbegbg/install_raspi-config

Return to “Raspberry Pi OS”