Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installer on latest raspian lite #30

Open
tim-moody opened this issue Nov 10, 2016 · 15 comments
Open

installer on latest raspian lite #30

tim-moody opened this issue Nov 10, 2016 · 15 comments
Labels
Milestone

Comments

@tim-moody
Copy link

Error: Unable to upgrade Raspberry Pi firmware

if I try it manually I get

root@raspberrypi:~# rpi-update
-su: rpi-update: command not found

@wegunterjr
Copy link

wegunterjr commented Nov 12, 2016

I am getting the Unable to update after running
curl -fsS https://raw.githubusercontent.com/rachelproject/rachelpiOS/master/installer.py | python

I can run rpi-update, but have to do:
sudo rpi-update

@wegunterjr
Copy link

My solution had to do with having a bad source list in
/etc/apt/sources.list.d/
I removed it, and the update continued.
Also, try
sudo apt-get update
and
sudo apt-get upgrade
That is most of what rpi-update is doing.
That might get you an update that contains rpi-update.
It really depends on what version of raspbian you are running. as well.

@wegunterjr
Copy link

wait, just looked again, why are you root?

@tim-moody
Copy link
Author

maybe I have habits from fedora. are you saying I can't update firmware as root?

@wegunterjr
Copy link

not necessarily. I think the first question is what version of raspbian are you running?
If it's an older version, try this:
sudo apt-get install rpi-update
I think the focus of raspberry pi use is to stay in the default or non-root login, but maybe it's just that your version doesn't have it installed.

@tim-moody
Copy link
Author

latest - 8.6

@tim-moody
Copy link
Author

I also use lite rather than full as I like servers to be headless

@tim-moody
Copy link
Author

I started over with a fresh https://downloads.raspberrypi.org/raspbian_lite_latest (2016-09-23) and this time ran everything as the user pi.
curl -fsS https://raw.githubusercontent.com/rachelproject/rachelpiOS/master/installer.py | python (still as user pi)

I get

Error: Unable to upgrade Raspberry Pi firmware

If I comment out that line in the installer I get to

Error: Unable to set iptables MASQUERADE on eth0

(N.B. I am logged in over ssh to eth0 if that matters.)

@needlestack
Copy link
Contributor

Yeah, it looks like Raspbian has changed enough since this release that we need to redo some things. If you want a working RACHEL-Pi build, you might try starting with one of the pre-built versions here and then modifying from there.

@needlestack
Copy link
Contributor

Alternately, if you want to build from the script, you can start with 2016-05-27-raspbian-jessie. And of course, patches to bring the script up to work with more current versions are welcome :)

@tim-moody
Copy link
Author

I can pretty much make the current script work, but I have to comment out some lines, which don't seem to be needed anyway. Just wanted to report the problem. I don't really want to download a 32G or 64G image to get mostly what I already have downloaded.

@needlestack needlestack added this to the 5.0 milestone Nov 28, 2016
@needlestack
Copy link
Contributor

Good point. This has come up before -- so I've added it as an issue for our next release

@tim-moody
Copy link
Author

Is captive portal supposed to work with this installer? I don't see that it does. The redirect php and 2 shtml files get installed with the clone of the contentshell, but I don't see any of the iptables rules that are in the rachelplus code except for the nat and standard gateway rules.

@needlestack
Copy link
Contributor

needlestack commented Dec 23, 2016 via email

@tim-moody
Copy link
Author

any chance of getting the output of iptables-save on the cap?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants