Tagged: syntax error update error
February 20, 2018 at 7:15 am #12821
I tried to turn on my pi today after 2 weeks of non use. First I got an emergency mode message. Gave a bunch of options (reboot,^D,normal boot ect.) Then I finally got in using the ^D and now it wont update. It keeps saying syntax error /etc/apt/apt.conf.d/01autoremove-kernels:1: extra junk at end of file.
I searched google and kali forums and no mention as to what this is or how it can be fixed. apt-get clean apt-get fix wont work
any help is appreciated as I have downloaded and spent hours on setting this up
February 20, 2018 at 8:17 am #12822
The card looks buggered. Any errors when running fsck over it?
February 20, 2018 at 8:44 am #12824
e2fsk = cannot continue,aborting
February 20, 2018 at 8:45 am #12825
do I need to do a new install/card up?
February 20, 2018 at 9:17 am #12826
I’d try to re-image first.
I had a few dodgy cards in the past, got them all replaced under warranty though.
February 20, 2018 at 9:47 am #12827
so basically just wipe the sd and re-create kali-pi?
February 20, 2018 at 10:10 am #12828
First you can try running fsck on the card using another linux box.
February 20, 2018 at 4:11 pm #12831
one last question (only because I never had a problem with it before)
I was on the part to enable the touchscreen. However it gets me stuck at the
cd /usr/local/src/re4son-kernel_4* command
it said bash: cd too many errors.
I have installed this one 2 other devices and the ENTIRE install went as smooth as silk…but now it wont let me fully complete the touch screen config.
February 20, 2018 at 7:51 pm #12832
Just hit tab instead of the *, i.e.
You might have another kernel directory there
February 21, 2018 at 5:40 am #12833
and listen…thanks for your willingness to help and professional responses. I appreciate it. I am still a little new to all the ins and outs of Linux so straightforward and understanding answers are most appreciated.
you wouldn’t believe how many ‘know it alls’ love to troll on people who are simply looking for help with something they cant figure out themselves.
- You must be logged in to reply to this topic.