Whenever I try to update, upgrade, or install anything I get the following error lines in response:

E: Malformed line 1 in source list /etc/apt/sources.list.d/raspi.list (type)
E: The list of sources could not be read.

I'm still not super comfortable with linux but according to other posts, I have deleted and manually copy/pasted the sources.list but I can't find any information regarding files in the sources.list.d directory. Any help would be greatly appreciated.

  • 2
    The error message is pretty to the point: line 1 of /etc/apt/sources.list.d/raspi.list is not conforming to the pattern needed. If you posted it, we could tell you why. – Janka Oct 11 '18 at 1:45

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.