syntax error when trying to update

Overview Forums Pocket-Kali syntax error when trying to update

  • This topic has 9 replies, 2 voices, and was last updated 2 years ago by greml1n. This post has been viewed 430 times
Viewing 9 reply threads
  • Author
    Posts
    • #12821
      greml1n
      Participant

      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

    • #12822
      Re4son
      Keymaster

      The card looks buggered. Any errors when running fsck over it?

    • #12824
      greml1n
      Participant

      e2fsk = cannot continue,aborting

    • #12825
      greml1n
      Participant

      do I need to do a new install/card up?

      thanks btw

    • #12826
      Re4son
      Keymaster

      I’d try to re-image first.
      I had a few dodgy cards in the past, got them all replaced under warranty though.

    • #12827
      greml1n
      Participant

      so basically just wipe the sd and re-create kali-pi?

    • #12828
      Re4son
      Keymaster

      correct.
      First you can try running fsck on the card using another linux box.

    • #12831
      greml1n
      Participant

      done!
      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.
      any ideas

    • #12832
      Re4son
      Keymaster

      Just hit tab instead of the *, i.e.

      cd /usr/local/src/re4son-kernel_4

      You might have another kernel directory there

    • #12833
      greml1n
      Participant

      will do!
      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.

Viewing 9 reply threads
  • You must be logged in to reply to this topic.